The document outlines a C# program that demonstrates the use of if-else ladder and switch statement to evaluate grades. It prompts the user to enter a grade and provides feedback based on the input using both control structures. The program handles valid grades (A, B, C, D, F) and includes a response for invalid inputs.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
3 views2 pages
Ex 4 Roll4
The document outlines a C# program that demonstrates the use of if-else ladder and switch statement to evaluate grades. It prompts the user to enter a grade and provides feedback based on the input using both control structures. The program handles valid grades (A, B, C, D, F) and includes a response for invalid inputs.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2
Marwadi University
Faculty of Diploma Studies
Department of Information and Communication Technology Subject:.NET Aim: Write a C# code to demonstrate the concept of if else (09CT1502) ladder andswitch statement. Experiment No: 4 Date: Enrolment No:92200957012