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
Irina18 [472]
3 years ago
8

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!


DISPLAY (“Enter the hour of day (0-23)”)

hour <- INPUT ()
Computers and Technology
1 answer:
svet-max [94.6K]3 years ago
7 0

Answer:

IF hour >= 8 AND hour <= 15

     DISPLAY("Nice to see you!")

ELSE

    DISPLAY("It's time to go home!")

END IF

Explanation:

We check the value entered, and stored in the variable 'hour'.

If the value of 'hour' is greater or equal to 8, but lower or equal 15, we wish the student welcome.  Otherwise, we tell him to go home.  Then end of the IF structure.

This fragment of code would be placed below the one provided in the question statement.

You might be interested in
Given the char * variables name1, name2, and name3, write a fragment of code that assigns the largest value to the variable max
Assoli18 [71]

Answer:

The following code as follows:

Code:

max=name1;   //define variable max that holds name1 variable value.

if (strcmp(name2, max)>0)  //if block.

{

   max=name2;  //assign value to max.

}

if (strcmp(name3,max)>0)   //if block.

{

  max=name3; //assign value to max.

}

Explanation:

In the above code, we define a variable that is max. The data type of max variable is the same as variables "name1, name2, and name3" that is "char". In the max variable, we assign the value of the name1 variable and use if block statement two times. In if block, we use strcmp() function that can be defined as:

  • In first if block we pass two variables in strcmp() function that is "name2 and max" that compare string value. If the name2 variable is greater then max variable value so, the max variable value is change by name2 variable that is "max=name2".
  • In second if block we pass two variables in strcmp() function that is "name3 and max" that compare string value. If the name3 variable is greater then max variable value so, the max variable value is change by name3 variable that is "max=name3".

4 0
3 years ago
____ is a form of software that includes a wide range of built-in functions for statistical, financial, logical, database, graph
Alex17521 [72]

Answer:

The answer is: Spreadsheet

3 0
3 years ago
Not all output display data for humans to read explain why​
Vadim26 [7]

Answer:

The eye has a very focused view that is optimised for perceiving movement.Human cannot see clearly outside an -5 degree cone of foveal vision.

8 0
2 years ago
How to convert binary number into decimal number​
Alecsey [184]

Answer:

Multiplying by 2

Explanation:

The binary num number to decimal conversion is made by making the sum of each binary digits multiplying by 2 with raised to the power of the positional notation of digits .

Hope it is helpful to you

6 0
3 years ago
Read 2 more answers
In an office 20 computers are on a network Sahil wants to connect his computer to a network so that he can participate in networ
aniked [119]

Answer:

Hope it helps dude the second paragraph is not part of your question but it's good to give information about the answer .

Explanation:

He should use lan network.

A local area network (LAN) is a group of computers and associated devices that share a common communications line or wireless link and typically share the resources of a single processor or server within a small geographic area (for example, within an office building). Usually, the server has applications and data storage that are shared in common by multiple computer users. A local area network may serve as few as two or three users (for example, in a home network) or as many as thousands of users (for example, in an FDDI network).

6 0
3 years ago
Other questions:
  • 10.Find the first ICMP Echo Request message that was sent by your computer after you changed the Packet Size in pingplotter to b
    8·1 answer
  • How do media and networks interact
    11·1 answer
  • What kind of website uses keywords to locate content?
    15·1 answer
  • HELP ME PLZ QUICK Adam is writing a program that: 1) has the user guess a number, and 2) tells the user how many guesses it took
    11·1 answer
  • I'm looking for a new laptop for school. Which laptop would be the best. Right now I have a chromebook and it is broken. 
    12·2 answers
  • An audit trail is a record of how a transaction was handled from input through processing and output
    10·1 answer
  • What is the unit used to describe the intensity of sound?
    5·1 answer
  • Which is the best response to receiving a threating text from a classmate
    11·2 answers
  • On Edge; this assignment has been overdue for like three weeks because I DO NOT understand what to do, if you could help me that
    12·2 answers
  • While you are working on your computer, it shuts down unexpectedly, and you detect a burning smell. When you remove the case cov
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!