10 months 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

Update 2.627

New challenges & new effects!

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?

Cash Banooca

2d lighting experiment

I did this on my 3DS ^^ #Kirby

Some Shadow boss fight gameplay 👾

Sonic and Shadow as Pokémons. #Fakemon

Sans Dance

A sneak peek at Oracle's opening cutscene! Delve into the mystery behind this incident in Oracle through investigation, social engineering, exploration, and combat.

💛 Passion project of two friends and IT geeks. 🕹️ We love trains and programming. We wanted to create something unique.

🚂 Rail Route is a management/tycoon/puzzle game based on railroad dispatching. #MadeInUnity [a few Steam demo keys in comments]