write a 'c' program to sum the number of integer values
Answer Posted / koushik sarkar
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b;
clrscr();
printf("Enter a integer no:-"); scanf("%d",&a);
printf("Enter a Integer no:-"); scanf("%d",&b);
printf("Sum= %d",a+b);
getch();
}
| Is This Answer Correct ? | 13 Yes | 12 No |
Post New Answer View All Answers
What is the use of typedef in structure in c?
write a C program:There is a mobile keypad with numbers 0-9 and alphabets on it. Take input 0f 7 keys and then form a word from the alphabets present on the keys.
Why c is procedure oriented?
What is the deal on sprintf_s return value?
What is strcpy() function?
What does sizeof function do?
swap 2 numbers without using third variable?
What are header files and explain what are its uses in c programming?
List the difference between a 'copy constructor' and a 'assignment operator' in C?
Write a program to show the change in position of a cursor using c
Wt are the Buses in C Language
What are the various types of control structures in programming?
write a c program for swapping two strings using pointer
How many bytes are occupied by near, far and huge pointers (dos)?
Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.