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

art comission.

Finished a project I've been working on over the last few days!

Modeled and textured in Blender.

#3dart #lowpoly #npbr #fantasy #hut

Quantum precognition is one of the most powerful cards. End game cards & equipment. Demo/alpha build boss is no match for this deck.

Just a Pico sprite

So here's the first of the zodiac signs i will make for the next weeks.

One of the most critical update for Sunblaze demo. Now you are able to pet a cat! Finally!

Terraria

OK, this starts to be too tricky puzzle already :D

#platformer #indiegame #puzzle

The Authority decided to investigate the Basement and leads to recovering classified documents Fun fact: The building has 928 doors and not 1000 doors. #horror

Sonic and Shadow as Pokémons. #Fakemon