Activity 2 –
Totaling using a 'for' loop
Write an applet that displays the total
of adding 1 + 2 + 3 + 4 + 5.
Use a for loop to implement your loop.
Discussion/Suggested solution to Activity 2
Back to content

RITSEC - Global Campus
Copyright ?1999 RITSEC- Middlesex University. All rights reserved.
webmaster@globalcampus.com.eg |