A program that uses the IO Library
This commit is contained in:
parent
e2f918f72f
commit
95550c9532
2 changed files with 12 additions and 0 deletions
BIN
io.library
Executable file
BIN
io.library
Executable file
Binary file not shown.
12
io.library.cpp
Normal file
12
io.library.cpp
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
#include <iostream>
|
||||||
|
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
std::cout << "Enter two numbers:" << std::endl;
|
||||||
|
int v1 = 0, v2 = 0;
|
||||||
|
std::cin >> v1 >> v2;
|
||||||
|
std::cout << "The sum of " << v1 << " and " << v2
|
||||||
|
<< " is " << v1 + v2 << std::endl;
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue