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
Paul [167]
3 years ago
6

Create an interactive program to use class a LightsOut class to allow a user to play a game. Each step in the game will require

the state of the game to be displayed as ##'s and spaces in a grid, obviously get() will be used. Prompt and read input the row and column as shown below. If (0,0) is entered, exit the program. Use toggle() to update the state of the game.
If no command line parameter is given, use rand() to create the initial pattern. However, if a parameter is provided it should be interpreted as an integer and the lowest bit should determine the top-left (1,1) light. The next lowest bit represents the light to the right (1,2) and so on, wrapping to the next row, and ending in the bottom-right (5,5) with the 25th bit.

If all the lights are "out", instead of printing an empty grid, display the message "Congratulations!" and end the program.
Computers and Technology
1 answer:
expeople1 [14]3 years ago
8 0

Answer:

9+10=21

Explanation:

wyd boy

You might be interested in
Computers help eliminate that repetitive of manual task. How can this benefit you in in your overall career
andrezito [222]

Continuing advances in technology and automation will be eliminating repetitive work in the offices of the future.

Computer technology has had a tremendous impact upon workers. In some instances, the introduction of computers has improved member working conditions, but, in others, new technology has produced several detrimental effects.

Explanation:

  • One of the key trends to emerge was that automation, smart machines and artificial intelligence will conduct repetitive work, replacing the need for people to complete these tasks.
  • Instead of worrying about job losses, executives should be helping to reduce jobs in which AI and machine learning take over boring tasks, while humans spend more time with higher-level tasks.

Here are three ways eliminating repetitive work can boost productivity:

  1. <u> Reduce Dependency on Email and Spreadsheets  :</u> Automation tools such as mobile applications, customized portals and project management tools eliminate the time spent checking and responding to emails and updating spreadsheets to reflect work progress. With automated tools, managers and their teams can post progress or project information on an integrated mobile app.
  2.  <u>Reduce Mistakes and Injuries  </u>: The possibility of human errors, which take more time to correct, is virtually eliminated when tasks are automated. Leaving the monotonous tasks to machines reduces the chance of injuries and allows workers to keep working on more strategic tasks.
  3. <u> Free Employees Time for High-Level Skills</u>  :  Many of the employees who spend their time undertaking repetitive tasks could actually be better utilized on more complex tasks.

There are a variety of illnesses that may be caused by repetitive computer work :

  • Tendonitis : pain and swelling of tendons at the junction between the tendon and its muscle;
  • Epicondylitis: pain and swelling where the tendons and bone join around the elbow joint, etc
3 0
3 years ago
Read 2 more answers
As a computer science student, which career you will select and what do you predict about the future of that specific IT-Career.
miv72 [106K]

Answer:

A cyber security agent

Explanation:

That will mean protecting organizations from being hacked by other ethical hackers

4 0
3 years ago
How many people are in Siver, on the game Valorant?
german

Answer:

probably like more than 20

5 0
3 years ago
What is the simplest way to permanantly get rid of an unwanted file
UNO [17]
If on a computer, if thee computer says they put it in the recycling bin, the go to the recycling bin and right click and delete. If a paper, throw away. If other, do what your body desires to do.<span />
4 0
3 years ago
"what is the problem with using challenge handshake authentication protocol (chap) as an authentication protocol?"
Alexxandr [17]

Its use of the message digest 5 (MD5) hash algorithm for security.

CHAP uses a combination of MD5 hashing and a challenge-response mechanism, and authenticates without sending passwords as plaintext over the network. The security of the MD5 hash function is severely compromised.

5 0
3 years ago
Other questions:
  • What is the formula equivalent to the function =SUM(B1:B5)?
    11·2 answers
  • Being able to express your thoughts in an email is a primary technology skill. True or False
    8·2 answers
  • What is a Limited Purpose credit card
    11·2 answers
  • Im being timed please help!!
    7·2 answers
  • A disadvantage of a bus network is that _____. a. failure in one workstation necessarily affects other workstations on the netwo
    7·1 answer
  • Explain the history of computing of mechanical era
    14·2 answers
  • The CSS property of top , bottom , left , or right moves the element the specified distance from the respective edge of the clos
    7·1 answer
  • What is the first step that you have to perform before you can add a windows package to a wim file?
    9·1 answer
  • Compound conditions require a computer to sense whether multiple conditions are true or false.
    9·1 answer
  • Hiiiiiiiiiiiiiiiiii <br>i'm new here!!!​
    14·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!