游客 Signup | Login
中文 | En

3848 - 2.23物理方面:加速度

(物理方面:加速度)平均加速度定义为速度的变化量除以这个变化所用的时间,如下式所示:

                  a=(v1-v0)/t

编写程序,提示用户输入以米/秒为单位的起始速度v0,以米/秒为单位的终止速度v1,以及以秒为单位的时间段,最后显示平均加速度。

Input

在屏幕上显示这段文字Enter v0,v1,and t :  输入数据

Output

在屏幕上显示这段文字The average acceleration is:  显示结果

Examples

Input

Enter v0,v1,and t : 5.5  50.9  4.5 

Output

The average acceleration is 10.0889   
Time Limit 1 second
Memory Limit 128 MB
Discuss Stats
上一题 下一题