so...this is the problem...

i need to make a BST tnat has random integers in all nodes and then do a inorder print,and i have to construct a function tha would return how many nodes have only one child, and how many of them have both children.

does anybody have any kind of written source code that could help me?!

i know how to do this by use of pointers but this array sh** is to idiotic and i really dont know how to do this.help...