Question: Problem 2: Celsius ToFahrenheit Lab 2 45 points Data input, data processing, and data output. Problem 1: MaleFemalePercent Write a program that prompts the user

 Problem 2: Celsius ToFahrenheit Lab 2 45 points Data input, data

Problem 2: Celsius ToFahrenheit Lab 2 45 points Data input, data processing, and data output. Problem 1: MaleFemalePercent Write a program that prompts the user for the number of males and the number of females registered in a class using two separate prompts: ("Enter number of females enrolled:"). ("Enter number of males enrolled:"). Output: Display the percentage of males and females in the following way using the values from the screenshots: Write a program that asks the user for the temperature in Celsius. Convert the Celsius temperature to the temperature in Fahrenheit using the following formula: (9/5) Celsius +32 The input for the program should accept floating point values (decimals). The output for the program should display the Celsius temperature and the Fahrenheit temperature. Enter the Celsius temperature: 20 20.e degrees celsius converted to fahrenheit is: 68.2 Class enrollment: Percent female: 65 : Percent male: 35 Enter the Celsius temperature: 20.5 20.5 degrees celsius converted to fahrenheit is: 68.9 Please enter the number of female students enrolled: 7 Please enter the number of male students enrolled: 3 Clasa enrollment Percent female: 70.0 Percent sale : 30.0 Problem 3: FahrenheitToCelsius Write a program that asks the user for the temperature in Fahrenheit. Convert the Fahrenheit temperature to the temperature in Celsius using the following formula: (Fahrenheit - 32)5/9 Please enter the number of renale students enrolled. 18 Please enter the number of male students enrolled: class enrollment The input for the program should accept floating point values (decimals). The output for the program should be the Fahrenheit temperature and the Celsius temperature. Percent female: 75.0 Percent sale : 25. Please enter the number of resale students enrolled: 14 Please enter the number of male students enrolled: 10 Class enrollment Enter the Fahrenheit temperature: 68.8 68.8 degrees Fahrenheit converts to approximately 28.444444444444443 degrees Celsius. Percent female: 58.333333333333336 Percent male : 01.GGGGGGGGGGGGG7 Enter the Fahrenheit temperature: 68.9 68.9 degrees Fahrenheit converts to approximately 28.588888888888884 degrees Celsius

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!