Compare the variables and print "what a Mid-Semester package" on the screen | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Compare the variables and print "what a Mid-Semester package" on the screen

#include <iostream> using namespace std; int main(){ int x =15; int y =35; if (x>y) cout << "Indeed this is c++ " << endl; } else{ cout <<"What a mid semester package " << endl; } What's Wrong With The code👆 I'm Getting An Error

26th May 2020, 6:46 PM
Nathaniel Kwaku Awenate
Nathaniel Kwaku Awenate - avatar
1 Answer
0
Missing curling brace after if statement
26th May 2020, 6:57 PM
Ore
Ore - avatar