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