INCREMENT and DECREMENT

CHEESE AND RICE, my brain is exploding, i get the math and stuff, but i cant just get the format of the way he wants it. please help, im not sure on how to display the <>=...

here are the instructions: https://docs.google.com/document/d/1FC3vmfdcOoHCGZ6LoEjvdlfLid0EEF7AUSu0e2JixJo/edit

#include <iostream>
#include <time.h>
using namespace std;
int main()
{
char response;
int num1;
int num2;
int decrementing;
int increment;

cout << " Please enter num1: " << endl;
cin >> num1;
cout << " Please enter num2: " << endl;
cin >> num2;
if (num1 > num2)
cout << num1 << num2 << endl;
cout << " now increment: " << num1 << endl;
if (num1 > num2)
cout << " after increment: " << num1 + 1 << endl;


cin >> response;
return 0;
}
Last edited on
Topic archived. No new replies allowed.