Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- int main()
- {
- int br1,br2,max,min,i=0,br,max1;
- printf("Unesite br1: ");
- scanf("%d",&br1);
- printf("\nUnesite br2: ");
- scanf("%d",&br2);
- max=br1;
- min=br2;
- if(br2>max) max=br2,min=br1;
- i=1;
- max1=max;
- do{
- max1=max1/10;
- i=i*10;
- }while(max1!=0);
- br=max*i+min;
- printf("\n\nbr = %d",br);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement