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

Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?

1200


The __________ attribute is used to announce variables based on definitions of columns in a table?

1132


What are linked lists in c?

1086


What are the advantages of using Unions?

1067


Devise a program that inputs a 3 digit number n and finds out whether the number is prime or not. Find out its factors.

1071


What is multidimensional arrays

1064


What are the different types of data structures in c?

1112


Can you explain the four storage classes in C?

1067


What are the advantages of external class?

1005


Explain a file operation in C with an example.

1054


why we wont use '&' sing in aceesing the string using scanf

2311


How do I determine whether a character is numeric, alphabetic, and so on?

1070


code for quick sort?

1985


What does the function toupper() do?

1065


Explain how does flowchart help in writing a program?

1061