#include<stdio.h>
#include<conio.h>
void main()
{
int u,a,t,v;
puts("Enter initial velocity in m/s");
scanf("%d",&u);
puts("Enter acceleration in m/s²");
scanf("%d",&a);
puts("Enter time in seconds");
scanf("%d",&t);
v=u+(a*t);
printf("Final velocity is %d m/s",v);
}
Comments
Post a Comment