subject
Engineering, 21.02.2020 23:04 dnarioproctor

I need this in c program please

Computing Factorials

Lab #2

Name your program lab2.c

Start by asking the user to enter a number

between 1 and 15

Check if the user has complied.

Keep asking the user for a number between 1

and 15 until the user complies.

Then ask if recursion is desired or not.

If recursion is not desired call a function to calculate

N! (where N is the number entered)



If recursion is required call a recursive function to

calculate N! (where N is the number entered)

ansver
Answers: 2

Another question on Engineering

question
Engineering, 03.07.2019 15:10
Apiston-cylinder with a volume of 0.25 m3 holds 1 kg of air (r 0.287 k/kgk) at a temperature of 100 c. heat transfer to the cylinder causes an isothermal expansion of the piston until the volume triples. how much heat is added to the piston-cylinder?
Answers: 3
question
Engineering, 04.07.2019 03:10
What precautions should you take to prevent injuries when dealing with heavy loads?
Answers: 1
question
Engineering, 04.07.2019 18:10
Abrake has a normal braking torque of 2.8 kip in and heat-dissipating cast-iron surfaces whose mass is 40 lbm. suppose a load is brought to rest in 8.0 s from an initial angular speed of 1600 rev/min using the normal braking torque; estimate the temperature rise of the heat dissipating surfaces.
Answers: 3
question
Engineering, 04.07.2019 18:10
For the closed feedwater heater below, feedwater enters state 3 at a pressure of 2000 psia and temperature of 420 °f at a rate of ix10 ibhr. the feedwat extracted steam enters state 1 at a pressure of 1000 psia and enthalpy of 1500 btu/lbm. the extracted er leaves at an enthalpy of 528.7 btu/lbm steam leaves as a saturated liquid. (16) a) determine the mass flow rate of the extraction steam used to heat the feedwater (10) b) determine the terminal temperature difference of the closed feedwater heater
Answers: 3
You know the right answer?
I need this in c program please

Computing Factorials

Lab #2

Name...
Questions
question
Mathematics, 30.10.2021 16:40
Questions on the website: 13722367