Skip to content

Instantly share code, notes, and snippets.

@g1ra
Created April 18, 2013 15:34
Show Gist options
  • Save g1ra/5413694 to your computer and use it in GitHub Desktop.
Save g1ra/5413694 to your computer and use it in GitHub Desktop.
return 0
// Copyright 2013 g1ra
//
// Everyone is permitted to copy and distribute verbatim or modified
// copies of this license document, and changing it is allowed as long
// as the name is changed.
//
// DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
// TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
//
// 0. You just DO WHAT THE FUCK YOU WANT TO!
#include <cstdlib>
#include <iostream>
int main() {
int x, y;
std::cout << "Please enter two numbers: ";
std::cin >> x >> y;
int sum = x + y;
std::cout << "Their sum is " << sum << std::endl;
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment