ITP 150 excersie

docx

School

Northern Virginia Community College *

*We aren’t endorsed by this school

Course

150

Subject

Computer Science

Date

Feb 20, 2024

Type

docx

Pages

1

Uploaded by hebaaziz506

Report
Q1. (Programming Exercise 8 from Chapter 2 - Tip, Tax, and Total). Design a program written in pseudocode that calculates the total amount of a meal purchased at a restaurant. The program should ask the user to enter the charge for the food, and then calculate the amount of a 15 percent tip and 7 percent sales tax. Display each of these amounts and the total. Q2. (Programming Exercise 11 from Chapter 2 - Leftover Pizza). You're planning a pizza party and you plan to give each person three slices of pizza. Design a program written in pseudocode that displays the number of slices that will be leftover. The program should ask for the following input: The number of pizzas you will have The number of slices that each pizza will be cut into The number of people that will be attending
Discover more documents: Sign up today!
Unlock a world of knowledge! Explore tailored content for a richer learning experience. Here's what you'll get:
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help