Can anyone please tell me how to write a programme in c++.
Answers
Answered by
1
Program to add two numbers in c++ programming -
#include<iostream.h>
int main ()
{ int a , b, c;
a = 4; b= 5; c = a + b;
cout<<c;
getchar();
return 0; }
First of all , you need to install turbo c++ in your computer . Then enjoy doing programming . The above example is a basic program of adding two numbers.
#include<iostream.h>
int main ()
{ int a , b, c;
a = 4; b= 5; c = a + b;
cout<<c;
getchar();
return 0; }
First of all , you need to install turbo c++ in your computer . Then enjoy doing programming . The above example is a basic program of adding two numbers.
Similar questions
English,
7 months ago
Biology,
7 months ago
Psychology,
1 year ago
Math,
1 year ago
Biology,
1 year ago