Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

broj so bukvi(simple)

machkovskitomche Aug 10th, 2018 57 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. #include<stdio.h>
  2. #include<stdlib.h>
  3.  
  4. int main()
  5. {
  6.     int broj,prva,vtora;
  7.     printf("Vnesete go dvocifreniiot broj:\t");
  8.     scanf("%d",&broj);
  9.     prva=broj/10;
  10.     vtora=broj%10;
  11.     switch(prva)
  12.     {
  13.         case 0:printf("NULA");
  14.         break;
  15.         case 1:printf("EDEN");
  16.         break;
  17.         case 2:printf("DVA");
  18.         break;
  19.         case 3:printf("TRI");
  20.         break;
  21.         case 4:printf("CETIRI");
  22.         break;
  23.         case 5:printf("PET");
  24.         break;
  25.         case 6:printf("SHEST");
  26.         break;
  27.         case 7:printf("SEDUM");
  28.         break;
  29.         case 8:printf("OSUM");
  30.         break;
  31.         case 9:printf("DEVET");
  32.         break;
  33.         default:break;
  34.     }
  35.     printf(" ");
  36.     switch(vtora)
  37.     {
  38.         case 0:printf("NULA");
  39.         break;
  40.         case 1:printf("EDEN");
  41.         break;
  42.         case 2:printf("DVA");
  43.         break;
  44.         case 3:printf("TRI");
  45.         break;
  46.         case 4:printf("CETIRI");
  47.         break;
  48.         case 5:printf("PET");
  49.         break;
  50.         case 6:printf("SHEST");
  51.         break;
  52.         case 7:printf("SEDUM");
  53.         break;
  54.         case 8:printf("OSUM");
  55.         break;
  56.         case 9:printf("DEVET");
  57.         break;
  58.         default: break;
  59.     }
  60.     return 0;
  61. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top