Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Instructions Program 1 You want to figure out the gas mileage of your vehicle. The formula for gas mileage is Miles Driven divided by GallonsUsed.

image text in transcribed
image text in transcribed
image text in transcribed
Instructions Program 1 You want to figure out the gas mileage of your vehicle. The formula for gas mileage is Miles Driven divided by GallonsUsed. Create a program where the user enters the amount of miles driven in a week and the amount of gallons purchased in the week. Figure the GasMileage. The program should print out the Miles Driven, GallonsUsed, and the GasMileage. Execute the program and test the code with 100 for the amount of miles driven and 5 for the amount of gallons. See submission requirements below. Program 2 You need to figure out how much carpet you need to remodel your living room. The formula for square footage is Length multiplied by Width. Create a program where the user enters the Length and Width of a room. Figure the Square Footage. The program should print the Length, Width, and Square Footage. Execute the program and test the code with 10 feet for width and 13 feet for See sub requirements below Instructions and Notes * Create pseudocode, a flowchart, write, compile, and execute each program. Final submission should include pseudocode, flowchart, screenshot of code, screenshot of executed program for each program. Submit in ONE Word or PDF format document. */ Add a line of output to each program that prints, "Code by firstName lastName." You may use a handle if you wish. The student will not receive any points for a program that does not include this output. * Each program is worth 30 points. Instructions Program 1 You want to figure out the gas mileage of your vehicle. The formula for gas mileage is Miles Driven divided by GallonsUsed. Create a program where the user enters the amount of miles driven in a week and the amount of gallons purchased in the week. Figure the GasMileage. The program should print out the Miles Driven, GallonsUsed, and the GasMileage. Execute the program and test the code with 100 for the amount of miles driven and 5 for the amount of gallons. See submission requirements below. Prostam 2 You need to figure out how much carpet you need to remodel your living room. The formula for square footage is Length multiplied by Width. Create a program where the user enters the Length and Width of a room. Figure the Square Footage. The program should print the Length, Width, and Square Footage. Execute the program and test the code with 10 feet for width and 13 feet for length. See submission requirements below ---Instructions and Notes 7 Create pseudocode, a flowchart, write, compile, and execute each program. Final submission should include pseudocode. flowchart, screenshot of code, screenshot of executed program for each program. Submit in ONE Word or PDF format document, *7 Add a line of output to each program that prints, "Code by firstName lastName." You may use a handle if you wish. The student will not receive any points for a program that does not include this output */ Each program is worth 30 points. Instructions and Notes */ Create pseudocode, a flowchart, write, compile, and execute each program. Final submission should include pseudocode, flowchart, screenshot of code screenshot of aracutad nman 1

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

Securing SQL Server Protecting Your Database From Attackers

Authors: Denny Cherry

3rd Edition

0128012757, 978-0128012758

More Books

Students also viewed these Databases questions

Question

Prepare and properly label figures and tables for written reports.

Answered: 1 week ago