C# Sample Programs


1.Accept Simple Point from the keyboard and check whether it is a origin on x axis , on y axis or in 1st quadrant or in 2nd or in 3rd or in 4th quadrant where exactly the point can be?

Click Here to see the Code

2.Write a Simple Program to check whether the given point is on the surface of the circle or inside the circle or outside the circle?

Click here to see the code

3.Write a simple program to accept student number,name,marks of 3 subjects. Find the average,total and grade in each subject. And Print the total marks,avg, grade of the student , if he/she got less than 40marks in any subject he/she is failure. 

Click Here to see the Code

4.Write a c# program to find sum of digits in a given number.

Click Here to see the code


5.Define a Method to reverse the given number

Click Here to see the Code


6.Define a method to generate fibanacii series

Click Here to See the Code


7.Define a method to find sum of even numbers up to given limit

Click Here to see the Code


8.Define a method to find factorial of a Given Number

Click Here to see the Code
 

5 comments:

  1. Understate programs for beginners.Thank you...

    ReplyDelete
  2. thank you
    feeling good...awesome blog

    ReplyDelete
  3. Easy to understand for beginners.

    ReplyDelete