Computer Science, asked by Hritzz06, 1 year ago

Can anyone please tell me how to write a programme in c++.

Answers

Answered by Anonymous
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.
Similar questions