Skip to content
Sign upLog in
memes I made
Profile icon

I was about to go browse some memes when I thought:

why can't I just make 'em myself?

So I made 10 20 27 coding memes with imgflip.

I put them here because
a. I get to code
b. They are about coding
c. I dont have reddit

hope you like em

also, use this

You are viewing a single comment. View All
Profile icon

in C++:

#include <iostream> int main() { std::cout << "Hello World!"; return 0; }

in python:

print('Hello World!')

in c++:

# include <iostream> using namespace std; int main() { char op; float num1, num2; cout << "Enter operator either + or - or * or /: "; cin >> op; cout << "Enter two operands: "; cin >> num1 >> num2; switch(op) { case '+': cout << num1+num2; break; case '-': cout << num1-num2; break; case '*': cout << num1*num2; break; case '/': cout << num1/num2; break; default: cout << "Error! operator is not correct"; break; } return 0; }

in python:

eq = input('Enter your equation > ') try: print(eval(eq)) except: print('Invalid syntax')

You can get more done in a shorter amount of time in python.
Also, scratch is slower than C++ and python.