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 program for odd numbers?

Answer Posted / aswani

#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,c;
clrscr();
printf("enter the two numbers");
scanf("%d %d ",&a,&b);
c=a+b;
printf("%d sum is",c);
getch();
}

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a c program to calculate sum of digits till it reduces to a single digit using recursion

3246


What is a good way to implement complex numbers in c?

995


Why c is called top down?

1094


Describe how arrays can be passed to a user defined function

1224


What is the symbol indicated the c-preprocessor?

1166


Where are local variables stored in c?

982


How can I invoke another program or command and trap its output?

1046


if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0

1882


What is the difference between malloc() and calloc() function in c language?

1029


Explain how do you view the path?

1086


Explain what is the advantage of a random access file?

1067


Can math operations be performed on a void pointer?

970


What are the 5 types of organizational structures?

1019


What is a header file?

1029


How we can insert comments in a c program?

1070