top of page
learn_data_science.jpg

Data Scientist Program

 

Free Online Data Science Training for Complete Beginners.
 


No prior coding knowledge required!

Writer's pictureRubash Mali

Basic Calculator Application

A simple calculator made using if else condition that performs 5 basic mathematic operation between two numbers( addition, subtraction, multiplication, division and modulus operation).

Firstly calculator function is defined with flag initialized as zero and user input a 7. This flag value allows user to exit while loop and the function itself.