0
Guys What is my Mistake
Hi guys I am a new learner in C++ my code Didn't worked how it should Plzzz see what is the problem https://code.sololearn.com/cn8jtI4n95d7/?ref=app Plzzz see And comment
4 Respostas
+ 3
Hope it helps :
https://code.sololearn.com/cz48PX2b6GlG/?ref=app
+ 4
First read basics you can visit naresh IT its a best tutorial for cpp.
You define rollno variable which type is int here don't need to use round bracket so remove and you put semicolon after rollno and assigning value 25 which is completely wrong and in cout statement you printing value of rollno if u will write in double quotes then it will print string for value u have to remove double quotes.
#include <iostream>
using namespace std;
int main() {
int rollno=25;
cout<<"rollno"<<rollno;
return 0;
}
+ 2
Start learn C++
int main() {
int rollno=25;
cout<<rollno;
return 0;
}
Learn one language at a time.
0
I am learning C++ but the code Didn't worked see the problem plzzzz