need help to write the code for the functionWrite your question here. print_occurs: The third task is to read in a motif from the keyboard,...