- 1 100 Points 5 Min Challenge Write A Following 10 Programs And Record Them To See If You Can Complete Each Within 5 Min 1 (38.97 KiB) Viewed 32 times
1 100 points 5-min challenge Write a following 10 programs and record them to see if you can complete each within 5 min.
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
1 100 points 5-min challenge Write a following 10 programs and record them to see if you can complete each within 5 min.
1 100 points 5-min challenge Write a following 10 programs and record them to see if you can complete each within 5 min. 1. Print out from 100 to 1 on the screen. 2. Create a 5 x 5 array that has 2-digit 25 random integers and print out in 5 x 5 table like below. 22 33 78 29 95 22 33 78 29 55 22 33 78 29 95 3. Turn on the "Door Light" and turn off the "GarageLight". a. Include the following class in your code. b. Your output could be: File name class Light { boolean ison; Door Light--- Light on? true Garage Light- Light on? false void turnon() { ison = true; System.out.println("Light on? + ison); } } void turnoff() { ison = false; System.out.println("Light on?+ ison); J1_09_11 ~13.java, .png and your links