You are the owner of the Body and Soul Exercise Spa. You need a program to...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
You are the owner of the Body and Soul Exercise Spa. You need a program to calculate the membership fees for each new customer. Fee will be based on the number of months the customer enrolls. Program Specifications: Create a folder named Nested If Program 01. Save the Java file as Membership. a. b. Input consist of the customer's number, name, and months enrolled. It will be entered from the keyboard. Sample input data is illustrated on the next page. This program will process one record and only one record at a time. The membership cost of the spa is calculated as following: If the customer enrolls for 12 months or less, the spa charges $30 per month, $25 per month if you enroll for more than 12 months or 24 months or less, and $20 per month if you enrolled for more than 24 с. months. d. The output will consist customer's number, name, months enrolled, the monthly fee, and the total fee for the entire membership period. Display the fees with a dollar sign. The business name should be printed before the data. The data displayed on the screen should be written on separate lines with a column heading identifying the data. There should be blank lines between the input data and the output data that is displayed on the screen. You decided on the appropriate data types and variable names. Named constants must be used in the program. This program should contain only one nested if statement. e. You are the owner of the Body and Soul Exercise Spa. You need a program to calculate the membership fees for each new customer. Fee will be based on the number of months the customer enrolls. Program Specifications: Create a folder named Nested If Program 01. Save the Java file as Membership. a. b. Input consist of the customer's number, name, and months enrolled. It will be entered from the keyboard. Sample input data is illustrated on the next page. This program will process one record and only one record at a time. The membership cost of the spa is calculated as following: If the customer enrolls for 12 months or less, the spa charges $30 per month, $25 per month if you enroll for more than 12 months or 24 months or less, and $20 per month if you enrolled for more than 24 с. months. d. The output will consist customer's number, name, months enrolled, the monthly fee, and the total fee for the entire membership period. Display the fees with a dollar sign. The business name should be printed before the data. The data displayed on the screen should be written on separate lines with a column heading identifying the data. There should be blank lines between the input data and the output data that is displayed on the screen. You decided on the appropriate data types and variable names. Named constants must be used in the program. This program should contain only one nested if statement. e.
Expert Answer:
Answer rating: 100% (QA)
Answer Form1cs using System using SystemGlobalization using SystemWindowsForms namespace Membershipfeecalculator public partial class Form1 Form int monthlyFee public Form1 InitializeComponent private ... View the full answer
Related Book For
Accounting concepts and applications
ISBN: 978-0538745482
11th Edition
Authors: Albrecht Stice, Stice Swain
Posted Date:
Students also viewed these accounting questions
-
You are the owner of Automated Systems, Inc., which sells Apple computers and related data processing equipment. You are currently trying to decide whether to continue selling the Apple computer line...
-
You are the owner of a local department store in a small town. Many of your employees have worked for your company for years, and you know them and their families very well. Because your business is...
-
You are the owner of a small firm that manufactures lawn mowers. While using one of your products, a person suffers severe injury and now is suing, claiming that your product was negligently designed...
-
In view of the information provided below provide suggestions for the efficient management of trade debtors. INFORMATION MANAGEMENT OF TRADE DEBTORS Debtor management is central to the effective cash...
-
During 2016, Zora Corporation completed the following transactions: Jan. 1 Traded in old office equipment with book value of $60,000 (cost of $129,000 and accumulated depreciation of $69,000) for new...
-
The IR spectrum, 13C NMR spectrum, and 1HNMR spectrum of an unknown compound (C6H8O3) appear next. Determine the structure, and show how it is consistent with the spectra. wavelength (um) 5 5.5 6 710...
-
Calculate the median for each of the following sets of data: a. 3, 4, 6, 7, 10 b. 14, 16, 19, 21, 22, 27, 36 c. 6, 6, 9, 9, 9, 10, 13, 16, 16, 21, 24 d. 4, 2, 6, 3, 8, 3, 8 e. 27, 24, 35, 30, 41, 32,...
-
Sam Smith, owner and general manager of Campus Stationery Store, is concerned about the sales behavior of a scanner at the store. He understands that there may be many factors, which may help explain...
-
What are the actions taken by the Sprouts Farmers Market in measuring risk and ethical behavior?
-
A perishable dairy product is ordered daily at a particular supermarket. The product, which costs $1.19 per unit, sells for $1.65 per unit. If units are unsold at the end of the day, the supplier...
-
On the surface of Mercury, the gravitational field strength is 0.38 times its value on Earth. What would be the weight of a 1.20-kg hammer on the surface of Mercury?
-
Suppose a dentist is organized as a sole proprietorship. Last year, the dentist's total revenue was $320,000 and total costs were $250,000. The dentist left a job paying $112,00 a year to start the...
-
If inflation in the US is higher than in Japan, what will happen to the exchange rate between the US dollar and the Japanese yen?
-
According to Groom and Nass, why should robots be a source of moral concern? What are the main considerations for rethinking how robots can help humans, in your reasoned opinion? Evaluate and answer,...
-
in an opinion column on Wall Street diary, Princeton University economist Alan Blinder asks, "Is the Phillips curve dead?" Source: Alan S. Blinder, "Is the Phillips Curve Dead? And Other Questions...
-
Recall the 2009 Stimulus Package Success Application to answer the following question(s). Obama's stimulus package was implemented to help the economy recover from the recession. This package was...
-
Indicate the percentage of compensation that would be fixed base pay and the percentage allocated to variable pay-for-performance and explain why and what metric(s) you would use to pay for...
-
The following exercises are not grouped by type. Solve each equation. x610x -9
-
Why must all mixed costs be segregated into their fixed and variable components?
-
Assume Lenny Company manufactures specialized computer peripheral parts like speakers and modems. It is a new company that has been in operation for just two years. During those two years, Lennys...
-
What are the key ingredients of customer satisfaction?
-
Based on Exhibit 1, which statement is most likely correct? A . Company A has below-average liquidity risk. B . Company B has above-average solvency risk. C . Company A has made one or more...
-
Using the information presented in Exhibit 4, the quick ratio for SAP Group at 31 December 2017 is closest to: A . 1.00. B . 1.07. C . 1.17.
-
Using the information presented in Exhibit 14, the fi nancial leverage ratio for SAP Group at December 31, 2017 is c losest to: A . 1.50. B . 1.66. C . 2.00.
Study smarter with the SolutionInn App