+ 2
Hi! since your calculator needs at least two digits, entering from the user. and as you know, all input data from the keyboard is string data, for further use, you need to convert them to numeric values. numbers can be integers, natural numbers (int), and numbers with a fractional part (float). for greater versatility and accuracy of calculations, it is better to use float
29th Jan 2020, 5:17 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar