Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need Help On Assigment

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I have an assigment to do which is in Pscedo code and it has to be converted into java usin ann.easyio.Keyboard class for input and ann.easyio.Screen for output.

for i from 0 to 2
do
output "Enter the name of the employee"
set empName to input
output "Please enter details for " + empName

set runningTotal to 0

for j from 0 to 11
do
set tempTotal to 0
set numJobs to 0
Set amtCable to 0

output "Enter the number of Jobs"
set numJobs to input
output "Enter the amount of cable laid"
set amtCable to input

set tempTotal to (numJob * 100) + (amtCable * 2)
set runningTotal to runningTotal + tempTotal

output "In month " + empName + "earned " + tempTotal

endfor
output "Employee " + empName + "earned " + running Total

endfor

Cheers in advanced
 
What exactly is your question?

FYI no one here is going to do your assignment for you. We'd be happy to help you with a particular question or problem you have, however.
 
Ohhhh i dont want someone to do it all. I have never used this before & just dont know how to start the thing lol

Cheers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top