Star Pyramid: * * * * * * * * * * * * * * * class Program { static void Main ( string [] args) { ...
Read More
WRITE A PROGRAM TO ARRANGE LETTERS IN ORDER
WRITE A PROGRAM TO ARRANGE LETTERS IN BELOW ORDER E D E C D E B C D E A B C D E class Program { static void Main ( string [] ...
Read More
Display ASTERISK (STAR) H
Star H: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *...
Read More
WRITE A PROGRAM TO ARRANGE NUMBERS IN ORDER
Write a Program to arrange numbers in below order 5 4 5 3 4 5 2 3 4 5 1 2 3 4 5 class Program { static void Main ( string [] ...
Read More
Write a Program to arrange numbers
Write a Program to arrange numbers in below order 1 2 3 4 5 6 7 8 9 10 using system ; class program { static void main () { int...
Read More
Write a Program to arrange numbers
Write a Program to arrange numbers in below order 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 using system ; class program { static void main () ...
Read More
Display Asterisk Pyramid
Display asterisk pyramid like this: * *** ***** ******* ********* int numberoflayer = 6 , Space, Number; Console.WriteL...
Read More
Display a Number Pyramid
Pyramid which looks like this: 1 121 12321 1234321 123454321 using System ; using System.Collections.Generic ; using Sys...
Read More
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 40 marks in any subject he/she is failure.
using System ; using System.Collections.Generic ; using System.Linq ; using System.Text ; namespace student { class Program { ...
Read More
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?
using System ; using System.Collections.Generic ; using System.Linq ; using System.Text ; namespace quadrant { class Program {...
Read More
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?
using System ; using System.Collections.Generic ; using System.Linq ; using System.Text ; namespace circle { class Program { ...
Read More
Write a c# program to find sum of digits in a given number.
using System ; using System.Collections.Generic ; using System.Linq ; using System.Text ; namespace sumdigits { class Program ...
Read More
Define a Method to reverse the given number.
using System ; using System.Collections.Generic ; using System.Linq ; using System.Text ; namespace reverse { class Program { ...
Read More
Define a method to find factorial of a Given Number.
using System ; using System.Collections.Generic ; using System.Linq ; using System.Text ; namespace factoriald { class Program ...
Read More
Define a Method To Find Sum Of Even Numbers Up To Given Limit.
using System ; using System.Collections.Generic ; using System.Linq ; using System.Text ; namespace Evensum { class Program { ...
Read More
Sample C# Interview Programs
Write a Simple Program to arrange numbers in below order 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 using system ; class program { static void main...
Read More
C# Program to Implement Arithmetic Operations using Delegates
This C# Program Implements Arithmetic Operations using Delegates. Here the delegate is a form of type-safe function pointer used by the .NET...
Read More
Subscribe to:
Posts (Atom)