4.2.15

Uva 10071 - Back to High School Physics (Solution)

Input 2 integer and multiply them with 2.

#include<stdio.h>

int main()

{
    int v,t;
    while(scanf("%d%d",&v,&t)!=EOF)
        printf("%d\n",2*(v*t));
    return 0;
}

No comments:

Post a Comment