1 year ago

i had to unironically do yanderedev coding for a simple program because my teacher accusses us of using chatgpt if we use anything we aint seen or asks us to exactly explain how it works and if we dont explain it properly we're fucked

rate my code


#include <iostream>

using namespace std;

int main (){

float mes, num;

cout << "Ingrese numero de mes (1-12):";

cin >> num;

while (num < 1|| num > 12){

cout << "solo numeros del 1 al 12:";

cin >> num;

}

if (num==1){

cout <<"Enero";

}

if (num==2){

cout <<"Febrero";

}

if (num==3){

cout <<"Marzo";

}

if (num==4){

cout <<"Abril";

}

if (num==5){

cout <<"Mayo";

}

if (num==6){

cout <<"Junio";

}

if (num==7){

cout <<"Julio";

}

if (num==8){

cout <<"Agosto";

}

if (num==9){

cout <<"Septiembre";

}

if (num==10){

cout <<"Octubre";

}

if (num==11){

cout <<"Noviembre";

}

if (num==12){

cout <<"Diciembre";

}

cout << endl;

return 0;

}



0 comments

Loading...

Next up

Did you know that today is #InternationalJazzDay? 🎷😎

No? 😯 Well, we couldn't pass up this date!

And what better to celebrate this day than #Pecaminosa #OST? 🎷

Let us know what you think about it and have a great weekend!

Successful landing

#screenshotsaturday

Path of Kami: The Evolution of the Lore

Shadow The Hedgehog X pixel art

Protege el conocimiento, salva la historia. Guardian of Lore es un platformer 2D en el que debes luchar para mantener viva la memoria de la mitología latinoamericana. El juego llegará a Steam el 18 de mayo: https://steam.pm/app/1211740 #ScreenshotSaturday

I was bored, so... ManutKat.

What you all think

Hi everyone! I started to create some environment props for my new video game, here is a cozy house in the forest. I'm planning to switch from Unity to Unreal... Let's see what new challenges I have to face. Made in Blender and Substance Painter.

Spaaaace~

These are background sprites I've created for a game I'm working on at school ^w^ Click on the post to see how the sprites connect. You won't regret it! (personally, I think it's pretty heheh)

Drawn in Piskel using my mouse. Whaddya think?

An infected room from the second part of Cybel ! Are you up for some cleansing?