Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

C# Building a Calculator

Console.Write("Enter a number: ");
            double  num1 = Convert.ToDouble(Console.ReadLine());
            Console.Write("Enter another number: ");
             double  num2 = Convert.ToDouble(Console.ReadLine());
            Console.WriteLine(num1 + num2); 
			Console.ReadLine();
Source by # #
 
PREVIOUS NEXT
Tagged: #Building #Calculator
ADD COMMENT
Topic
Name
2+1 =