Skip to content

Instantly share code, notes, and snippets.

@Baekjoon
Created May 17, 2015 12:25
Show Gist options
  • Save Baekjoon/ef8fa8fe96ae86ee26ad to your computer and use it in GitHub Desktop.
Save Baekjoon/ef8fa8fe96ae86ee26ad to your computer and use it in GitHub Desktop.
4.cpp
#include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a + b == c) {
cout << "a+b == c";
} else {
cout << "a+b != c";
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment