// Making a function that will take a integer as argument and return print the code
void Print(int statuscode){
// starting the switch statement on the interger sent
switch(statuscode)
case 200: // for case 200
cout << "Ok,Fullfilled"<< endl;
case 403: // for case 403
cout << "Forbidden" << endl;
case 404: // for case 404
cout << "Not Found" <<endl;
case 500: // for case 500
cout << "Server Error "<< endl;
default: // default case
cout << " Wrong code"<<endl;
}