Java Games: Flashcards, matching, concentration, and word search.

Arithmetic Using Integer and Single Variables

Use the following values to solve each expression:
sngA = 4.2, sngB = 10.5, sngC = 5.9
intX = 7, intY = 5, intZ = 10

AB
intZ \ sngCinvalid
sngC + sngB16.4
Int(sngC) + Int(sngB)15
Int(sngA + sngB)14
Int(sngC + sngB)16
intZ + sngB20.5
sngC / intZ.59
Int(sngA / 7)0
intX * intY35
intZ \ 52
intX Mod intZ7
intY \ Int(sngC)1
(intZ + intX) Mod intX3
sngC / (intZ Mod intY)undefined
sngA + Int(sngC)9.2
sngB / intY2.1
intY / Int(sngB).5
intX + intY12
intX + Int(sngA)11
Int(sngC) * intY25


Donna Ebeling

This activity was created by a Quia Web subscriber.
Learn more about Quia
Create your own activities