CSIT111/811 Autumn Session 2020
Assignment #2
Total Mark: 10
Due by: Sunday 10th May 22:00
The purpose of this assignment is:
• Arithmetic operators and Math functions
• Classes and Objects
• Class members
• Constructors
Read the assignment specification carefully, and make sure that you follow whatever directed
in this assignment. In every assignment that you will submit in this subject, you must put the
following information in the header of your assignment:
/*——————————————————
Name:
Student number:
Email address:
Subject Code: CSIT111/811
Assignment number: 2
——————————————————-*/
Make sure that you include this information in every assignment file, otherwise it will not be
marked
Objective
This assignment requires you to create a program to calculate bank interests.
Upon completion of this assignment, you should be able to create programs using proper data
types, variables, arithmetic expressions and mathematical functions with classes and objects.
Background
You will create a program, named Bank.java, to calculate the final balance of a customer’s
accounts. The final balance of accounts is calculated using the compound interest formula as:
The post Arithmetic operators and Math functions appeared first on My Assignment Online.