Do loop with sub routines to print what each company owes

Assignment Help Other Subject
Reference no: EM13188596

Assume you have a company called Rampage Seminar Inc., which offers programming seminars to companies. Your price per person depends on the number of people the company registers. (For example, if the company registers 7 people, then the total amount owed by the company is $560). Use the following charges.

1-4 $100/person
5-10 $80/person
11 or more $60/person 
Less than 1 $0/person.

Write a basic program using If then else and Do loop with sub routines to print what each company owes?

Use read data statement with the following data. The program stops when it encounters an End statement.

Read nam$, numberofpersons
Data ABC company, 5
Data NBC Corporation, 7
Data XLR company, 8
Data Lucent corp, 12
Data Ameritech, 3
Data Rambo Mart, 0
Data end, 0

Reference no: EM13188596

Questions Cloud

Use the getdate function : Write an UPDATE statement that modifies the InvoiceCopy table. Change the PaymentDate to today's date and the PaymentTotal to the balance due for each invoice with a balance due. Set today's date with a literal date string, or use the GETDATE() funct..
What are the relevant markets in this model : Construct a circular-flow diagram like the one found in this chapter to represent the sector of the economy devoted to collage education: collages and universities represent firms, and house holds both consume education and provide facilty and stu..
What future amount of money will be accumulated : WHAT FUTURE AMOUNT OF MONEY WILL BE ACCUMULATED 10 YEARS FROM NOW BY INVESTING $1000 NOW PLUS $2000 FIVE YEARS FROM NOW AT 6% INTEREST COMPOUNDED SEMI-ANNUALLY
Diagnostic and forensic analyses : When should common diagnostic and forensic analyses be utilized to assess the effectiveness of a company's marketing activities?
Do loop with sub routines to print what each company owes : Assume you have a company called Rampage Seminar Inc., which offers programming seminars to companies. Your price per person depends on the number of people the company registers. Write a basic program using If then else and Do loop with sub routines..
Organise the data in appropriate class intervals : Organise the data in appropriate class intervals and draw a histogram of the frequency distribution and find the Mean, Median, Range, Standard Deviation and Coefficient of Variation of the yield for the top 40 Australian companies.
Physical or cognitive issues-retirement : What are some physical or cognitive issues older adults face as one enters retirement? What issues come with aging? What issues that can be avoided if older adults take better care of themselves. Give examples. Pls answer in 130 words or less.
How might you construct a measure of the change in the price : Define inflation. Assume that you live in a simple economy in which only three goods are produced and traded: fish, fruit, and meat. Suppose that on January 1, 2007, fish sold for $2.50 per pound, meat was $3.00 per pound, and fruit was $1.50 per ..
Integrated into managed care : Name some reasons why providers have integrated into managed care and whether you think managed care has run its course in terms of being able to manage health escalating costs, and if so, will it be replaced by some other form of care provision.

Reviews

Write a Review

Other Subject Questions & Answers

  Piaget’s stages of development

What implications do Piaget’s stages of development have on education?

  What he though of the vietnamese people

When harry returned from a business in ho chi minh city vietnam his wife asked him what he though of the vietnamese people harry replied they're primitive people who eat animals from the streets drive wildly around town on motor scooters and talk ver..

  Case study- hartford penn-cann service, inc

Hartford Penn-Cann Service, Inc., operated a gas station, restaurant, and truck wash directly across the highway from a gas station and truck stop operated under the name "Hartford 65."

  Cognitive-social approach

Illustrations of how cognitive-social approaches to learning have modified or could modify curricula in schools.

  Speech on malpractice insurance

During her speech on malpractice insurance, the head of the local branch of the American Medical Association consistently avoided making eye contact with her audience.

  Explain professional accounting and business journals

World Diversity Research Paper - Using the electronic data bases provided by the Liberty University Library and other internet sources, search for journal articles in professional accounting and business journals as well as examples of other count..

  Explain similarity of versions of much ado

Select one scene from Much Ado. Watch three versions of scene, selecting among the following productions: Joss Whedon's 2012 film; Kenneth Branagh's 1993 version. What do they do likewise? How are they dissimilar?

  Describe josephus’ works-jewish war and jewish antiquities

Describe Josephus’ works, the Jewish War and Jewish Antiquities. How were Josephus’ writings influenced by his background and experience, political considerations, personal biases and agendas, and apologetic motives? Give at least two specific exampl..

  Discrimination based upon national origin

List the elements that an employee must prove to prevail on a claim for discrimination based on national origin.

  Risk factors associated to iq scores

Design an intervention program for the pre-school children who are at risk designed to boost their intelligence test performance.

  Describe the country’s stage of economic development

Describe the country’s stage of economic development.  Is the country trying to establish a market economy? If so, identify the policy or policies the country is pursuing to achieve it. If not, explain why not.

  Determine long-term sun exposure

In a history and physical assessment, what would you evaluate to find out long-term sun exposure?

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