While (condition) ( < > =< => = !+)
{
code block
<span>}
some think like this
</span>
Answer:
import java.util.Scanner;
public class num5 {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
System.out.println("Enter one the numbers - 1, 2, or 3.");
int num = in.nextInt();
switch (num){
case 1:
System.out.println("one");
break;
case 2:
System.out.println("two");
break;
case 3:
System.out.println("three");
break;
default:
System.out.println("Error");
}
}
}
Explanation:
- Using Java Programming Language
- User Scanner Class to prompt, receive and store user's input
- Use a switch statement with three cases as required by the question to output one, two or three
- Use the default statement to handle any other case
Answer:
Black is the absence of all light. Things appear black when they do not reflect or emit light. White is the presence of all colors of visible light. Objects appear white when they reflect or emit all wavelengths of visible light (or at least three wavelengths - Red, Blue and Green - in equal intensity).
Explanation:
Answer:
nah
Explanation:
is a lame game for lil kids