Lab - Exp - 2 Computing Using Different Java Operators 1
Lab - Exp - 2 Computing Using Different Java Operators 1
CCS0023L
(Object Oriented Programming)
EXERCISE
2
Computing using Different Java Operators
TX21
Section:
Professor:
Doc Janice Abellana
I. PROGRAM OUTCOME/S (PO) ADRESSED BY THE LABORATORY EXERCISE
a. Apply knowledge of computing appropriate to the discipline.
V. EXPERIMENTAL PROCEDURE:
1. The user will input a Philippine amount, then the said amount will be converted to different currencies
namely: US Dollar, Euro, Yuan, Koruna, Krone, Sheqel and Dinar
Sample run:
Enter Philippine peso: 43.33089
2. Assuming total is a variable, how else could you express in code total = total +2?
_____You could also express the code total = total + 2 by using the code, total += 2.
______________________________________________________________________________
______________________________________________________________________________
________________________________________________________________________
Note: The following rubrics/metrics will be used to grade students’ output in the lab
Exercise 2.