Learn Java Easy. Chapter 7 Exercises
Chapter 7 Exercises Chapter 7 Exercises Exercise 1. Create an array that contains the numbers from 0 to 9. Then make them display on the screen in reverse order. Solution: public class Main { public static void main(String[] args) { int a[] = new int[10]; for (int i=0;i<=9;i++) { a[i] = i; } for (int … Read more