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!

Creating A Calculator

Lesson 13
Author : 🦒
Last Updated : November, 2017


Code

Copydouble num1, num2;

printf("num1: ");
scanf("%lf", &num1);

printf("num2: ");
scanf("%lf", &num2);

printf("%f", num1 + num2);