17 lines
317 B
C++
17 lines
317 B
C++
#include <iostream>
|
|
|
|
int main()
|
|
{
|
|
float firstNumber = 0;
|
|
float secondNumber = 0;
|
|
|
|
std::cout << "Enter the first number: ";
|
|
std::cin >> firstNumber;
|
|
|
|
std::cout << "Enter the second number: ";
|
|
std::cin >> secondNumber;
|
|
|
|
std::cout << firstNumber + secondNumber << std::endl;
|
|
|
|
return 0;
|
|
}
|