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

Smile! Here, take some happy pills! ✨💊 #Blender #3DModelling #3DArt Buy me a Ko-fi: https://ko-fi.com/barbarafb_

"Thanks guys for endless hours of fun." 👍

(My first fan art. Read the article, please.)

#sonic #mario #photoshop

Heya there! I really wanted to show you all a little gameplay preview of the first boss fight i'm currently working on i hope you like it ^^

Just a Pico sprite

Strange Umbrella

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

Rockin the Guitar, an Axe like Guitar I made for my Uni project

If you have more of an acquired taste, the restaurants in Niravasi have you covered! Maybe skip the salad bar, though.

I did this on my 3DS ^^ #Kirby

Explosive domino effect