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
Kengan Ashura and Umbrella Academy are two of my fav shows on Netflix
Answer:
B Fraud because it's aganist the data valida
The computer software that should be installed on Rosanna's computer is application software.
The information regarding the application software is as follows:
- It is the software where the activity is to be performed.
- The example like a spreadsheet software, presentation software, database software, etc.
Therefore we can conclude that the computer software that should be installed on Rosanna's computer is application software.
Learn more about the software here: brainly.com/question/1022352
Answer:
The output is attached below
Explanation:
d = {}
while True:
line = input("Enter line: ")
if len(line)==0:
break
token = line.split(' ')
for var in token:
try:
if len(var)==0:
continue
count = d[var]
d[var] = count + 1
except KeyError:
d[var] = 1
pass
for word in sorted(d):
print(word , d[word])
------------------