Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is the use of typedef in structure in c?

1007


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.

16111


Why c is procedure oriented?

1121


What is the deal on sprintf_s return value?

1183


What is strcpy() function?

1210


What does sizeof function do?

1254


swap 2 numbers without using third variable?

1170


What are header files and explain what are its uses in c programming?

1168


List the difference between a 'copy constructor' and a 'assignment operator' in C?

1136


Write a program to show the change in position of a cursor using c

1120


Wt are the Buses in C Language

3262


What are the various types of control structures in programming?

1104


write a c program for swapping two strings using pointer

2681


How many bytes are occupied by near, far and huge pointers (dos)?

1216


Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.

3741