Free Games Forum
Free Games Games Forums Music Forums TV Forums

  Free Games Forum Home FORUM
HOME
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN
Rules & FAQ RULES / FAQ
REPORT SPAM

Free Games Forum: Game Technology: C++:
Help needed for my C++ Assignment

 

 


raggy
Newbie

Jun 17, 2005, 7:54 AM

Post #1 of 1 (467 views)
Shortcut
Help needed for my C++ Assignment Can't Post

Guys I need help for my C++ assignment n itz urgent, can somebody help me out????Can somebody do it n teach me by puttin in comments for the assignment?? N pls don't use classes or arrays..

Herez the question..

The Big Racket Tennis Club wants you to write a program to calculate the yearly dues for 10 members. The program should prompt the user for the membership type (either ‘I’ for individual or ‘F’ for family) and the number of years the person has been a member. Use a function Get_Member_Type() that prompts the user for the membership type, obtains the type from the user and returns the type to main(). Use a function Years() that prompts the user for the number of years they have been a member and returns that number to main().
Use a function Dues() to calculate the member’s dues. Pass the member type and number of years to the function. Calculate the dues as follows: if the person is a family member and has been a club member for more that three years, the dues are $2400. If the person is a family member and has been a club member for three years or less, the dues are $3000. If the person is an individual member and has been a club member for more than five years, the dues are $1500. If the person is an individual and has been a club member for less than five years, the dues are $1900. The function Dues() should return the dues to main().
Use a function Display_Member_Info() to display the type of membership, the number of years the person has been a member, and the dues, all of which should be passed to the function as arguments. Display your output in a creative way by using appropriate formatting.


 
 
 


Search for (options) Web Design by Web Ideas - Page loaded in: 0.12 s on (CGI/1.1)