0% found this document useful (0 votes)
3 views

10.1 java_lecture32.pdf

The document outlines Homework #4, which requires the creation of an application that calculates a user's age in months based on their age and categorizes them as a child, teenager, adult, or senior citizen. Additionally, it specifies that the application should display a '*' for each year the user has been alive. The document also includes copyright information from the Institute of Computer Education Ltd.

Uploaded by

oanodocometa1997
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)
3 views

10.1 java_lecture32.pdf

The document outlines Homework #4, which requires the creation of an application that calculates a user's age in months based on their age and categorizes them as a child, teenager, adult, or senior citizen. Additionally, it specifies that the application should display a '*' for each year the user has been alive. The document also includes copyright information from the Institute of Computer Education Ltd.

Uploaded by

oanodocometa1997
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/ 3

Homework #4

An Application with
Decisions and Loops.

PRESENTED BY

Keith Vassallo icemalta.com


Homework 4
Create an application that, based on the age of the user (stored in a variable)
calculates the age in months and prints it, shows the user whether they are a
child, teenager, adult or senior citizen and displays a ‘*’ for every year they
have been alive.

icemalta.com
© 2011-2017 Institute of Computer Education Ltd.

The contents of this document are copyright to the Institute of Computer Education Ltd, unless otherwise stated, and must not be reproduced without permission.

Every effort has been made to trace all of the copyright holders, but if any have been inadvertently overlooked the Institute of Computer Education Ltd. will be pleased to make the necessary arrangements at the first
opportunity. Please contact us directly. While the Institute of Computer Education Ltd. has taken all reasonable care in the preparation of this work, the Institute of Computer Education Ltd. makes no representation,
express or implied, with regard to the accuracy of the information contained in this work and cannot accept any legal responsibility or liability for any errors or omissions from the work or the consequences thereof.
The reader assumes sole responsibility for the selection of these materials to achieve its intended results. Products and services that are referred to in this work may be either trademarks and/or registered
trademarks of their respective owners. The editors and author/s make no claim to these trademarks. icemalta.com

You might also like