You are on page 1of 2

#include <iostream>

using namespace std;


int main()
{int a,b,c;//declare 3 variables
cout<<"enter first number";
cin>>a//input in variable a
cout<<"enter secound number";
cin>>b;//input in variable b
c=a+b;//arethamatic expression
cout<<"addition of a and b is"<<c;//Display output in c
return0
}

#include <iostream>
using namespace std;
int main()
{
int x,y; //declare Variables
cout<<"2";
cin>>x; //value of x
cout<<"3";
cin>>y;

cout<< x + x;
}

Assalam o Assalam
sb sa pahla Sorry apko private msg krna ka lia,
Drasal pahla mara dev c++ ka compiler nhin tha theek work kr rha abhi thori dr
pahla reinstall ki dev c
++ to chala
mn na puchna tha k agar ap nan 2.13 yn is sa aga wala Questions kr lia hn to un mn
sa ak ka Ss send kr dijia ga
kiun ka mujha un ka bilkul bhi nhin pta or Cr bhi offline ho gya
Thanks

#include <iostream>
using namespace std;

int main()

int b,c,d,e,fil

cin >> b >> c>> d >> e >> f;

You might also like