Search found 1 match

by nova4409
Mon Nov 04, 2013 12:08 pm
Forum: Volume 100 (10000-10099)
Topic: 10071 - Back to High School Physics
Replies: 49
Views: 7673

Re: Re:10071 Back to High School Physics

#include <iostream>
using namespace std;

int main(){
int v,t,s;
while(scanf("%d %d",&v,&t)==2){
if(0<=t<=200 && -100<=v<=100){
s=v*t*2;
cout<<s<<endl;
}}

}

Go to advanced search