Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Main {
- public static void main(String[]args){
- for(int i = 0; i < 5; i++){
- System.out.println("The value of i is: " + i);
- }
- System.out.println();
- for(int j = 0; j < 5; j++){
- System.out.printf("The value of j is: %d\n" , j);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement