Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- float brzina(float a, float b)
- {
- float c;
- c=a/b;
- return c;
- }
- int main()
- {
- int s, t, v;
- printf("unesite predjeni put :");
- scanf("%d", &s);
- printf("unesite vreme :");
- scanf("%d", &t);
- printf("brzina je %.2f m/s \n", brzina (s, t));
- system("pause");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement