I feel the same way here. My professor just tries to drive students insane with such meaningless restrictons on a couple of prgramming assignments.
However, as long as I am in this course, I...
Type: Posts; User: jim090872
I feel the same way here. My professor just tries to drive students insane with such meaningless restrictons on a couple of prgramming assignments.
However, as long as I am in this course, I...
Hi Happy Reaper:
I follow your method and write this code:
hort divide(short num1, short num2){
short i, j, ok;
short result;
result = 0;
num2 = num2 << 8;
It doesn't make sense to me. Since we are doing the division, what's the point to check each bit and return the greatest value after all?
I just figure out the loop code by using !=
Thanks for telling me, anyway.
Now the problem is here: num1 >= num2
We can't use the greater and equal operator, so I am having a trouble to find any...
I am trying to type the C programming code to run the computation by four arithmetic operators, and them print out the result as a 16 bit binary number.
However, I am stuck on writing the legal...