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
Dmitrij [34]
3 years ago
11

HTTP is the protocol that governs communications between web servers and web clients (i.e. browsers). Part of the protocol inclu

des a status code returned by the server to tell the browser the status of its most recent page request. Some of the codes and their meanings are listed below: 200, OK (fulfilled) 403, forbidden 404, not found 500, server error Given an int variable status, write a switch statement that prints out the appropriate label from the above list based on status.\
Computers and Technology
1 answer:
N76 [4]3 years ago
6 0

Answer and Explanation

In C programming, switch statements allows  a variable to be tested for equality against a list of values. The switch statements works by evaluating the expression and then executing all statements that follow the matching case label.

switch()status

{

case 200:

cout<<"OK(fulfilled)",

break;

case 403:

cout<<"forbidden";

break;

case 404:

cout<<not found";

break;

case 500:

cout<<"server error";

break;

}

You might be interested in
what happens when you double-click on a file with an extension that represents an executable program?
Vlada [557]

Answer:

it will execute the file

Explanation:

3 0
3 years ago
Which process refers to starting up a computer?<br> is the process of starting a computer.
Dennis_Churaev [7]

Answer: Boot Up or booting

Explanation:

6 0
4 years ago
Read 2 more answers
Please help me what is an example of a growing trend on social media
Marizza181 [45]

Answer:

B

Explanation:

8 0
3 years ago
Select the correct answers
Mashutka [201]

Answer:

Use a mixture of External and Internal Links....

Explanation:

8 0
3 years ago
Write an expression using Boolean operators that prints "Special number" if special_num is -99, 0, or 44.
gulaghasi [49]

Answer:

special_num = int(input())

if  special_num == -99 or special_num == 0 or special_num == 44:

   print('Special number')

else:

   print('Not special number')

Explanation:

#get input

special_num = int(input())

#if function to evaluate true or false(aka Boolean)

if  special_num == -99 or special_num == 0 or special_num == 44:

#true evaluation

print('Special number')

#false evaluation

print('Not special number')

8 0
3 years ago
Other questions:
  • Can i uninstall adobe lightroom 6 and reinstall
    13·1 answer
  • Write the HTML to create a hyperlink to the named fragment designated by “top”.
    10·1 answer
  • Explain and Define the four types of maintenance in IT?
    11·1 answer
  • If an app needs to perform a derived-class-specific operation on a derived class object reference by a base class variable, the
    9·1 answer
  • Secure Multipurpose Internet Mail Extensions builds on the encoding format of the MIME protocol and uses digital signatures base
    15·1 answer
  • Low-end CRM systems are designed for companies like Boeing because they only have a few, large customers.
    11·1 answer
  • Why transport layer is usingconnectionless services if network layer is providing connection oriented services?
    10·1 answer
  • Your sister is starting 9th grade next year and is thinking about going to college. What step would you recommend she take first
    7·2 answers
  • What is dialog box? ​
    7·1 answer
  • How to prepare and draw a corresponding flowchart to compute the sum and product of all prime numbers between 1 and 50
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!