Question: how do i get this loop to print backwards? So starting from 21 instead of 0. Java public class Main { public static void main(String[]
how do i get this loop to print backwards? So starting from 21 instead of 0. Java
public class Main { public static void main(String[] args) { for (int i = 0; i <= 21; i += 3) { System.out.println(i); } } }
also:
What values make this boolean equation evaluate to true?
!a || !b && !c && d
answers:
| 1) a = false, b = false, c = false, d = false |
| 2) a = true, b = false, c = false, d = false |
| 3) | a = true, b = true, c = true, d = false |
| 4) | a = false, b = false, c = false, d = true |
| 5) | a = true, b = true, c = true, d = false |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
