Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- #include<math.h>
- int main ()
- {
- int v,t,s;
- printf("enter velocity: ");
- scanf("%d",&v);
- printf("enter time:");
- scanf("%d",&t);
- s=v*2*t;
- printf("S= %d",s);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement