The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 3 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
I need the solution for this assignment  in Program Dev C++Â
Â
CSC131 – PROGRAMMING PRINCIPLES IASSIGNMENT 1Instructor: E. StylianouInstructions:Programming:Write the following programs using C language. Each program shouldinclude your name and date of creation on the top (use comments). Write a clear andproperly indented code and use comments properly.Submission:Submit you .c files (programs) through moodle in a.zip folderwith nameyour initials and studentID and name of the assignmente.ges987865_assign1.zip .Do not include in the folder the executable files (.exe).Exercises:1.(Converting Celsius to Fahrenheit)Write a program that reads a Celsius degree indouble from the console, then converts it to Fahrenheit and displays the result. Theformula for the conversion is as follows:fahrenheit = (9 / 5) * celsius + 322.(Computing the volume of a cylinder)Write a program that reads in the radius andlength of a cylinder and computes volume using the following formulas:area = radius * radius * πvolume = area * length3.(Converting pounds into kilograms)Write a program that converts pounds intokilograms. The program prompts the user to enter a number in pounds, converts it tokilograms, and displays the result. One pound is0.454kilograms.4.(Finding the number of years)Write a program that prompts the user to enter theminutes (e.g., 1 billion) and displays the number of years and days for the minutes.For simplicity, assume a year has365days.5.(Health application: computing BMI)Body Mass Index (BMI) is a measure of healthon weight. It can be calculated by taking your weight in kilograms and dividing by thesquare of your height in meters. Write a program that prompts the user to enter aweight in pounds and height in inches and display the BMI. Note that one pound is0.45359237kilograms and one inch is0.0254meters.Notes:%lfis used for input / output ofdoublevariables.Use formatting freely but explain each one of your formats.Use the <math.h> library for π (=pi).
-----------