Hi.
I am taking an optional study unit at university which is basically an introduction to programming in pascal. Now, this was compulsory, so dont bug me with "whats a biology and chemistry student doing pascal?"
Anyway, I nailed pretty much all the commands and did some past papers which were'nt too difficult. The problem is the assignment in which he asked us to make a program that converts from decimal to binary, octal or hexadecimal.
The main problem is how to make pascal convert a number into hexadecimal and vice versa, since there will be letters involved, too.
Can anyone give me any tips?
I am taking an optional study unit at university which is basically an introduction to programming in pascal. Now, this was compulsory, so dont bug me with "whats a biology and chemistry student doing pascal?"
Anyway, I nailed pretty much all the commands and did some past papers which were'nt too difficult. The problem is the assignment in which he asked us to make a program that converts from decimal to binary, octal or hexadecimal.
The main problem is how to make pascal convert a number into hexadecimal and vice versa, since there will be letters involved, too.
Can anyone give me any tips?