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

  Stress or emotional issues

What are some indications that may prompt an individual to consult a professional for assistance with stress or emotional issues?

  Adopted the reasonably foreseeable user rule

What standard of care applies to Able and Henderson's accounting work for Hambones, Inc.? Does Able and Henderson face any negligence liability to First State Bank or Sauce Supply in a state that has adopted the Ultramares rule? In a state that has a..

  Moral authority for respective traditions

The scriptures of Judaism, Christianity and Islam all claim to be revelations from a monotheistic God. Citing specific examples from the scriptures of each tradition,

  Explain Treatment program and incarceraton

Do you favor the treatment program, incarceraton? combination both? Determinate or interminate sentence explain why? What influence will sentence have on correction system?

  Noble silence” in the pali text means

“Noble Silence” in the pali text means “Ariyo tuõi bhave” ariyo means noble tuõi bhave means silence.In the Mahayana call tantari silence. Noble Silence means no talking or non-verbal communication of any kind. And noble silence is the foundation of ..

  Boundary issues in psychology

Write down some reasons that boundary issues are so difficult for individuals in the field of psychology?

  Correct sequence of group formation-according to the text

What is the correct sequence of group formation, according to the text?

  What are the ethical-moral-medical and psychological

What if these scientists and clinicians will be able to do this. What are the ethical, moral, medical, psychological, and financial implications of labelling a person's personality during childhood or diagnosing a mental disorder before the problem a..

  Explain utilitarianism society-conviction-inclinations

Do you believe we live in a Utilitarianism society? How does this line up with own ethical conviction and inclinations? Write down some problems.

  Communicate with one public

When you communicate with one public in an attempt to reach another public, the public with whom you are communicating is known as ________.

  Defining concept of state

Describe the meaning of politics and define the concept of state.

  Injection casting-rotational casting and spring casting

Identify all possible defects you observed in the castings given to your group.(Injection casting, rotational casting, spring casting) and Explain how each of these could be remedied.

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