subject

A1)Write a C++ Program that gets a number from the user. If the given number is negative in your input validation loop you should ask for another number until the user input is a positive value. Then finds the factorial of the given number by while loop. Your test will be based on the given example for adding to the report.
Ex:please enter a positive number:
the user input is -5
please enter another number:
the user input is 4 the program prints, {4*3*2*1=24}
The format of the print should be absolutely the same as the one put in brackets

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 12:30
Which of the choices sean are not true when considering virus behavior
Answers: 1
question
Computers and Technology, 23.06.2019 03:00
State 7 common key's for every keyboard
Answers: 1
question
Computers and Technology, 24.06.2019 01:00
Answer these and get 40 points and brainliest
Answers: 1
question
Computers and Technology, 24.06.2019 14:30
Ahousehold consists of a married couple and their twin five-year old daughters. the couples children had no income and lived with their parents all of last year. how many exemptions can the couple claim on last years tax return or they file with the β€œ married filing jointly β€œ status? a. 4 b. 5 c. 3 d. 2
Answers: 1
You know the right answer?
A1)Write a C++ Program that gets a number from the user. If the given number is negative in your inp...
Questions
question
Mathematics, 27.08.2020 23:01
Questions on the website: 13722360