C++(How to make a program to show that if your age is above 12 so you can )(if not you cannot) please solve this problem in c++ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

C++(How to make a program to show that if your age is above 12 so you can )(if not you cannot) please solve this problem in c++

help

6th Oct 2018, 3:51 AM
Fan Of Mr Beast
Fan Of Mr Beast - avatar
4 Answers
+ 11
age =13; if(age>12) { //true block; } else { false block }
6th Oct 2018, 4:07 AM
Vijay(v-star🌟)
Vijay(v-star🌟) - avatar
+ 6
You asked the same question yesterday and somebody gave you the solution in python, which is 95% identical to the solution in C++. You just needed to change if age > 12: to if(age > 12). You won't learn anything if you ask others to think for you all the time.
6th Oct 2018, 5:06 AM
Anna
Anna - avatar
+ 2
thanks bro
6th Oct 2018, 4:08 AM
Fan Of Mr Beast
Fan Of Mr Beast - avatar
+ 2
thanks
6th Oct 2018, 4:08 AM
Fan Of Mr Beast
Fan Of Mr Beast - avatar