subject

Write a program that will prompt the user for miles, yards, feet, and inches. input one value percin. convert the measurements into meters and display the results on the screen. make the metersvalue a float. output each of the sub totals individually❦.(i. e. miles, yards, feet, inches) then output the grandtotal. units value metersmiles xxx xxx. xxyards xxx xxx. xxfeet xxx xxx. xxinches xxx xxx. xxtotal xxx. xxto limit your output to 2 decimal places use the following: example: include #include using namespace std; int main () {double f =3.14159; cout < < fixed; cout < < setprecision(2) < < f < < endl; 1 mile = 5280 feet1 mile = 1760 yards1 yard = 3 feet1 foot = 12 inches1 inch = 0.0254 meters. tips: use good names of identifies. try: const int yards_per_mile = 1760; const int feet_per_mile = 5280; const int feet_per_yard = 3; const float meters_per_inch = 0.0254; const int inches_per_yard = 36; then if: double yards; double meters; cout < < "enter the yards: "; cin > > yards; meters = yards*inches_per_yard*meters_per_in ch;

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 06:30
Requirement types discussed during software development include functional and color scheme nonfunctional and code style constraint and nonfunctional fashionable and functional.
Answers: 2
question
Computers and Technology, 23.06.2019 16:10
What is the ooh? a. omaha occupation handbook b. online occupational c. occupations online d. occupational outlook handbook select the best answer from the choices provided
Answers: 3
question
Computers and Technology, 24.06.2019 02:00
Read the following scenario, and then answer the question below. you want to send an e-mail to your boss requesting a meeting to discuss a raise. what is the best example of an e-mail to an employer about this meeting? “hey jason. can we chat about getting me more money soon? let me know. peace, meg.” “hello jason. pardon me for sending yet another e-mail today about my need to talk to you about my position and a possible pay increase. i am dying to know when you can talk. sincerely, meg.” “hello jason. i have been with the company for one year and have taken on more responsibilities than outlined in my job description. i would appreciate an opportunity to speak with you about my position. let me know when we can schedule a meeting. you, meg.” “greetings jason! i hope this e-mail finds you well and happy today. i really, really want to talk to you about something important. i am not sure if you have time. i hope you do. get back in touch with me and let me know when we might talk. ever so much for taking the time to read this. sincerely, meg.”
Answers: 3
question
Computers and Technology, 24.06.2019 09:50
Suppose you are an ad-serving company and you maintain a log of cookie data for ads you serve to the web pages for a particular vendor (say amazon). a. how can you use this data to determine which are the best ads? b. how can you use this data to determine which are the best ad formats? c. how could you records of past ads and ad clicks to determine which ads to send to a given ip address? d. how could you use this data to determine how well the technique you used in your answer to part c was working? e. how could you use this data to determine that a given ip address is used by more than one person? f. how does having this data give you a competitive advantage vis-à-vis other ad-serving companies?
Answers: 2
You know the right answer?
Write a program that will prompt the user for miles, yards, feet, and inches. input one value percin...
Questions
question
Computers and Technology, 13.03.2020 10:53
question
Mathematics, 13.03.2020 10:53
question
English, 13.03.2020 10:55
Questions on the website: 13722367