1. 1.
    0
    #include<stdio.h>
    2. include<conio.h>
    int main()
    {
    char yuz,on,bir;
    printf("0-999 arasi sayi gir : ");
    scanf("%c%c%c",&yuz,&on,&bir);
    /* yuzler basamağı*/
    if(yuz=0)printf("");
    else if(yuz=1)printf("yuz");
    else if(yuz=2)printf("ikiyuz");
    else if(yuz=3)printf("ucyuz");
    else if(yuz=4)printf("dortyuz");
    else if(yuz=5)printf("besyuz");
    else if(yuz=6)printf("altiyuz");
    else if(yuz=7)printf("yediyuz");
    else if(yuz=8)printf("sekizyuz");
    else if(yuz=9)printf("dokuzyuz");
    else printf("errror");
    /* onlar basamağı*/

    if(on=0)printf("");
    else if(on=1)printf("on");
    else if(on=2)printf("yirmi");
    else if(on=3)printf("otuz");
    else if(on=4)printf("kirk");
    else if(on=5)printf("elli");
    else if(on=6)printf("atmis");
    else if(on=7)printf("yetmis");
    else if(on=8)printf("ciksen");
    else if(on=9)printf("doksan");
    else printf("errror");

    /* birler basamağı*/

    if(bir=0)printf("");
    else if(bir=1)printf("");
    else if(bir=2)printf("");
    else if(bir=3)printf("");
    else if(bir=4)printf("");
    else if(bir=5)printf("");
    else if(bir=6)printf("");
    else if(bir=7)printf("");
    else if(bir=8)printf("");
    else if(bir=9)printf("");
    else printf("error");



    printf("%c",yuz);
    printf("%c",on);
    printf("%c",bir);


    return 0;}
    ···
   tümünü göster