I. Project objective:
This project is an opportunity for you to practice your knowledge in Java. It will allow you to develop your skills of working within a team, thanks to your interaction with your colleagues in designing and creating a small program.
II. Project Description:
The Saudi Heart Association recommends that no more than 30 percent of a person’s daily calories come from fat. Each gram of fat is 9 calories. Given the grams of fat and the number of calories in a food item, we can calculate the percentage of calories that comes from fat for that food item as follows:
Fact calculate percent = * 100
III. Project Phase 2 questions:
In this project, you are requested to
(fatCalPercent)
of calories from fat (value of fatCalPercent)
IV: Run your program at least 3 times. An example of test data is given in table 1.
Item | Grams of fat | Calories |
Tuna | 1 | 60 |
Beef | 7 | 200 |
V8 Juice | 0 | 35 |
Table 1: example of test data
Your output should be similar to the result in figure 2.
Figure 2: example of output
IV. Marking Criteria
Criteria | Marks |
The program is bugs-free | /5 |
The source code is well documented (commented) and program uses standard Java naming conventions | /5 |
Question 1,2,3,4,5 and 6 | /10 |
Question 7 | /10 |
Question 8 and 9 | /10 |
Output screenshots provided in the report | /10 |
Total | /50 |
Final Grade | /5 |
Answer
Provide a brief description of your program in this section.
Put the code of your program in this section. Do not forget to document (comment) your code.
Put the different screenshots with a brief description in this section.
Provide a brief description of difficulties and challenges faced during this phase of the project.
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.
Read moreEach paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.
Read moreThanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.
Read moreYour email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.
Read moreBy sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.
Read more