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
Artyom0805 [142]
3 years ago
13

A pseudocode program is started below that asks the user for input and stores the value in a variable. Continue writing pseudoco

de to accomplish this task: If the hour is within the school day (8 to 15) then display “Nice to see you!”, Otherwise, display “It’s time to go home!
Computers and Technology
1 answer:
Oxana [17]3 years ago
5 0
Begin 
 input value,
int a =value;
if a >=8 Or a<=15;
cout<<"Nice to see you!";
else
cout<<"Its time to go home!";
return 0;
End


You might be interested in
Write a program that prints all the numbers from 0 to 6 except 3 and 6. Expected output: 0 1 2 4 5
stellarik [79]
<h2>Answer:</h2><h2></h2>

for x in range(7):

   if (x == 3 or x==6):

       continue

   print(x, end=' ')

print("\n")

<h2>Output:</h2>

>> 0 1 2 4 5

<h2>Explanation:</h2><h2></h2>

The code above has been written in Python. The following explains each line of the code.

<em>Line 1:</em> for x in range(7):

The built-in function <em>range(7)</em>  generates integers between 0 and 7. 0 is included but not 7. i.e 0 - 6.

The for loop then iterates over the sequence of number being generated by the range() function. At each iteration, the value of x equals the number at that iteration. i.e

For the first iteration, x = 0

For the second iteration, x = 1

For the third iteration, x = 2 and so on up to x = 6 (since the last number, 7, is not included).

<em>Line 2:</em> if (x == 3 or x == 6):

This line checks for the value of x at each iteration. if the value of x is 3 or 6, then the next line, line 3 is executed.

<em>Line 3:</em> continue

The <em>continue</em> keyword is used to skip an iteration in a loop. In other words, when the continue statement is encountered in a loop, the loop skips to the next iteration without executing expressions that follow the <em>continue</em> statement in that iteration. In this case, the <em>print(x, end=' ')  </em>in line 4 will not be executed when x is 3 or 6. That means 3 and 6 will not be printed.

<em>Line 4:</em> print(x, end=' ')

This line prints the value of x at each iteration(loop) and then followed by a single space. i.e 0 1 2 ... will be printed. Bear in mind that 3 and 6 will not be printed though.

<em>Line 5:</em> print("\n")

This line will be printed after the loop has finished execution. This line prints a new line character.

8 0
4 years ago
Define Auxiliary memory?​
andrew-mc [135]

Answer:

An Auxiliary memory is referred to as the lowest-cost, highest-space, and slowest-approach storage in a computer system. It is where programs and information are preserved for long-term storage or when not in direct use. The most typical auxiliary memory devices used in computer systems are magnetic disks and tapes. :)

5 0
3 years ago
Read 2 more answers
A distortion of information about the demand for a product as it passes from one entity to the next across the supply chain is c
Rina8888 [55]

Answer:

The answer is "bullwhip".

Explanation:

It is an effect, that exists as a consumer, which has highly unstable to demand and, also, increases perceptions around. It also enables you to defines the System design to have a ripple effect.

  • The purpose of that kind of document is to offer an imaginative analysis of the fiction, complemented by simulations to make the situation more readable.
  • It is a large stock variation, that is triggered specifically by alterations throughout the production of the customers.
8 0
3 years ago
How many different bit strings are there of length 8 that contain the string 0000?
Nataly_w [17]

Answer:

answer is 8! / (4! * 4!). Which gives a value of 70.

Explanation:

we have 8 places, we’re going to pick 4 places to put the zeros, it is 8! / (4! x 4!)

3 0
2 years ago
A technician has been tasked with limiting the users who can connect to a network printer located centrally within an office env
-Dominant- [34]

Answer:

B. ACL

Explanation:

Based on the information provided within the question it can be said that the best tool in this scenario would be an ACL. This tool allows you and chosen users to connect to specific data sources. Therefore the technician can use this tool along with a user report in order to choose the users that will be able to access the data source that in this scenario would be the network printer.

3 0
3 years ago
Other questions:
  • Marisol manages the online advertising campaigns for a chain of toy stores with both a physical and an online presence. Which Go
    7·1 answer
  • List the different generation of computers with its main component​
    8·1 answer
  • In the lab, the Ethernet II detail of the provided packet capture file indicated that Wireshark had determined that the ________
    5·1 answer
  • Windows doesn't have a network profile for this device printer
    15·1 answer
  • A network administrator manages a network with 75 servers. At least twenty of those servers are approaching end of life but the
    8·1 answer
  • Stored information about a previous visit to a web site is called information _____.
    10·1 answer
  • Nonword passwords are vulnerable to a ________ attack in which the password cracker tries every possible combination of characte
    9·2 answers
  • A teacher wants to check the typing proficiency of five students. She gives all of them the same passage to type. Which student
    11·1 answer
  • What is a key differentiator of Conversational AI? It implements Natural Language Understanding (NLU) and other human-like behav
    12·1 answer
  • Which of the following was the primary purpose of muckraking, sensationalism, and yellow journalism in the early 1900s?
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!