Creating A Calculator

Lesson 9
Author : Afrixi
Last Updated : November, 2017


C# - Programming Language
This course covers the basics of programming in C#. Work your way through the videos/articles and I'll teach you everything you need to know to start your programming journey!
Table of Content

Code

CopyConsole.Write("Enter num1: ");
double num1 = Convert.ToDouble(Console.ReadLine());

Console.Write("Enter num2: ");
double num2 = Convert.ToDouble(Console.ReadLine());

Console.WriteLine(num1 + num2);