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

  Critique the typologies of the patrol officer

Critique the "typologies of the patrol officer" as discussed in your assigned reading. Be sure to address attributes of each typology. Assess random, directed, and directed aggressive patrols. Outline in what way these initiatives influence current p..

  Personal leadership statement

How would you define a good leader as opposed to a good manager, class? Are they always necessarily the same? Think of it in terms of if you were writing a personal leadership statement.

  Procedural and declarative knowledge

Need an illustration of procedural knowledge and of declarative knowledge.

  Reasons for policy termination

What are some of the reasons for policy termination? What are some of the roadblocks to policy termination? How might these roadblocks be minimized?

  Importance of networking for a person''s career development

Discuss the importance of networking for a person's career development. Please cite the url or references used for class discussion and answer in 140 words or less.

  Long term effects of prescription drugs

What are some of the long term effects of prescription drugs? Discuss the what's beneficial about them. Also, discuss what non benefits are in evidence in the area of prescription drugs.

  Explain interaction of hazardous materials involved incident

Research the 1976 highway accident in Houston, Texas involving anhydrous ammonia. Explain the interactions of hazardous materials involved in incident and kind of mitigation required.

  Essay reflecting on experience and communication style

Assistance with an essay reflecting on experience and communication style. Discuss how you can leverage your strengths and improve upon your communication skills to become a better leader.

  Important factor in political socialization

The most important factor in political socialization for the American public is

  Issues-challenges between middle ages and french revolution

Write down five issues or challenges between Middle Ages and French Revolution which will shed light on contemporary problem faced by society today?

  Use of the incident command system

Why is use of the Incident Command System important? What are the most important lessons learned when local, state, and federal agencies all respond to the same incident?

  Gender differences of motivation

Analyze and evaluate gender differences of motivation. Compare and contrast 2 or 3 motivational theories needed to promote a balance between men and women in the public sector.

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