Solve the Equation
Time Limit: 1 sec
Consider a particle moving along a straight line with uniform acceleration 'a'. At t=0, let the particle be at A and u be its initial velocity and when t = t, v be its final velocity.
From the above equation you have to find the value of v where the value of u, a and t are given.
Input file contain several lines of input. Each line consists of three positive integers denotes u, a and t, all integers are less than or equal to 100 in the input file. Input is terminated by EOF.
For each line of input you have to print the value of v in a line.
1 2 3
100 100 100
Inter University Programming Contest - 2015 [BGC Trust University Bangladesh]
Problem Setter: Hasnayn Ahmed Shakil