Program which converts fahrenheit to centigrade

Assignment Help C/C++ Programming
Reference no: EM13810429

Design, create, and test a program which converts degrees Fahrenheit to degrees Centigrade (Celsius). The program must contain one main program and 3 functions: F2C() and C2F() and instructions(). The user will be asked to enter a numeric code to determine the operation. If the input code = 1, then convert F to C, if the code = 2, then convert C to F, if the input code = 3, then display instructions, and if the code = 4, then quit. The program should be in a "loop" that repeatedly performs conversions until the user quits, then the program stops. Display the instructions one time when the program starts (or whenever the user enters code = 3). Keep inputs and outputs (except for instructions) in the main program. Use F2C() and C2F() to perform conversion only.

Reference no: EM13810429

Questions Cloud

Role of the president when setting american foreign policy : Discuss the role of the president when setting American foreign policy
Design a high-level conceptual view of a data warehouse : Design a high-level conceptual view of a data warehouse (DW) for Huffman Trucking using Microsoft Visio that shows the following: Integration layers
What you understand by the term the invisible hand : Explain what you understand by the term the "invisible hand"and competitive market. Why would the workings of a competitive market result in an efficient allocation of resources as first suggested by Adam Smith?When does a market achieve allocativ..
Conversion of property that fred asserts he owns : Question 1: Fred files a suit against Gail for conversion of property that Fred asserts he owns. Gail will not be liable if she can show that
Program which converts fahrenheit to centigrade : Design, create, and test a program which converts degrees Fahrenheit to degrees Centigrade (Celsius). The program must contain one main program and 3 functions: F2C() and C2F() and instructions()
The balancing act juggling family and work : The balancing act juggling family and work
Write the program using a for-loop and a break statement : Write a program that asks the user to enter a number that's positive and a multiple of 4. The user has three attempts to find such a number. Write the program using a for-loop and a ‘break' statement in the loop
Before tax required rate of return on debt : The Blue Bird Company plans a $79 million expansion. The expansion is to be financed by selling $50 million in new debt and $29 million in new common stock. The before tax required rate of return on debt is 5% and the required rate of return on equit..
Differences between bias crimes and bias-motivated incident : Explain the differences between bias crimes and bias-motivated incident

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Develop a global function customerinformation

Use a parameterized constructor to initialize data members - Develop a global function "CustomerInformation" that prints the customers information (number of dept each customer can handel). ( Use copy constructor).

  Write a program for a graphics system

Write a program for a graphics system that has classes for rectangles, squares, circles and triangles. Each of these must be derived from a base class

  The funtion should take as parameters

Write a function in c ++ that multiplies two functions. the funtion should take as parameters two fraction structures. Then, the function should multiply the two fractions and return the solution as a fraction structure.

  Implement the recursive version of the binary search

Write the code to test it out on a sample input. Compare its complexity with the iterative version found in the text book.

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Write a function which takes a c string

Write a function which takes a C string as an input and counts the number of non-alphabetic characters in the C string. Non-alphabetic characters include anything outside the ranges 'a' thru 'z' and 'A' thru 'Z'.

  Write a function named dietoss that simulates the tossing

Write a function named dieToss that simulates the tossing of two dice. When you call the function, it should generate two random numbers ranged in 1 to 6 and return the sum of the die's numbers. In the mail program, ask user how many times the dice s..

  Write a class called fraction

Write a class called Fraction (this is not related to problem 2 from the text).

  Checking for a palindrome

For this Programming Activity, you will write a GUI-based program checking for a Palindrome.Turn to Page 959 in your text.Complete Programming Activity 1: Checking for a Palindrome.

  An expression whose value depends upon the evaluation

Give an example in C++ of an expression whose value depends upon the evaluation order. Show the orders that produce different values and the values they produce. Explain what side effect is the expression contains.

  Write in c++ another overloaded operator

Write in C++ another overloaded operator to go in the program that has Treasury. Overload the forward slash /  so that in the main program, you can declare sale to be of type Treasury, and commission to be of type Treasury, and commispctage to be of ..

  Produce a c program to calculate the total price for order

Your friend has just opened a computer appliances shop at Changloon. He asked your help to develop a computer program which can be used at the counter. Your program should be able to input the customer's order which could be more than one item. Produ..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd