Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <coinio.h>
- #include <stdio.h>
- void main()
- {
- int u,v,t;
- float a;
- printf("Please initial velocity:");
- scanf("%d",&u);
- printf("Please final velocity:");
- scanf("%d", $v);
- printf("Please time taken:");
- scanf("%d",$t);
- a =(v-u)/t;
- printf("The acceleration of the car is:%f", a);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement