Comp 111 Project

1-  You should read the projects bellow and decide which project you want, and then send your preferences to your instructor before 4/5/2014.

2-  Your instructor will publish the assigned projects in the website.

3-  You should start working on the project immediately and submit it by email on 11/5/2014 (3 points).

4-  Your instructor will discuss it with you in the same week and give you notes (if needed). (2 points).

5-  You will submit the complete final version of the project by email on 15/5/2014 (2 points).

6-  Your instructor will set a discussion date for each project to evaluate your final project (3 points).

GPA calculator: / Sara Alraqas
1.  Create (course) class that has three attributes course name, credit hours and the grade.
2.  The program should ask the user if this is the first semester in the college.
3.  Then ask the user how many courses she/he has this semester.
4.  After that the user should enter the course name , her/ his grade and the credit hours for each course.
5.  If this is not the first semester the program will ask the user about her / his GPA and credit hours in the last years to calculate the cumulative GPA.
6.  Finally the program should print the current semester courses with their information with the GPA and the cumulative GPA and display it to the user .
Visit this website for more information :
http://www.back2college.com/gpa.htm
diet program: / Alanoud Alsadoon
1.  Create (diet) class that has three attributes: maxBMI, minBMI, calories, and a diet program.
2.  Define 5 objects from this class: underweight, perfect, overweight and obese. (fill the data member).
3.  The program should ask the user about gender, age, height and weight to calculate BMI.
4.  After that it will calculate the perfect weight (range) for the user
5.  If the current weight is much more or less than the perfect weight the program should display a warning about that.
6.  The program should display the calories that the user need and suggest a diet for the user.
Visit this website for more information : https://www.nhlbi.nih.gov/guidelines/obesity/BMI/bmicalc.htm
Number systems converter / Mohra Aljadid
1-  The program should ask the user to enter a binary number
2-  Then the user should decide if she/he wants to display the result in decimal or hexadecimal.
3-  The program should calculate the number according to user’s choice.
4-  After the result displayed the program should ask the user if she/he want to calculate a new number, the user should enter (Y) for yes and (N) for no.
Visit this website for more information :
http://www.wikihow.com/Convert-from-Binary-to-Decimal
http://www.wikihow.com/Convert-Binary-to-Hexadecimal
Inheritance calculator: / Bayan Albahrany
1.  The program should start by asking the user some questions:
·  How much is the legacy?
·  What is the gender of the deceased?
·  Is the deceased’s father alive?
·  Is the deceased’s mother alive?
·  Was the deceased married?
·  How many wives he had?(only ask this question if the user answer the previous question with yes and he is a male)
·  Did the deceased have children?
·  How many daughters?
·  How many sons?
2.  After that it will calculate the inheritance as following
·  Father and mother take 1/6 of the legacy for each.
·  Spouse take 1/8 of the legacy and if they are more than one wife, they will share the 1/8 equally.
·  The rest of the legacy will give to the children; each girl will take half the amount that will be given to the boy.
3.  then the program should display the division of the legacy.
4.  after the result displayed the program should ask the user if she/he want to calculate a new inheritance, the user should enter (Y) for yes and (N) for no.