The application should ask the user to enter the customer name, the number of months for membership, and yes or no to indicate whether the customer receives a special offer or not.

computer science

Description

This assessment is designed to assess your understanding of variables, constants, types, operators, input/output, loops, if statements, classes, objects and functions.


Create a C# application that calculate and displays membership fees for N customers who registered for membership from a sport center based in Victoria, Australia. Declared a constant variable M to be equal to the largest digit of your student id number (e.g. if your student id is s3025423 then M should be equal to 5). Assume M=4, if the largest digit of your student id number is less than 4. The standard charges of membership are shown below


Specific Requirements 

 The application should ask the user to enter the customer name, the number of months for membership, and yes or no to indicate whether the customer receives a special offer or not. The special offer will give customers a 15% discount of the memship no matter how many months they register. 


 Assume that the number of month to be entered is an integer type with the range between 1 and 60. An error message should be issued if a user enters a value beyond this range and the re-entering is required. 


 The program makes a calculation of membership and displays the result as shown in the below figure. The program should be kept running with entering next set of input data.


Related Questions in computer science category


Disclaimer
The ready solutions purchased from Library are already used solutions. Please do not submit them directly as it may lead to plagiarism. Once paid, the solution file download link will be sent to your provided email. Please either use them for learning purpose or re-write them in your own language. In case if you haven't get the email, do let us know via chat support.