Skip to content

Instantly share code, notes, and snippets.

@henrybear327
Created April 8, 2015 10:14
Show Gist options
  • Save henrybear327/f38a0fd93749354c6ae6 to your computer and use it in GitHub Desktop.
Save henrybear327/f38a0fd93749354c6ae6 to your computer and use it in GitHub Desktop.
ITSA problem 1.c
#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