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
Explain how can I prevent another program from modifying part of a file that I am modifying?
What is scanf () in c?
How can I check whether a file exists? I want to warn the user if a requested input file is missing.
How can I sort more data than will fit in memory?
What are directives in c?
How are portions of a program disabled in demo versions?
Where can I get an ansi-compatible lint?
What is string function in c?
Explain the use of fflush() function?
What is the right way to use errno?
What are called c variables?
Differentiate between functions getch() and getche().
What is data structure in c language?
write a program that declares an array of 30 elements named "income" in the main functions. then cal and pass the array to a programmer-defined function named "getIncome" within the "getIncome" function, ask the user for annual income of 30 employees. then calculate and print total income on the screen using the following function: "void getIncome ( ai []);
What’s the special use of UNIONS?