Java, .NET, PHP, PYTHON, ANGULAR, ML, Data Science, Testing, CI Tutorials in Easy Languages.

"Best Software Training, Internship, Project Development center of Indore India, Helpline 780506-3968"

Assignment of C#:-

1)  WAP to reverse three-digit number without using Loop

2)  WAP  to calculate electricity bill where unit price and total consumption will be entered by the user.

3)  WAP to create a salary calculator where basic, ta, da, comm,pf, and noofleave will be entered by the users.

using System;

class SalaryCalc
    public static void Main()
          float basic=12000,ta=200,da=200,comm=300,pf=500,nl=2,asal=200;
          float tsal,gsal;
          Console.WriteLine("Gross Salary Is {0}",gsal);
          Console.WriteLine("Total Salary Is {0}",tsal);


4)  WAP to calculate Area of Circle and Area of Triangle.  

Post a Comment

If you have any doubt in programming or join online classes then you can contact us by comment .

Previous Post Next Post