Imgflip Logo Icon
#include <iostream>
using namespace std;
int main() {
    int x = 0;
    int y = 0;
    int z = 0;
    cout << "Type the numbers to get your answer\nDon't add a 0 before your number or else it'll detect no input or get your answer wrong\n";
    cout << "Type your first number: \n";
    cin >> x;
    cout << "Type your second number: \n";
    cin >> y;
    cout << "Type your third number[0 if you don't need one]: \n";
    cin >> z;
    if (x == 0 && y == 0 && z == 0) { 
    cout << "No input detected\n"; //Checks for an input
    } else if (((x == 0 && y == 0 && z != 0) || 
        (x == 0 && y != 0 && z == 0) || 
        (x != 0 && y == 0 && z == 0))) {
    cout << "Please type in at least 2 numbers\n"; //Checks if there are 2 or more inputs
    } else {
    int answer = x + y + z; //change operation if you want. * for multiplying, / for dividing, - for subtracting.
    cout << "\nYour answer is " << answer << "\n";}
    int yes = 0;
    cout << "Would you like to do another one?(1 or 0)\n";
    cin >> yes;
    if (yes == 1) {
        while(yes == 1) {//This is the part that loops
    cout << "Type your first number: \n";
    cin >> x;
    cout << "Type your second number: \n";
    cin >> y;
    cout << "Type your third number[0 if you don't need one]: \n";
    cin >> z;
    if (x == 0 && y == 0 && z == 0) { 
    cout << "No input detected\n"; //Checks for an input
    } else if (((x == 0 && y == 0 && z != 0) || 
        (x == 0 && y != 0 && z == 0) || 
        (x != 0 && y == 0 && z == 0))) {
    cout << "Please type in at least 2 numbers\n"; //Checks if there are 2 or more inputs
    } else {
    int answer = x + y + z; //change operation if you want. * for multiplying, / for dividing, - for subtracting.
    cout << "\nYour answer is " << answer << "\n";}
    cout << "Would you like to do another one?(1 or 0)\n";
    cin >> yes;
    if(yes == 0) {
        cout << "Ok.";
    }
        }
    } else {
        cout << "Ok.";
    }
    
} | made w/ Imgflip meme maker
53 views 2 upvotes Made by Morpeko 2 weeks ago in MS_memer_group
9 Comments
0 ups, 2w,
1 reply
qhat? | image tagged in qhat | made w/ Imgflip meme maker
0 ups, 2w
ENHANCE:
#include <iostream>
using namespace std;
int main() {
int x = 0;
int y = 0;
int z = 0;
cout << "Type the numbers to get your answer\nDon't add a 0 before your number or else it'll detect no input or get your answer wrong\n";
cout << "Type your first number: \n";
cin >> x;
cout << "Type your second number: \n";
cin >> y;
cout << "Type your third number[0 if you don't need one]: \n";
cin >> z;
if (x == 0 && y == 0 && z == 0) {
cout << "No input detected\n"; //Checks for an input
} else if (((x == 0 && y == 0 && z != 0) ||
(x == 0 && y != 0 && z == 0) ||
(x != 0 && y == 0 && z == 0))) {
cout << "Please type in at least 2 numbers\n"; //Checks if there are 2 or more inputs
} else {
int answer = x + y + z; //change operation if you want. * for multiplying, / for dividing, - for subtracting.
cout << "\nYour answer is " << answer << "\n";}
int yes = 0;
cout << "Would you like to do another one?(1 or 0)\n";
cin >> yes;
if (yes == 1) {
while(yes == 1) {//This is the part that loops
cout << "Type your first number: \n";
cin >> x;
cout << "Type your second number: \n";
cin >> y;
cout << "Type your third number[0 if you don't need one]: \n";
cin >> z;
if (x == 0 && y == 0 && z == 0) {
cout << "No input detected\n"; //Checks for an input
} else if (((x == 0 && y == 0 && z != 0) ||
(x == 0 && y != 0 && z == 0) ||
(x != 0 && y == 0 && z == 0))) {
cout << "Please type in at least 2 numbers\n"; //Checks if there are 2 or more inputs
} else {
int answer = x + y + z; //change operation if you want. * for multiplying, / for dividing, - for subtracting.
cout << "\nYour answer is " << answer << "\n";}
cout << "Would you like to do another one?(1 or 0)\n";
cin >> yes;
if(yes == 0) {
cout << "Ok.";
}
}
} else {
cout << "Ok.";
}

}
[deleted]
0 ups, 2w,
3 replies
F**k that, here’s an MSMG aesthetic list.
Tweakcore - the aesthetic where a person misspells words for funnies
Dawncore - the aesthetic where one is attracted to dogs. (Also called SRCcore or gjygcore)
Paulacore - an aesthetic where one catfishes as a certain gender
More is coming…
0 ups, 2w,
1 reply
iridiumcore
[deleted]
0 ups, 2w,
1 reply
The aesthetic where one likes to send dick pics to minors
0 ups, 2w
classic morpekocore
the aesthetic of raping everyone
0 ups, 2w
Morpekocore???????????????????????
weird random shit
0 ups, 2w,
1 reply
Getacore - the aesthetic where one is extremely homophobic most of the time
[deleted]
0 ups, 2w
That’s gonna be added
Created with the Imgflip Meme Generator
IMAGE DESCRIPTION:
#include <iostream> using namespace std; int main() { int x = 0; int y = 0; int z = 0; cout << "Type the numbers to get your answer\nDon't add a 0 before your number or else it'll detect no input or get your answer wrong\n"; cout << "Type your first number: \n"; cin >> x; cout << "Type your second number: \n"; cin >> y; cout << "Type your third number[0 if you don't need one]: \n"; cin >> z; if (x == 0 && y == 0 && z == 0) { cout << "No input detected\n"; //Checks for an input } else if (((x == 0 && y == 0 && z != 0) || (x == 0 && y != 0 && z == 0) || (x != 0 && y == 0 && z == 0))) { cout << "Please type in at least 2 numbers\n"; //Checks if there are 2 or more inputs } else { int answer = x + y + z; //change operation if you want. * for multiplying, / for dividing, - for subtracting. cout << "\nYour answer is " << answer << "\n";} int yes = 0; cout << "Would you like to do another one?(1 or 0)\n"; cin >> yes; if (yes == 1) { while(yes == 1) {//This is the part that loops cout << "Type your first number: \n"; cin >> x; cout << "Type your second number: \n"; cin >> y; cout << "Type your third number[0 if you don't need one]: \n"; cin >> z; if (x == 0 && y == 0 && z == 0) { cout << "No input detected\n"; //Checks for an input } else if (((x == 0 && y == 0 && z != 0) || (x == 0 && y != 0 && z == 0) || (x != 0 && y == 0 && z == 0))) { cout << "Please type in at least 2 numbers\n"; //Checks if there are 2 or more inputs } else { int answer = x + y + z; //change operation if you want. * for multiplying, / for dividing, - for subtracting. cout << "\nYour answer is " << answer << "\n";} cout << "Would you like to do another one?(1 or 0)\n"; cin >> yes; if(yes == 0) { cout << "Ok."; } } } else { cout << "Ok."; } }