sorry i mistakely took out the closing} with the subroutine so u guys thought it was the main function inside of that subroutine and that wudnt make it run but sorry bout that. and also for the spelling error or *nybble i was alittle sleepy. As for using fprintf i dont have a clue because i had another teacher that taught me printf and then this one taught me fprintf and stdout.

*Richie T* is that bad code that i wrote? Do i need to only use printf?


i didnt even know that you cud multiply it like that but thank you so much.