0

Airlines are offering a special promotion for teenagers and are offering kindles to use during the flight. Write a program to ta

Test Case 2 with input of 24 is wrong. My attempt; if (age<=19); Console.WriteLine("Take your kindle");

4th Nov 2022, 1:26 PM
Wise turtle
Wise turtle - avatar
2 odpowiedzi
+ 3
if (age<=19) // without semicolon
4th Nov 2022, 1:35 PM
SoloProg
SoloProg - avatar
0
if (age <= 19 ) { Console.WriteLine("Take your kindle"); }
7th Mar 2023, 11:21 AM
Nmasinachi Ezeruigbo