Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion main.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#include <iostream>
#include <cmath>
#include <cstdint>

using std::endl;
using std::cin;
Expand All @@ -8,9 +9,11 @@ using std::cout;
int main()
{
cout << "THE FIRST EXAMPLE MATH DISPLAY!\n";
cout << "(Limited to whole numbers between -2,147,483,648 and 2,147,483,647)\n";
cout << "Hi, please enter two whole numbers: ";

int x,y;

int32_t x,y;

cin >> x >> y;
cout << "Addition: " << x + y << endl;
Expand Down