Evaluative Activity10D
Evaluative Activity10D
Grade Motto:
"I interiorize fundamental values and knowledge that allow me to control myself and
advance in my life plan.”
In pairs, create a java project in Netbeans and using basic java instructions, create a
program to solve each situation. Remember that each exercise must be in a different
class. You will be evaluated with a Rubric.
In a medical clinic, it is necessary to develop an application that allows for the calculation and
recording of the Body Mass Index (BMI) of patients as part of their health monitoring. BMI is a
measure commonly used to assess whether a person has a healthy weight in relation to their
height. BMI is calculated using the formula:
• The application must allow medical or administrative staff to enter patient information,
including their name, age, gender, weight (in kilograms), and height (in meters).
• The application must calculate the patient's BMI using the formula mentioned above.
Create a program that prompts the user for the number of books they wish to purchase at a
bookstore. The price of the books is 15€. If the user buys used books, they receive a 30%
discount on each book. The program should display the regular price per book, the discount
applied, and the total cost.