Please Help To......................
PLEASE HELP ME TO SOLVE THIS QUESTIONS ???????????
Q:1 Left Shifting an unsigned integer by 1 bit is equivalent to multipling the value by 2.Write a function powerof2 that takes two integer arguments num and power and calculates: num*2^power.
Q:2 Write a program to store three variables employee_number(9bits), gender_of_the_employee (1bit) and employee_skills (6 bits) in a short integer variable.Use pack and unpack function .
Q:3 Write a program that reverses the order of the bits in an unsigned integer value .The program should take an (unsigned) integer value and display the same bit wise .Then reverses the bit pattern and print the reversed bit and its integer value.
Q:4 Print all ASCII characters,their corrsponding integer value and bit wise printing of this integer value.
At least TRY to solve the problem on your own, if you actually have code that you can't get to work then come and ask a question.
Ill do your homework for you for a hundred dollars american per line of code...