There might be red herrings, or there might not. Use the blocks you think you need.
Write a program that takes a percentage mark, and turns this into a grade (A, B, C or N/A). The main program should ask the user to enter a percentage, and the program should call a function to generate the grade from this. The main program should then display the grade returned.