Computers and Technology

Write a program proj3_1.cpp that reads from user the length in feet and inches into two separate variables. then, your program should convert the feet and inches into two other variables holding meters and centimeters. must use only the conversion factor between feet and meters of 0.3048 meter/feet along with 12 inches in a foot and 100 centimeters in a meter. you should use 3 functions: one for input, one for conversion, and one for displaying the results with the following prototypes: void getfeetinches(int & feet, int & inches); void coverttometercentimeter(int feet, int inches, int & meters, int & centimeters); void displayresults(int feet, int inches, int meters, int centimeters);

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 22:30, keel5468
You draw two cards from a standard deck of 52 cards, but before you draw the second card, you put the first one back and reshuffle the deck. (a) are the outcomes on the two cards independent? why?
Answers: 3
image
Computers and Technology, 24.06.2019 00:00, Amrinderkhattra
Visualizing a game of β€œtag” to remember the meaning of contagious
Answers: 3
image
Computers and Technology, 24.06.2019 14:00, ratpizza
Which describes careers that have similar education requirements but different qualifications? product safety engineers and materials engineers industrial safety engineers and industrial health engineers quality control systems managers and inspectors industrial safety and health engineers and hand packers
Answers: 3
image
Computers and Technology, 24.06.2019 21:00, genyjoannerubiera
When replacing a thermostat or water pump, coolant drained from the cooling system should be
Answers: 1
Do you know the correct answer?
Write a program proj3_1.cpp that reads from user the length in feet and inches into two separate var...

Questions in other subjects:

Konu
German, 06.01.2020 19:31