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
Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?
The __________ attribute is used to announce variables based on definitions of columns in a table?
What are linked lists in c?
What are the advantages of using Unions?
Devise a program that inputs a 3 digit number n and finds out whether the number is prime or not. Find out its factors.
What is multidimensional arrays
What are the different types of data structures in c?
Can you explain the four storage classes in C?
What are the advantages of external class?
Explain a file operation in C with an example.
why we wont use '&' sing in aceesing the string using scanf
How do I determine whether a character is numeric, alphabetic, and so on?
code for quick sort?
What does the function toupper() do?
Explain how does flowchart help in writing a program?