Computer Science, asked by mridaniroy, 1 year ago

#include
using namespace std;
int main()
{
int a = 4;
int b = 2;
int c = a+b;
cout<<"The Sum="< }
can anyone please check this c++ programme for me?

Answers

Answered by traplord
1

yeh hai aapka answer

#include  

using namespace std;

int main()

{  

int a = 4;  

int b = 2;  

int c = a+b;  

cout<<"The Sum="< ]  


--------------------------------------------------------------------

correct hai ..

#include  

using namespace std;

int main()

{  

int a = 4;  

int b = 2;  

int c = a+b;  

cout<<"The Sum="<c;


-----------------------------------------

last cout ko end karna hai " ; "semi colon laga ke

aur last cout ke braccet ko hata do


still doubt ??

dm me on instagram -trap_lord_official



traplord: conio.h
mridaniroy: yeh sab to school mein nahi sikhaaya!
traplord: ho hi nahi sakta
traplord: yeh naa sikhaya ho
traplord: yeh default hota hai
mridaniroy: where to put conio.h?
traplord: include < conio.h >
traplord: #include < conio.h >
traplord: sabse upppar
mridaniroy: ok
Similar questions