Write down the pseudocode for a program which accepts the

Assignment Help Programming Languages
Reference no: EM13469547

The  Bus Company charges fares to passengers based on the number of travel zones they cross. Additionally, discounts are provided for multiple passengers traveling together. Ticket fares are shown in the following table: 

                  ZONES CROSSED

PASSENGERS

0

1

2

3

1

7.50

10.00

12.00

12.75

2

14.00

18.50

22.00

23.00

3

20.00

21.00

32.00

33.00

4

25.00

27.50

36.00

37.00

Write the pseudocode for a program that accepts the number of passengers and zones crossed as input until a sentinel value is entered for passengers. The output is the ticket charge.

Reference no: EM13469547

Questions Cloud

The motorboat traveled at the rate of 12 miles per hour how : tim and a friend left a campsite on a trip down a river in a canoe maintaining a constant speed of 4 miles per hour.
Word processing desktop publishing and web authoring : word processing desktop publishing and web authoring software are the three most popular types of document production
What ethical social and political issues arise with the use : information is data that is framed in a specific context. in this sense information is contextual data that has a level
Find the black deposit and where did it come from what : a student heated a beaker containing a liquid over a yellow flame. after the beaker was removed the student noticed a
Write down the pseudocode for a program which accepts the : thenbsp bus company charges fares to passengers based on the number of travel zones they cross. additionally discounts
Examine the information security and other technology : analyze the information security and other technology issues discussed in the article. develop a security strategy that
In laboratory student combines 459 ml of a 0197 m magnesium : in the laboratory a student combines 45.9 ml of a 0.197 m magnesium bromide solution with 16.1 ml of a 0.541 m cobaltii
Using the argosy university online library resources and : information technology evolves rapidly and businesses must stay abreast of that evolution in order to remain
By mistake quart of oil was dumped into swimming pool which : by mistake a quart of oil was dumped into a swimming pool that measures 25.0cm by 30.0cm assume the oil spread entirely

Reviews

Write a Review

Programming Languages Questions & Answers

  Compute the area of a circle

In MIPS assembly, write an assembly language program which asks a user for a decimal number, converts it to hex, prints the result.

  Determine bowler had highest average and print name

Output the bowlers name, avg. and number of stars earned. Discover which bowler had the highest average and print out their name and average.

  Write a program that will allow a user to enter in a

write a program that will allow a user to enter in a sentence of up to 100 characters. then take that sentence and

  Create program in pseudocode to compute amount of money

Create the program in pseudocode which computes the amount of money a person would earn over period of time if their salary is one penny first day.

  Create program which asks for number of fat grams

Create a program which asks for number of fat grams and calories in a food item. Validate input as follows: Make sure number of fat grams and calories are not less than 0.

  Design implement test and debug a program with a jframe

design implement test and debug a program with a jframe that allows the user to enter a series of contacts names ages

  Program to accept inputs from user beginning temperature

Physicists tell us that lowest possible temperature is absolute zero. Absolute zero is -459.69 degrees Fahrenheit. Accept inputs from user: a beginning temperature, ending temperature, and increment value (all Fahrenheit).

  Design and implement set of classes to model employees

Design and implement a set of classes to model the employees of a hospital: doctor, nurse, administrator, etc. Include methods in each class.

  Write program to calculate diameter in centimeters of rod

Write program to calculate diameter in centimeters of a steel rod, an aluminum rod, and a copper rod, which can withstand a particular compression load.

  Develop the application to show coffee customer orders

Develop the application which shows the total pounds of coffee customer orders, sales tax, and total price of order. Write down the name the solution, project, and form file Jason Coffee Solution, Jason Coffee Project.

  Write a loop that will show the price of silver and gold

Write a C++ program that displays a table showing the price of silver and gold. The table will have three columns. The first column will be labeled Ounces, the second labeled Silver

  Display total amount owed in fixed-point notation

Enter your C++ instructions into a source file named Introductory11.cpp. Also enter appropriate comments and any additional instructions required by the compiler. Display the total amount owed in fixed-point notation with two decimal places.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd