I cant understand the error of my video plzz help | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

I cant understand the error of my video plzz help

/usercode/file0.cpp: In function 'int main()': /usercode/file0.cpp:9:35: error: expected ';' before 'cin' 9 | cout<<" Enter the two numbers" | ^ | ; 10 | cin>>a>>b ; | ~~~ What it means?

6th Aug 2021, 1:11 PM
Abdul Samad
Abdul Samad - avatar
4 Réponses
+ 4
You forgot ';' at the 9th line.
6th Aug 2021, 1:17 PM
你知道規則,我也是
你知道規則,我也是 - avatar
+ 3
';' semi-colon is required at the end of each statement except block statement. cout << "<string to be displayed>"; DHANANJAY PATEL
6th Aug 2021, 1:29 PM
DHANANJAY PATEL
DHANANJAY PATEL - avatar
+ 2
Post your code
6th Aug 2021, 1:14 PM
Jefferson Jadoc
Jefferson Jadoc - avatar
+ 1
Thanks, Jefferson for asking. But I have fixed it
6th Aug 2021, 1:27 PM
Abdul Samad
Abdul Samad - avatar