Answer Posted / sandeep gupta
#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
int i,j,sum;
printf("enter two numbers");
scanf("%d%d",&i,&j);
sum=i+j;
printf("sum=%d",sum);
getch();
}
getch is missed which hold the output result on the screen.that's why i add the GETCH in this program.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is meant by stl in c++?
what is template and type convertion
What are the symptoms of stl?
In what scenario does the Logical file and Physical file being used?
Is string part of stl?
How stl is different from the c++ standard library?
a program using one dimensional array that searches a number if it is found on the list of given input numbers given by the user and locate its exact location in the list.
What are the components of stl?
how can u do connectivity in c++ language? plz send me connectivity code in c++ ?
What two types of containers does the stl provide?
how to use C++?
What do stl stand for?
Describe how to safeguard a system through acquisition of an antivirus Program and systematic backup.
How does an stl file work?
Define stl.