0% found this document useful (0 votes)
13 views1 page

Hawar Safar Mheaden2

The document contains a C# program written by student Hawae Safar Mheaden that evaluates a user's input score. Based on the score entered, the program categorizes the result into different performance levels such as 'fail', 'approved', 'intermediate', 'good', 'very good', and 'excellent'. The program uses conditional statements to determine the appropriate output based on the input score range.

Uploaded by

saifgoran037
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views1 page

Hawar Safar Mheaden2

The document contains a C# program written by student Hawae Safar Mheaden that evaluates a user's input score. Based on the score entered, the program categorizes the result into different performance levels such as 'fail', 'approved', 'intermediate', 'good', 'very good', and 'excellent'. The program uses conditional statements to determine the appropriate output based on the input score range.

Uploaded by

saifgoran037
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Home work : programing student:hawae safar mheaden

It

namespace hawar safar


{
class Program
{
static void Main(string[] args)
{int x;
Console.WriteLine("enter your resolt");
x = int.Parse(Console.ReadLine());
if (x >= 0 && x <= 49)
{ Console.WriteLine("faild"); }
if (x>= 50 && x<=59)
Console.WriteLine("approved");
if (x>= 60 && x<=69)
Console.WriteLine("intermidate");
if (x>= 70 && x<=79)
Console.WriteLine("good");

if (x>= 80 && x<=89)


Console.WriteLine("very good");
if (x>= 90 && x<=99)
Console.WriteLine("excellent");
Console.ReadKey();

}
}
}

You might also like