Guest User

Untitled

a guest
May 17th, 2018
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.44 KB | None | 0 0
  1. #include<stdio.h>
  2. #include<stdlib.h>
  3.  
  4. int uplati()
  5. {
  6.  
  7.     int x;
  8.  
  9.     printf("Iznos koji zelite uplatiti?\n");
  10.     scanf("%d",&x);
  11.  
  12.     printf("Iznos koji imate na racunu:%d kn",x);
  13.  
  14.     if(x<1000000)
  15.     {
  16.         printf("0\n"); //Transakcija je uspesno izvrsena
  17.     }
  18.  
  19.     else(x>1000000);
  20.     {
  21.         printf("1\n");  //Transakcija je zajebana
  22.     }
  23.  
  24.     return(x);
  25. }
  26.  
  27. int main (void)
  28. {
  29.  
  30.  
  31.  
  32.  
  33.  
  34.     return(0);
  35. }
Add Comment
Please, Sign In to add comment