Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main() {
- int a, b;
- scanf("%d", &a);
- scanf("%d", &b);
- int zbir = a + b;
- printf("%d\n", zbir);
- int razlika = a - b;
- printf("%d\n", razlika);
- int proizvod = a * b;
- printf("%d\n", proizvod);
- float kolicnik = (float) a / b;
- printf("%f\n", kolicnik);
- return 0;
- }
- /*
- Od tastatura se vnesuvaat 2 celi broja. Na ekran da se ispechati nivniot zbir, razlika, proizvod i
- kolicnik
- **/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement