Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need help with this C++ assignment, please help! This time you are going to create a speedometer calculator. Below is the formula and some

I need help with this C++ assignment, please help!

This time you are going to create a speedometer calculator. Below is the formula and some basic logic about why this is important. In this program you will ask the user for the tire sizes (old & new). Then you will calculate the difference between the actual speed of the vehicle and what the speedometer shows in 10 mph increments from 10-100. You will save all of actual speeds in an array. For example and using the ratio difference below, at 60 mph on the speedometer the actual speed of the vehicle is 66 mph. so you will store the actual speed in the array of 66 mph. For the display, see the picture below. Oh yeah, dont forget about giving the user the ability to run the program as many times as they want, again like in the picture below.

image text in transcribed

Tire Size Program Do you want to do this tire conversion program? Y or N y Please enter the old tire size :30 Please enter the new tire size :33 When your spedo is reading 10 you're actually going: 11.6e When your spedo is reading 20 you're actually going 22.0 When your spedo is reading 30 you're actually going 33.0 When your spedo is reading 40 you're actually going 44.0 When your spedo is reading 50 you're actually going: 55.0 When your spedo is reading 60 you're actually going : 66.0 When your spedo is reading 70 you're actually going 77.0 When your spedo is reading 80 you're actually going 88.0 When your spedo is reading 90 you're actually going 99.0 When your spedo is reading 100 you're actually going 110.0 Do you want to do this tire conversion program again? Y or N

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Management Databases And Organizations

Authors: Richard T. Watson

3rd Edition

0471418455, 978-0471418450

More Books

Students also viewed these Databases questions