Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using namespace std;
- #include <iostream>
- /*
- * Name: [REDACTED]
- * Assignment: [REDACTED]
- * Date: [REDACTED]
- * Description: [REDACTED]
- */
- int main() {
- int x = 5;
- int y[25][54];
- cout << sizeof(y)/4.0;
- /*cout << "Please input an integer: " << endl;
- cin >> x;
- if (x < 0)
- cout << "True";
- if (x >= 0)
- cout << "False";*/
- cout << endl;
- cout << endl;
- cout << endl;
- system("Pause");
- /*int x;
- int y;
- bool z = 0;
- bool j = 1;
- cout << "z = " << z << endl;
- cout << "j = " << j << endl;
- for (int i = 3; i > 0; i--) {
- cout << "Enter an Integer: ";
- cin >> x;
- cout << "Enter Second Integer: ";
- cin >> y;
- if (x < 0)
- cout << "X is less than 0\t" << x;
- else if (x == 0)
- cout << "Special Case: x == 0";
- else if (x == 27)
- cout << "Special Case: x == 27";
- else if (x == 56 || y == 0)
- cout << "Special Case: x == 56, or y == 0";
- else
- cout << "Invalid";
- cout << endl << "End" << endl;
- system("Pause");*/
- //}
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement