Question
AHPA #8:
What's The Temperature?
• You are a Cell and Molecular Biology major who has been
placed in charge of the Covid-19 vaccine storage facility.
• Create a C program that will ask a user what type of
temperature they will be entering (F/C), then calculate a
temperature that the facility can be set to in both
temperature scales.
• Your program will convert the entered temperature - either
from Fahrenheit to Celsius or from Celsius to Fahrenheit.
The output should be same as picuture below
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by stepSolved in 3 steps with 1 images
Knowledge Booster
Similar questions
- C++ - No library functions like atoi Write a machine language program to output your first name on the output device. Submit your "machine code" followed by a 'zz.' An example of the machine code to output "hello" is shown below. This is an example of what a machine language submission would look like: 50 00 48 50 00 65 50 00 6c 50 00 6c 50 00 6f 00 zzarrow_forwardThe Goal of this project is to write a program in C++that calculates car rental amounts (for an online 24/24 service).The rental rates are as follows: •From 00:00 am to 06:59 am and from 17:00pm to 24:00pm: 8 dollar/hour •From 07:00 am to 16:59 pm: 10 dollars/hour The program will ask the user to enter the start and end hours of the rental as integers and will compute and display the rental cost. You will adopt the following simplifications: •the hours are integers (we don’t mind about minutes; each started hour will be fully paid); •the start time (i.e., hour) of the rental period must always be less than the end time (i.e., hour) of the rent. This means that one cannot hire a car for more than 24 hours and that each rental period must lie within the same day.arrow_forwardSubject: programming language : c++ Question : Jane has opened a new fitness center with charges of 2500 per month so the cost to become a member of a fitness center is as follow :1.For senior citizens discount is 30 %2. For young one the discount is 15 %3. For adult the discount is 20% Write a menu driven program (using structure c++) thata. Add a new memberb. Display the general information on about the fitness center and its chargesc. Determine the cost of a new membershipd. At any time show the total money made.Use appropriate parameters to pass information on and out of a function.arrow_forward
- please choose anwser with explanationarrow_forwardA place to buy candy is from a candy machine. A new candy machine is bought for the gym, but it is not working properly. The candy machine has four dispensers to hold and release items sold by the candy machine and a cash register. The machine sells four products — candies, chips, gum, and cookies—each of which is stored in a separate dispenser. You have been asked to write a program for this candy machine so that it can be put into operation. The program should do the following: Show the customer the different products sold by the candy machine Let the customer make the selection Show the customer the cost of the item selected Accept money from the customer Return change Release the item, that is, make the sale Note: java programming, please used given outline code //Implement the blueprint of the Candy Machine import java.util.*; public class CandyMachine { // Each candy machine is made of 1 CashRegister and 4 Dispensers CashRegistercashRegister; Dispensercandy;…arrow_forwardC++arrow_forward
- please use c++ to answer the following questionarrow_forwardDevelop an object-oriented programming (OOP) application to create two clocks that display simultaneously and allow for user input using secure and efficient C++ code.1. Clock12: Time should be displayed in 12-hour format where the clock does not exceed 12:59:59.2. Clock24: Time should be displayed in 24-hour format where the clock does not exceed 23:59:59.3. Both clocks should display on the screen with the current time in the proper format.Any clue where to even start? Title: Clocks FlowchartTop of chart begins: “Clear Screen” “Display time in two formats”. Decision: “Button Pressed?” If “No” to button pressed, then to “Add 1 Second”. Then “Wait 1 second”. Then back to “Clear Screen”. If “Yes” to button pressed, then to “Display Menu”. Then “Read user input”. Then to Decision: “User input = exit?”. If “Yes” to exit, then endpoint: “End program”. If “No” to exit, then Decision: “Add Hour?” If “Yes” to hour, then “Add 1 hour.” Then back to “Clear screen”. If “No”…arrow_forward
arrow_back_ios
arrow_forward_ios