



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




nd
Include
If (Age>= 18) { Cout << Age <<”: you are eligible for Id card “; } If (Age< 18) { Cout << Age<< “: you are not eligible for id card”; } }
Using namespace std; Int main() { Int x, y; Char opChoice; Cout << “x”; Cin >> x; Cout << “y”; Cin >> y; Cout << “Enter operator (*,-,+,/)”;
If (opChoice == ‘+’) { Cout << x << “+” << y << “=”<< x+ y;