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 prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)

Answer Posted / sweetsmiracle17

plz provide answer

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you generate random numbers in C?

1201


What is string in c language?

1161


how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?

1938


C program to find all possible outcomes of a dice?

2363


What is table lookup in c?

1100


Is c still relevant?

1087


Are the variables argc and argv are always local to main?

1024


What is the advantage of c?

1129


What is the purpose of scanf() and printf() functions?

1244


Why is this loop always executing once?

1058


How do you determine a file’s attributes?

1087


write a sorting prgm to sort 50 nos and sum them and also remove all the occurrences of 15 and print it?

2137


Write a program that takes a 5 digit number and calculates 2 power that number and prints it(should not use big integers and exponential functions)

6875


Does c have circular shift operators?

1242


Explain what are preprocessor directives?

1067