1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#include <stdio.h>
#include <stdlib.h>

int main (void)
{
    int mes;
    printf ("Ingresa el valor de mes: ");
    scanf ("%d", &mes);
    (void) getchar ();
    if(mes==1)
        printf ("enero\n");
    if(mes==2)
        printf ("febrero\n");
    if(mes==3)
        printf ("marzo\n");
    if(mes==4)
        printf ("abril\n");
    if(mes==5)
        printf ("mayo\n");
    if(mes==6)
        printf ("junio\n");
    if(mes==7)
        printf ("julio\n");
    if(mes==8)
        printf ("agosto\n");
    if(mes==9)
        printf ("septiembre\n");
    if(mes==10)
        printf ("octubre\n");
    if(mes==11)
        printf ("noviembre\n");
    if(mes==12)
        printf ("diciembre\n");
    putchar ('\n');
    system ("pause");
    return EXIT_SUCCESS;
}