ComputerScienceExpert

(11)

$18/per page/

About ComputerScienceExpert

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Applied Sciences,Calculus See all
Applied Sciences,Calculus,Chemistry,Computer Science,Environmental science,Information Systems,Science Hide all
Teaching Since: Apr 2017
Last Sign in: 103 Weeks Ago, 2 Days Ago
Questions Answered: 4870
Tutorials Posted: 4863

Education

  • MBA IT, Mater in Science and Technology
    Devry
    Jul-1996 - Jul-2000

Experience

  • Professor
    Devry University
    Mar-2010 - Oct-2016

Category > Programming Posted 27 Apr 2017 My Price 8.00

The program will compute the parking charg

answer the question in  pseudo code need help how to write it .

 

 

1.) Pseudo Code Problem #2 (20 points)
Program Requirements: A parking company would like a program that calculates the parking
charge based on the vehicle and the number of passengers in the car. The user will enter the
type of vehicle and number of passengers. The program will compute the parking charge and
print the parking charge. The parking charge calculation is based on the following rules:
There are three valid types of vehicles: Limo, Bus, or Car.
For a Limo, charge $40. For a Bus, charge $50. For a Car, ask the user for the number of
passengers, and charge based on table below. If an invalid vehicle type is entered, then
output: Invalid vehicle type XXX
Number of Passengers
1-2
3-4
Over 4
Any other value entered Parking Charge for Car
$5
$10
$15
$15 Sample Output 1:
Enter the vehicle type (limo, bus, or
car)
limo
The charge is $40 Sample Output 2:
Enter the vehicle type (limo, bus, or
car)
bus
The charge is $50 Sample Output 3:
Enter the vehicle type (limo, bus, or
car)
plane
Invalid vehicle type plane Sample Output 4:
Enter the vehicle type (limo, bus, or
car)
car
Enter the number of passengers
2
The charge is $5 Sample Output 5:
Enter the vehicle type (limo, bus, or
car)
car
Enter the number of passengers
4
The charge is $10 Sample Output 6:
Enter the vehicle type (limo, bus, or
car)
car
Enter the number of passengers
5
The charge is $15 Write pseudo code on additional sheet provided.

Answers

(11)
Status NEW Posted 27 Apr 2017 02:04 AM My Price 8.00

-----------

Not Rated(0)