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
Why doesnt this code work?
What is #include conio h?
What is the general form of #line preprocessor?
What is data type long in c?
When should I declare a function?
What is a pragma?
What is malloc and calloc?
What kind of structure is a house?
How do we open a binary file in Read/Write mode in C?
How do you declare a variable that will hold string values?
Explain what is the difference between functions abs() and fabs()?
Can you mix old-style and new-style function syntax?
What is nested structure in c?
Why is c used in embedded systems?
What is calloc in c?