Question: c programming language Assignment purpose: To compile, build, and execute an interactive program using functions from stdio.h (printf and scand), simple math in C, and

c programming language
c programming language Assignment purpose: To compile, build, and execute an interactive

Assignment purpose: To compile, build, and execute an interactive program using functions from stdio.h (printf and scand), simple math in C, and simple programmer defined functions. Preprocessor directives: #define _CRT_SECURE_NO_WARNINGS //for Visual Studio Compiler #pragua warning disable:6031) //ignore scanf warnings include //printf and scanf Instructions - For this assignment you will be implementing a program that converts temperature and distance to and from Metric to English (kilometers to miles, miles to kilometers AND Fahrenheit to Celsius, Celsius to Fahrenheit) The program will welcome the user with a friendly message Ask the user to enter their first initial (assume the user will enter the initial) Get the initial from the user You will pass the initial to all the calculation functions and practice interacting with the initial See the sample output below You will need to use double variables for all the values and formulas to make the conversions Present the output to 2 decimal places, see the sample output below Use the following FIVE programmer defined functions, DO NOT modify the Functions //greets the user //asks, bet, and returns the first initial char Greeting(); // input the users initial //asks and gets kilometers, converts to siles //prints the results void KmsToMiles(char Initia); //input: the users Initial Vasks and gets miles, converts to kilometers //prints the results vold Milestokins (char lattial); //input: the users initial //asks and gets the temperature in celcius W/converts to farenheit //prints the results void Celcius ToFahrenheit(char Initial); //input: the users initial //asks and gets the temperature in farenheit //converts to celcius 1/prints the results vold Fahrenheittocelcius(char Initial

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!