Computer Science, asked by chinmayimatt, 1 year ago

Write a C program to add two numbers where a=10, b=20

Answers

Answered by Anonymous
2
#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
int a=10,b=20,s;
s=a+b;
cout<<"Sum : "<<s;
getch();
}

OUTPUT :

Sum : 30

Similar questions