Run ID:91821

提交时间:2024-09-22 15:22:10

#include<iostream> using namespace std; int main(){ double t,g,v,t1,g1,v1,t2,g2,v2; t=5; g=9.8; v=g*t; cout<<v<<endl; t1=10; g1=9.8; v1=g1*t1; cout<<v1<<endl; t2=15; g2=9.8; v2=g2*t2; cout<<v2<<endl; return 0; }