Advertisement
Tahamina_Taha

S_chapter_5 prblm_4 velocity

Aug 7th, 2019
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.23 KB | None | 0 0
  1. #include<stdio.h>
  2. #include<math.h>
  3. int main ()
  4.  
  5. {
  6.     int v,t,s;
  7.     printf("enter velocity: ");
  8.     scanf("%d",&v);
  9.     printf("enter time:");
  10.     scanf("%d",&t);
  11.     s=v*2*t;
  12.     printf("S= %d",s);
  13.     return 0;
  14.  
  15.  
  16.  
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement