Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need help on this one. Making a program in C++, can someone just help me get started please? Project1 VW type engine component analyzer

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedI need help on this one. Making a program in C++, can someone just help me get started please?

Project1 VW type engine component analyzer Background: Here are some fun facts related to the project. The early 70's VW beetle came with a 1585cc air cooled motor that produced 50HP. The engine is highly customizable and can be downsized for improved mileage or upsized for massive HP gains. Some engine components are bolt on. Some components require that you take your components to the machine shop for work before you can bolt them on. Either way, you will need to be mindful of the engine's compression ratio (cr). When the cris too low you leave power and mileage on the table. If the cr is too high, your engine will be prone to preignition, otherwise known as knock or ping. You will not be tested on the background Understanding of the background is not necessary for project completion. C++ Objectives: In this homework, we will explore some of the basics of C++ programming. In particular, we will practice working with: multiple data type variable declarations, input with cin, output with cout including escape characters and formatting, arithmetic operations, boolean logic, while and do while loops, if else, nested if-else-if and/or switch branching Tasks: You will need to compute several quantities. 1. The first is the engine volume (vol engine): (4 (bore/2)n2) pi stroke)/1000 2. The second is the combustion chamber volume (vol chamber) (((3/2) ((bore/2)A2)*pi)/1000)+head volume 3. The final quantity is the compression ratio (comp ratio): (engine volume/4/combustion chamber volume)-1 Additionally, the project has several menus that will operate in while or do while loops. After a user has selected all the engine components, the program will print out the engine statistics and any applicable warning messages. There is a closing menu that will take a user back to the top menu or allow the user to quit the program. Make sure your program handles invalid menu choices. There are some fixed constants that will guide the Boolean logic of the warning messages. All pistons 88mm and larger require head machine work. All pistons 90.5mm and larger require case machine work. All strokes 78mm and larger require case machine work. All compression ratios 8.8 and higher are too high. All compression ratios 7.8 and lower are too low The menus will accept menu pick q at any prompt as a way to terminate the program. Invalid menu picks simply redisplay the current menu. As a no extra credit challenge, you may implement menu pick z at any prompt as a way to take the user up one level (when applicable) in the menus

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

Sams Teach Yourself Beginning Databases In 24 Hours

Authors: Ryan Stephens, Ron Plew

1st Edition

067232492X, 978-0672324925

More Books

Students also viewed these Databases questions

Question

What would you do?

Answered: 1 week ago

Question

b. Will new members be welcomed?

Answered: 1 week ago

Question

c. Will leaders rotate periodically?

Answered: 1 week ago

Question

b. Will there be one assigned leader?

Answered: 1 week ago