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 without using any loop (if, for, while
etc) to print numbers from 1 to 100 and 100 to 1;

Answer Posted / harpreet kaur

we can create our own header file having a function to
print nos with loop and then use that header file in new
prog with the functoin defined in it.

Is This Answer Correct ?    30 Yes 37 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I rethow can I return a sequence of random numbers which dont repeat at all?

1192


Explain how do you sort filenames in a directory?

1043


What is volatile variable how do you declare it?

1103


Is main a keyword in c?

1138


What is dangling pointer in c?

1240


how to create duplicate link list using C???

2560


Write a code to determine the total number of stops an elevator would take to serve N number of people.

1260


Can one function call another?

1115


will u please send me the placement papers to my mail???????????????????

1840


What is a pointer in c?

1576


What is this infamous null pointer, anyway?

1061


write a c program thal will find all sequences of length N that produce the sum is Zero, print all possible solutions?

2870


What are control structures? What are the different types?

1094


What are the disadvantages of c language?

1200


What is sizeof c?

1079