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
How do you generate random numbers in C?
What is string in c language?
how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?
C program to find all possible outcomes of a dice?
What is table lookup in c?
Is c still relevant?
Are the variables argc and argv are always local to main?
What is the advantage of c?
What is the purpose of scanf() and printf() functions?
Why is this loop always executing once?
How do you determine a file’s attributes?
write a sorting prgm to sort 50 nos and sum them and also remove all the occurrences of 15 and print it?
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)
Does c have circular shift operators?
Explain what are preprocessor directives?