1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
liq [111]
4 years ago
11

Write a switch statement that checks nextChoice. If 0, print "Rock". If 1, print "Paper". If 2, print "Scissors". For any other

value, print "Unknown". End with newline.

Computers and Technology
2 answers:
notsponge [240]4 years ago
6 0

by using switch case

switch(nextChoice){

       case 0: cout<<"Rock"; break;

       case 1: cout<<"Paper"; break;

       case 2: cout<<"Scissors"; break;

       default: cout<<"Unknown"; break;

}

kozerog [31]4 years ago
3 0

Answer:

case 0:

           System.out.println("Rock");

           break;

       

        case 1:

           System.out.println("Paper");

           break;

       

        case 2:

           System.out.println("Scissors");

           break;

           

        default:

           System.out.println("Unknown");

           break;

       

     }

Explanation:

You might be interested in
Which processor is better for madvr
nadya68 [22]

Answer:

The i5.

Explanation:

It has a lower clock speed, but you do note that you have more cores, same with the cache memory.

8 0
4 years ago
To permit electrical energy to be sent over long distances at high voltage, then reduced to a lower voltage for everyday use, wh
AVprozaik [17]
High-voltage direct current
7 0
3 years ago
Read 2 more answers
What is the part of a file, the .pptx, or .txt etc called?
Lunna [17]
It is called the file extension or filename extension. It is a suffix that indicates the file format.
7 0
4 years ago
Read 2 more answers
Which option helps you adjust column width to match the text?
torisob [31]
<span>auto-fit is the answer perhaps</span>
7 0
3 years ago
What Is Cold Messaging?
IceJOKER [234]

Answer:

Cold messaging is sending prospects messages when they are not primed to listen to you. It’s like sending messages to people who, with a little effort, can turn into your potential clients eventually.

Explanation:

However, there is a very thin line between cold messaging and spamming. The only difference is the target audience. A right cold messaging strategy means sending the right messages to the right people. While spamming means hitting up every profile that comes into the way.

8 0
3 years ago
Other questions:
  • You need to put cabling for connecting two new computers in a room, which did not have any network infrastructure. Because of th
    9·2 answers
  • __________________ fonts use binary code to define each pixel of the letter to be displayed.
    8·1 answer
  • When driving a truck is fuel crucial
    9·1 answer
  • Which of the following would be a show stopper for the development of an enterprise mobile app? The app demands data throughput
    11·1 answer
  • What is the value stored at x, given the statements:
    11·1 answer
  • Write a C++ program that would take 10 integers and outputs mean, median, and range. Create at least three functions: one for so
    7·1 answer
  • 2. How is accessing the Internet through a home network and public Wi-Fi similar?​
    15·1 answer
  • Your company is planning to storage log data, crash dump files, and other diagnostic data for Azure VMs in Azure. The company ha
    12·1 answer
  • nder a Huffman encoding ofnsymbols with frequenciesf1, f2, . . . , fn, what is the longest a codewordcould possibly be
    13·1 answer
  • Who plays Counter blox or counter strike
    7·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!