Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Modify the program so that instead of farenheit it asks for inches. Calculate the equivelant feet using 25 inches = 2.08 feet. Display both inches
Modify the program so that instead of farenheit it asks for inches. Calculate the equivelant feet using 25 inches = 2.08 feet. Display both inches and feet.
B Miscellaneous Files u, Temperature . This Visual Basic program converts a Fahrenheit temperature to Celsius Input: Interactive Output: Fahrenheit temperature followed by Celsius temperature 6 Option Explicit On 7Option Strict Or Module Temperature Sub Main() Din FahrenheitString As String Din Fahrenheit As Double Dim Celsius As Double 12 13 14 15 16 17 18 19 20 21 Get interactive user input Fahrenheitstring = InputBox$(- Enter Fahrenheit temperature: ") Convert String to Double Fahrenheit - Convert.ToDouble(Fahrenheitstring) Calculate celsius Celsius (Fahrenheit , 32.0) . (5.0/9.0) Output System.Console.uriteline("Fahrenheit temperature& Fahrenheit) System.Console Writeline("Celsius temperature:& 24 25 26 27 Celsius) End Sub End ModuleStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started