Simple C++ Program

This is a simple program that compares two numbers in C++.

// Number Comparison by Kanishka Verose #include <iostream> #include <string> #include "pch.h" using namespace std; int main() { int num1, num2; //Ask for Numbers cout << "What is #1?: \n"; cin >> num1; cout << "What is #2?: \n"; cin >> num2; // Compare Numbers if (1 > 2) { cout << "#1 is bigger, #2 is smaller. \n"; } else if (2 > 1) { cout << "#2 is bigger, #1 is smaller. \n"; } return 0; }
1