Imgflip Logo Icon

Morpeko's Images

Imgflip Pro

  • AI creation tools & better GIFs
  • No ads
  • Custom 6x6 profile icon and new colors
  • Your images jump to the top of approval queues
Go Pro
I THINK MR_FIDGET_SPINER IS A SNOWFLAKE; EXPLANATION IN COMMENTS | made w/ Imgflip meme maker
84 views, 5 upvotes, 4 comments
#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
71 views, 2 upvotes, 9 comments

It's time for you to look inward

It's time for you to look inward | how the hell do you spell showfer | image tagged in it's time for you to look inward | made w/ Imgflip meme maker
101 views, 4 upvotes, 4 comments
204 views, 3 upvotes, 2 comments

maxwell the cat

155 views, 5 upvotes

first caption

81 views, 6 upvotes, 3 comments
75 views, 3 upvotes, 13 comments

let's go ball

167 views, 5 upvotes

adhd bingo

96 views, 5 upvotes

take that SkibiditoiletisFIREEEE

Show More
237 views, 1 upvote, 2 comments
84 views, 2 upvotes, 1 comment