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!

"Thanks guys for endless hours of fun." 👍

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

#sonic #mario #photoshop

Enemies can also suddenly spawn through Realm Rifts. These Rift Spawns are going to be stronger than the ones wandering around. TBD on the enemies... #screenshotsaturday #godstear #madewithunity

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

Updated the chest in the maze, adding sound, particles and better animation. But what's in the chest?

Werehog transformation process. #sonicunleashed

In the quest for accessibility, I'm adding Resurrection Shrines for players on the 'novice' end of the platforming spectrum.

In order to unlock the power of a Shrine, you must collect 3 'Souls' from your dead corpses! (the floating blue orbs)

I-Buki

Mio-Da!

Ibuki Mioda!

The Darkside Detective: A Fumble in the Dark is out TODAY! 🖱️Advanced pointing, clicking action 🖨️Very funny words! Loads of them! 👻6 sarcastic, spectral cases to solve