Java Codding

Description

1REPEAT

2 PROMPT nonRecyclableAmount

3 READ nonRecyclableAmount

4 IF nonRecyclableAmount < 0 ) THEN

5 PRINT “ERROR MESSAGE”

6 END IF

7UNTIL (nonRecyclableAmount > 0)

8REPEAT

9 PROMPT recyclableAmount

10 READ recyclableAmount

11 IF recyclableAmount < 0 ) THEN

12 PRINT “ERROR MESSAGE”

13 END IF

14UNTIL (recyclableAmount < 0 )

15

16DO 1 TO 4

17 PROMPT classStanding

18 READ classStanding

19 SET noOfStudentsEnrolled = -1

20 REPEAT

21 PROMPT noOfStudentsEnrolled

22 READ noOfStudentsEnrolled

23 IF noOfStudentsEnrolled < 0 THEN

24 PRINT “ERROR MESSAGE”

25 END IF

26 UNTIL (noOfStudentsRolled > 0 )

27

28 SET classNonRecyclableAmount = nonRecyclableAmount * noOfStudentsEnrolled

29 SET classRecyclableAmount = recyclableAmount * noOfStudentsEnrolled

30

31 SET totalNoOfSTudents += noOfStudentsEnrolled

32 PRINT classSummary

33END DO

34SET averageNonRecyclableAmount = totalNonRecyclableAmount / 4

35SET averageRecyclableAmount = totalRecyclableAmount / 4

have to convert this to java file. i already did the pseudo. ill provide the full prompt if you cant read it. my teacher gave me 100% with the pseudo, i just cant figure out the code to work

Need help with this assignment or a similar one? Place your order and leave the rest to our experts!

Quality Assured!

Always on Time

Done from Scratch.