Created
April 8, 2015 10:14
-
-
Save henrybear327/f38a0fd93749354c6ae6 to your computer and use it in GitHub Desktop.
ITSA problem 1.c
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
int main() | |
{ | |
int input; | |
while(scanf("%d", &input) != EOF) { | |
double answer = (double) input * 1.6; | |
printf("%.1f\n", answer); | |
} | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment