Question: Visual studio 2019, program in c Intro to Programming in C-program 3 Assignment purpose: To compile, build, and execute an interactive program using functions from

Visual studio 2019, program in c
Visual studio 2019, program in c Intro to Programming in C-program 3
Assignment purpose: To compile, build, and execute an interactive program using functions

Intro to Programming in C-program 3 Assignment purpose: To compile, build, and execute an interactive program using functions from stdio.h (printf and seant), simple math in C, and simple programmer defined functions Preprocessor directives: #define _CRT_SECURE_NO_WARNINGS //for Visual Studio compiler praia warning disable:6031) //gere scanf warnings includeestdio.h//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 Fa 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 initia) . 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, art, and returns the first initial char Greeting(); //input: the users initial Wasks and gets kilometers, converts to siles //prints the results vold Kustomiles(char Initial); //input: the users initial //asks and gets niles, converts to kilometers void Miles Tons (char initial); // input: the users initial //asks and gets the temperature in celcius // converts to farenheit void Celclustofahrenheit(char Initial); 1/input: the users initial //asks and gets the temperature in farenheit 1/prints the results void FahrenheitToCelcius (char initial); //prints the results //prints the results //converts to celcius Sample output: Please enter your first initial:T T., Welcome to the temperature and distance calculator! You will enter kilometers and it will be converted to miles You will enter miles and it will be converted to kilometers You will enter the temperature in Fahrenheit and it will be converted to Celsius You will enter the temperature in Celsius and it will be converted to Fahrenheit T., Enter distance in kilometers> 15.7 T., 15.70 kilometers equals 9.76 miles T., Enter distance in miles> 13.1 T., 13.10 miles equals 21.08 kilometers T., Enter temp in Celsius: 26.4 T., 26.40 in Celsius is 79.52 in Fahrenheit T., Enter temp in Fahrenheit: 12.7 T., 12.70 in Fahrenheit is -10.72 in Celsius T., Have a Great Day

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!