Creating A Calculator
Lesson 9Author : GOUP
Last Updated : September, 2020
Code
Console.Write("Enter num1: ");
double num1 = Convert.ToDouble(Console.ReadLine());
Console.Write("Enter num2: ");
double num2 = Convert.ToDouble(Console.ReadLine());
Console.WriteLine(num1 + num2);