Help with C program on Linux

Hello,

I am working one of C program which prompts the user to enter a hexadecimal value, multiplies by ten, then displays the result in hexadecimal. And my main function should:

a) declare a char array
b) call the readln function to read from the keyboard,
c) call a function to convert the input text string to an int,
d) multiply the int by ten,
e) call a function to convert the int to its corresponding hex text string,
f) call writestr to display the resulting hexadecimal text string.

I have been working on it for forever now and I am like done with it, please please please if somebody would sent me a message regarding this, than I would really appreciate it.

Thanks,
Ami
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories