0% found this document useful (0 votes)
9 views1 page

Evaluative Activity10D

Uploaded by

persona200800
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views1 page

Evaluative Activity10D

Uploaded by

persona200800
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

AREA: COMPUTER SCIENCE DATE:

TOPIC: Java GRADE: 10


TEACHER: Mr. Diego Tovar
STUDENT NAME:

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.

Exercise 1: Body Mass Index (BMI) Calculation

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:

Below are the application requirements:

• 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.

Exercise 2: Investment Calculator

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.

You might also like