Asignacin: usando el IF, hacer un programa que cumpla lo siguiente: 1 Write a program to...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Asignacin: usando el IF, hacer un programa que cumpla lo siguiente: 1 Write a program to calculate how much to tip a waiterperson based on the quality of service. The script file should ask for the amount of the check and whether the service was good, fair or poor. If the service was good, the tip should rvice wi be 20%. If the service was fair, the tip should be 15%.. If the service was poor, the tip should be 5%. The should program Check including the tip. display the tip and the total of the Asignacin: usando el IF, hacer un programa que cumpla lo siguiente: 1 Write a program to calculate how much to tip a waiterperson based on the quality of service. The script file should ask for the amount of the check and whether the service was good, fair or poor. If the service was good, the tip should rvice wi be 20%. If the service was fair, the tip should be 15%.. If the service was poor, the tip should be 5%. The should program Check including the tip. display the tip and the total of the
Expert Answer:
Related Book For
Financial Accounting
ISBN: 978-1259103285
5th Canadian edition
Authors: Robert Libby, Patricia Libby, Daniel Short, George Kanaan, M
Posted Date:
Students also viewed these programming questions
-
The Organizational Behavior course for the semester appeared to promise the opportunity to learn, enjoy, and practice some of the theories and principles in the textbook and class discussions....
-
Debbie plans to buy a house for cash instead of paying a mortgage. She is willing to set aside $12 000 at the end of each year for 15 years. She puts her savings in a Tax Free Savings Account (TFSA)...
-
1- Name two extinct organisms from different geological ages and explain why each probably became extinct. 2- Explain how each of the five major population characteristics shapes population dynamics....
-
The following information was taken from the statement of shareholders' equity of Kidd Sports as of December 31, 2012. The par value of Kidd stock is $1, and as of the beginning of 2012, the company...
-
A dicing system has a first cost of $\$ 68,000$ with a life of 8 years and a salvage value of probably not more than $\$ 9,000$. The corporate MARR is $14 \%$. If the system has a maintenance cost of...
-
Lets say your boss develops an EFE Matrix that includes 62 factors. How would you suggest reducing the number of factors to 20?
-
Wildhorse Manufacturing Company uses a job order cost system and keeps perpetual inventory records. June 1 Purchased raw materials for $24,400 on account. 8 Raw materials requisitioned by production:...
-
A national catalog and Internet retailer has three warehouses and three major distribution centers located around the country. Normally, items are shipped directly from the warehouses to the...
-
An electric current in a conductor varies with time according to the expression I(t) = 106 sin (150xt), where I is in amperes and t is in seconds. What is the total charge passing a given point in...
-
Assume that a monopolist sells a product with a total cost function: TC=1000 + 500Q + Q 2 The market demand curve is given by the equation: Q = 500 - 0.25P A. What price and quantity would be...
-
Let X and Y be two continuous random variables with the joint pdf f(x, y) = c if 0 x, y 1 and x + y 1, or 1x 0,0 y 1 and x+y 1 and zero otherwise. (1) Derive the constant c, using the defining...
-
Assume fixed cost = $20,000 and variable cost per unit = $7.50. At what price will the firm achieve break-even point if expected sales volume (in units) equals 10,000 units? At what price will the...
-
At the end of t years, the future value of an investment of $42,500 in an account that pays 12% compounded monthly is S=42,500 1 + 500 (1+0.12) 12 future value of the investment be more than...
-
Given that the weekly incomes of the accountants in an accounting firm at Botswana follows a normal distribution with a mean of 2,000 and a standard deviation of 500. 1) Calculate the probability of...
-
Project Outline This is an individual project for grade. The main aim of this project is to show an in depth understanding and application of marketing research concepts. We would like to see how...
-
Borrowing costs should be recognised as an expense and charged to the profit and loss account of the period in which they are incurred : A. If the borrowing costs relate to qualifying asset B. If the...
-
Bauer Performance Sports Ltd. is a leading developer and manufacturer of ice hockey, roller hockey, and lacrosse equipment as well as related apparel. The following information was reported in Note...
-
Sterling Steel Company purchased a new stamping machine at the beginning of the year at a cost of $ 580,000. The estimated residual value was $ 60,000. Assume that the estimated useful life was five...
-
Write the statement of earnings equation and define each element.
-
(a) In Figure 23.14, what is the direction of the force \(\sum \vec{F}^{E}\) exerted on a particle carrying a charge \(+q\) and placed at \(\mathrm{P}_{1}\) ? (b) How does \(\sum \vec{F}^{E}\) change...
-
A water droplet carrying a positive charge is released from rest in a uniform horizontal electric field near Earth's surface. The horizontal electric force is comparable in magnitude to the...
-
(a) What effect does the torque caused by the electric field have on the electric dipole in Figure 23.17? (b) Is the torque the same for every orientation of the molecule? Figure 23.17 Extended...
Study smarter with the SolutionInn App