Use curly braces to correct one line in the nested if statements. Logically, your program should follow these rules :
If a number is greater than 20 and it is even, multiply the number by two. Otherwise, you should multiply it by 3
If a number is greater than 20 and it is even, multiply the number by two. Otherwise, you should multiply it by 3
Input Format
No inputs
Sample Input
Output Format
Sample Output
70
You must be logged in to submit a solution.