Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Before attending this lab, you should have read and be familiar with Chapter 2 s

ID: 3786472 • Letter: B

Question

Before attending this lab, you should have read and be familiar with Chapter 2 sections 2.4 and 2.8 of Delores Etta's Engineering Problem Solving with C. Answer the questions below in a typed document, numbered appropriately. Print out this sheet as a cover page. Bring the completed assignment to your next lab class. Write c assignment statements for the following operations, using appropriate valid identifiers: Conversion of degrees Fahrenheit into degrees Celsius Conversion of degrees Fahrenheit into degrees Rankine Conversion of degrees Celsius into Kelvins Conversion of height from feet and inches into centimeters Conversion of weight from pounds into newtons Calculation of mass in kilograms from the weight in newtons. assuming a gravitational acceleration of 9.807 m/s^2 Write c printf statements that do the following: A statement that asks the user to input their height in feet and inches, separating the two numbers by a space. Display an example as follows: (For example, if you are 6'2", type "6 2" at the prompt.) A series of statements that produce a table that shows temperature in different units, similar to the following: Write c scanf statements that do the following: A statement that takes two integers and stores them each in separate variables A statement that takes a double and stores it in a variable A statement that takes 3 characters and stores them each in separate variables

Explanation / Answer

1) Fahrenheit into Celsius

celsius = (fahrenheit - 32) * 5 / 9;

2) Fahrenheit into Rankine

rankine = fahrenheit + 459.67;

3) Celsius into Kelvin

kelvin = celsius + 273.15;

4) Feet and Inches to Centimeters

centimeters = (inches + feet * 12) * 2.54;

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote