how to write a program which adds two numbers without using
semicolon in c
Answer Posted / g.rajitha
#include<iostream.h>
void main()
{
int a,b;
if(cout<<"Please enter two numbers : ")
if(cin>>a>>b)
if(cout<<"Sum = "<<(a+b))
}
| Is This Answer Correct ? | 5 Yes | 16 No |
Post New Answer View All Answers
Give me the code of in-order recursive and non-recursive.
Where we use clrscr in c?
What are the restrictions of a modulus operator?
What is pass by reference in c?
swap 2 numbers without using third variable?
What is scanf () in c?
what is the difference between class and unio?
hai iam working in sap sd module for one year and working in lumax ind ltd in desp department but my problem is i have done m.b.a in hr/marketing and working sap sd there is any combination it. can you give right solution of my problem. and what can i do?
What is #include cctype?
Why is sizeof () an operator and not a function?
What are the types of variables in c?
What is the difference between void main and main in c?
Why do we need functions in c?
What does a function declared as pascal do differently?
What are the data types present in c?