![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 25.06.2021 18:30 littlebirdd987
HTTP is the protocol that governs communications between web servers and web clients (i. e. browsers). Part of the protocol includes 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: C++
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.
I'm getting an error on this.
This is my code:
cout << "Enter a status";
cin >> status;
switch (status)
{
case 200:
break;
case 403:
break;
case 404:
break;
case 500:
break;
}
![ansver](/tpl/images/cats/User.png)
Answers: 2
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 11:00
Eva has many contacts on the professional networking site she uses which contacts are considered second degree
Answers: 3
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 22:00
During physical science class ben and jerry connected three identical lightbulbs in parallel to a battery where happens when ben removes one of the lightbulbs from itβs socket
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 11:30
Which excel file extension stores automated steps for repetitive tasks?
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 20:50
3.11.3 quiz: comparing and analyzing function typesquestion 4 of 102 pointswhat can you say about the y-values of the two functions f(x) = 3x2-3 andg(x)=2* - 3?
Answers: 2
You know the right answer?
HTTP is the protocol that governs communications between web servers and web clients (i. e. browsers...
Questions
![question](/tpl/images/cats/mat.png)
Mathematics, 15.10.2020 04:01
![question](/tpl/images/cats/en.png)
English, 15.10.2020 04:01
![question](/tpl/images/cats/ap.png)
Advanced Placement (AP), 15.10.2020 04:01
![question](/tpl/images/cats/himiya.png)
Chemistry, 15.10.2020 04:01
![question](/tpl/images/cats/mat.png)
Mathematics, 15.10.2020 04:01
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 15.10.2020 04:01
![question](/tpl/images/cats/himiya.png)
Chemistry, 15.10.2020 04:01
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 15.10.2020 04:01
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 15.10.2020 04:01
![question](/tpl/images/cats/istoriya.png)
History, 15.10.2020 04:01
![question](/tpl/images/cats/health.png)
Health, 15.10.2020 04:01
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 15.10.2020 04:01
![question](/tpl/images/cats/geografiya.png)
![question](/tpl/images/cats/himiya.png)
Chemistry, 15.10.2020 04:01