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

  Program to enter answer to a math problem

Write a program which ask student to enter an answer to a math problem. The user must enter two values, one at time, and then ask for answer.

  Create the array to determine discount amount

Create the array (DISCOUNT-ARRAY) that will be used to determine discount company will give based on amount of an order.

  Write a prolog relation that returns a list

Write another relation (anything you want) that does something not performed above. Explain what your relation does.

  Allows the user to enter the cost for an item

Write a program that allows the user to enter the cost for an item and the number of that item ordered.

  Create a windows application and design document

create a complete C# Windows application and design documents based on the following specifications and instructions.

  Create math sorting game using visual basic studio

using visual basic studio 2010, Create math sorting game. Random number between 1 and 99 will be generated and displayed to the user.

  Write program to prints question do you want to continue

Write a program which prints question"do you want to continue?"and reads user input. if user input is"y", "yes", "ok", "sure", or "why not?" , print out "ok".

  Building instruction set simulators

Building Instruction Set Simulators

  Design program that stores information of products

You are asked to design a program that stores information of given products. Your program must be menu driven. The program menu must include the following options: Add product information (Ask user to input product id, name and price)

  Communicate with a pc using the rs232c serial protocol

In this assignment we will use the UART0 peripheral to communicate with a PC using the RS232C serial protocol.

  Pogram to recognize the particular memory location

The 12-bit address recognizes the particular Memory location or I/O device. Illustrate the program execution for following programs.

  Write tax program having single formula to compute tax

Write the tax program with following logic: Set variables cutoff15 and cutoff28 which depend on marital status. Then have single formula which computes tax, depending on incomes and cutoffs.

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