Does anybody have code for a simple hexadecimal calculator
Does anybody have code for a simple hexadecimal calculator
how about you write your own??
it's just the same as decimal... just make sure you read in as hex, and output as hex.. the rest is done just like decimal!
use your head.
U.
Quidquid latine dictum sit, altum sonatur.
Whatever is said in Latin sounds profound.
Code:// Adds 2 hexadecimal numbers together... int main (void) { int a, b, c; printf ("Two numbers please.\n"); scanf ("%x%x", &a, &b); c = a + b; printf ("%X", c); return 0; }
Callou collei we'll code the way
Of prime numbers and pings!
Thanks Question C this gives me a good start