0% found this document useful (0 votes)
14 views11 pages

C# Problems

The document outlines 10 coding problems involving C# programs that perform tasks like printing positive numbers, finding the largest of three numbers, changing character case, checking number parity, comparing dates, grading students, printing day names, reversing strings, and calculating factorials.

Uploaded by

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

C# Problems

The document outlines 10 coding problems involving C# programs that perform tasks like printing positive numbers, finding the largest of three numbers, changing character case, checking number parity, comparing dates, grading students, printing day names, reversing strings, and calculating factorials.

Uploaded by

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

C# Problems

Problem 1:

Create a C# Program to print positive number entered by


the user. If the user enters a negative number, it is
skipped
Problem 2:

Create a C# Program to Find the Largest Number Among


Three Numbers.
Problem 3:

Create a C# program to change the case of entered


character:
Problem 4

Create a C# program that checks whether an integer is


positive or negative.
Problem 5:

Create a C# Program to check whether entered number


is odd or even.
Problem 6

Create a C# program to compare two dates:


Problem 7:

Create a program that determines a student’s grade. The program will read three
types of grade (quiz, mid-term, and final grade) and determine the grade
based on the following rules:
• if the average grade >=90 => grade = A
• if the average grade >= 70 and <90 => grade=B
• if the average grade>=50% and <70 => grade=C
• if the average grade <50 => grade=F
Problem 8

Create a C# Program to print day name of week.


Problem 9

Create a program that will reverse a string inputted by the


user.
Problem 10

Create a C# program to find the factorial of a number

You might also like