subject
Engineering, 30.10.2019 20:31 Greenrune113

Write a program that lets a user enter n and that outputs n! (n factorial, meaning n*(n-1)*(n-2)*..\.\*2*1). hint: initialize a variable total to n (where n is input), and use a loop variable i that counts from total-1 down to 1. compare your output with some of these answers: 1: 1, 2: 2, 3: 6, 4: 24, 5: 120, 8: 40320.

ansver
Answers: 2

Another question on Engineering

question
Engineering, 04.07.2019 18:20
Most leaks in reciprocating air compressors can be detected and minimized by: (clo4) a)-detecting leakage areas using ultrasonic acoustic detector. b)-tightening joints and connections c)-replacing faulty equipment d)-all of the given options
Answers: 2
question
Engineering, 04.07.2019 19:10
Which of the following is the most important advantage of a large field of view? a. allows larger areas to be examined b. relieves eyestrain c. minimizes parallax errors. d. increases precision in proportion to the in- crease in field of view
Answers: 2
question
Engineering, 04.07.2019 19:20
Afan that can provide air speeds up to 60 m/s is to be used in a low-speed wind tunnel with atmospheric air at 35 c. if one wishes to use the wind tunnel to study flat-plate boundary layer behavior up to reynolds numbes of re 10, what is the minimum plate length that should be used? at what distance from the leading edge would transition occur if the critical reynolds nurnber were rer,e = 5 × 105?
Answers: 2
question
Engineering, 06.07.2019 02:30
A12 mm diameter shaft runs in a plain cylindrical bush 30 mm long that is located in an 18 mm diameter hole in a housing. the shaft-inner bush fit is h8 f and the outer bush-housing fit is h7-p6. make a fully cimensioned sketch of the bush with tolerances. find the maximum and minimum clearance or interference for both fits on the inner and outer diameters of the bush
Answers: 3
You know the right answer?
Write a program that lets a user enter n and that outputs n! (n factorial, meaning n*(n-1)*(n-2)*.....
Questions
question
Mathematics, 08.02.2021 18:40
question
Mathematics, 08.02.2021 18:40
question
Mathematics, 08.02.2021 18:40
Questions on the website: 13722363