Question: Using Visual studio programming laugue c Exercise 1Write a program that converts27from degree Fahrenheit (F) to degree Celsius (C) using thefollowing formula:C= (F32)/1.8(1) Exercise 2Write
Using Visual studio programming laugue c
Exercise 1Write a program that converts27from degree Fahrenheit (F) to degree Celsius (C) using thefollowing formula:C= (F32)/1.8(1)
Exercise 2Write a program to evaluate the polynomial shown here:3x35x2+6 for x=2.55
Exercise 3Define acharacter constantvariable namedcompassand give it a value (e.g., S). Use aswitchstatement that will printNorth, South, East, West,for the respectiveN, S, E, W,cases. If thevalue of the compass is not any of theN, S, E, W,printInvalid. Write a second version of theprogram using theif...else-if...elsestatement instead of aswitch
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
