Saturday, July 15, 2017

URI problem 1957 solution in C | (Converting to Hexadecimal)

#include<stdio.h>
int main()
{
    long int a;
    while(scanf("%ld",&a)!=EOF){
        printf("%X\n",a);
    }
    return 0;
}

No comments:

Post a Comment