Please do it exactly as it says, also please print the output to the screen to show the program works. language is C and program i use is codeblocks and openframework
a) Write the function: int rand sign which returns either 1 or -1 (randomly chosen)
(b) Write an open frameworks program to generate a random each to walk. At step, toss a coin determine if you move right/left or up down. And each step, move t5 pixels.