Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main()
- {
- int Broj[1];
- printf("Upisi prvi broj: ");
- scanf("%d", &Broj[0]);
- //
- printf("Upisi drugi broj: ");
- scanf("%d", &Broj[1]);
- //
- if(Broj[0] + Broj[1] >= 100) printf("%d + %d = %d\n", Broj[0], Broj[1], Broj[0] + Broj[1]);
- if(Broj[0] - Broj[1] >= 100) printf("%d - %d = %d\n", Broj[0], Broj[1], Broj[0] - Broj[1]);
- if(Broj[0] * Broj[1] >= 100) printf("%d * %d = %d\n", Broj[0], Broj[1], Broj[0] * Broj[1]);
- if(Broj[0] / Broj[1] >= 100) printf("%d / %d = %d\n", Broj[0], Broj[1], Broj[0] / Broj[1]);
- return 1337;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement