HTTP status codes
Sign in to test your solution.
// HTTP status codes program
using System;
class Submission
{
// -------------------------
// Subprograms
// -------------------------
static string HttpStatus(int status)
{
}
// -------------------------
// Main program
// -------------------------
public static void Main(string[] args)
{
Console.WriteLine("Enter the status code:");
int code = Convert.ToInt32(Console.ReadLine());
Console.WriteLine(HttpStatus(code));
}
}
You can submit as many times as you like. Only your latest submission will be taken into account.
Sign in to test your solution.