A cinema ticket costs 40, but children under 12 pay 20. Show what this person pays. They are 9, so the answer is 20.
20
#include <iostream>
using namespace std;
int main() {
int age = 9;
// your code here: show the ticket price for this age
return 0;
}
Run tries the examples. When they look right, Submit.