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...

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


Please Help Members By Posting Answers For Below Questions

What is an auto keyword in c?

1041


What do the functions atoi(), itoa() and gcvt() do?

1134


What is hungarian notation? Is it worthwhile?

1167


Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)

2244


Why void main is used in c?

996


Explain what header files do I need in order to define the standard library functions I use?

1114


Write a function expand(s1,s2) that expands shorthand notations like a-z in the string s1 into the equivalent complete list abc...xyz in s2 . Allow for letters of either case and digits, and be prepared to handle cases like a-b-c and a-z0-9 and -a-z. z-a:zyx......ba -1-6-:-123456- 1-9-1:123456789987654321 a-R-L:a-R...L a-b-c:abbc

5555


a value that does not change during program execution a) variabe b) argument c) parameter d) none

1180


What is uint8 in c?

1053


Explain what are global variables and explain how do you declare them?

1083


Why does this code crash?

1026


Is it possible to execute code even after the program exits the main() function?

1280


Describe the complexity of Binary search, Quicksort and various other sorting and searching techniques..

986


What is structure packing in c?

1024


What are header files and what are its uses in C programming?

1130