clink on this code: using System; public class HelloWorld { public static void Main(string[] args) { for (int i = 1; i <= 5; i++) { for (int j = i; j <=5; j++) { Console.Write(" "); } for (int k = 1; k <= i; k++) { Console.Write("*"); } ...
CODE: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CP_Methods_paractise { class Program { public static void circle(double rad) { double area = Math.PI * Math.Pow(rad, 2); Console.WriteLine("The Area Of Circle Is:{0}",area); } public static void Square(double Len) { double area = Math.Pow(Len, 2); Console.WriteLine("The Area Of Square Is:{0}", area); } public static void Rectangle(double reclen,double wid) { double area = reclen * wid; ...
CODE: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CP_Methods_paractise { class Program { public static void addition(double num1, double num2) { double result = num1 + num2; Console.WriteLine("Addition of Numbers:{0}",result); } public static void Substruction(double num1, double num2) { double result = num1 - num2; Console.WriteLine("Substruction of Numbers:{0}", result); } public static void Multiplication(double num1, double num2) { double resu...
Comments
Post a Comment