I'm new to programming and I'm trying to create a simple calculator program where I can add two different double values with each other. But I'm having this problem:
Console.Write("First Number: ");
double number1 = Convert.ToDouble(Console.ReadLine());
Console.Write("Second Number: ");
double number2 = Convert.ToDouble(Console.ReadLine());
Console.WriteLine(number1 + number2);
For instance, let's say that I typed 10 and 2.5 I want the program to print out 12.5 but instead it prints out 35
-RESULT-