Fill in the blanks to check if the age variable is greater than 18: int age = 25; ( > 18) { cout << "Adult"; } | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
- 2

# Fill in the blanks to check if the age variable is greater than 18: int age = 25; ( > 18) { cout << "Adult"; }

Fill in the blanks to check if the age variable is greater than 18: int age = 25; ( > 18) { cout << "Adult"; } What the the question does not tell you anything i got the first answer it is if and the other has an a in it

16th Apr 2018, 3:44 PM
Casey Oleski
10 Antworten
+ 3
??
16th Apr 2018, 4:49 PM
AguZ. Ok.
+ 2
1. If 2. age
10th Dec 2020, 3:39 AM
Ethan Poteat
+ 1
(\$age 18) { "Welcome"; } answer is : 1) if 2) > 3) echo
29th Feb 2020, 7:36 AM
0
1._____? =if 2._____? =age
16th Apr 2018, 3:49 PM
ARIF ANSARI
0
print "Male" if the variable "gender" is equal to 0, "Female" if it is equal to 1, and "Undefined" other cases.
23rd Jan 2020, 6:00 AM
0
if (\$age > 18) { echo "Welcome"; }
19th Dec 2020, 11:51 AM
El Maslohi Hassan
0
int age = 25; if(age > 18) { cout << "Adult"; }
25th Mar 2021, 5:37 PM
0
if > echo
1st May 2021, 1:36 PM