#include<stdio.h>
void main(){
int a,v,u,t;
a = 0;
printf("Acceleration");
printf("\nEnter V:");
scanf("%d",&v);
printf("\nEnter U:");
scanf("%d",&u);
printf("\nEnter Time:");
scanf("%d",&t);
a = v-u;
a = a/t;
printf("Acceleration = %d m/s^2",a);
}
ไม่มีความคิดเห็น:
แสดงความคิดเห็น