#include <stdio.h>
int main() {
float velocity, acceleration, time, distance;
printf("Enter velocity value: ");
scanf("%f", &velocity);
printf("Enter acceleration value: ");
scanf("%f", &acceleration);
printf("Enter time value: ");
scanf("%f", &time);
distance = velocity * time + 0.5 * acceleration * time * time;
printf("Final answer: %f", distance);
return 0;
}