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 09:00
What is one way in which tablets differ from laptops and notebooks? tablets are designed for touch-based interaction. tablets are designed to be used as desktops. tablets are designed for input via a keyboard and mouse. tablets are designed to be larger than laptops.
Answers: 1
question
Computers and Technology, 23.06.2019 00:30
If joey was single and his taxable income was $9,500, how much would he pay in taxes each year?
Answers: 1
question
Computers and Technology, 23.06.2019 09:10
Effective character encoding requires standardized code. compatible browsers. common languages. identical operating systems.
Answers: 1
question
Computers and Technology, 23.06.2019 16:30
If i wanted to include a built-in calendar in a document, what option could i select? draw table insert table insert chart quick tables
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, 02.07.2019 05:50
Questions on the website: 13722363