Please help me get this code working

 
I am a newbie and needs help on my first EA, There is one error remaining . It says ( '\end_of_program'-ending bracket '}' expected ). The error dot points me to a line of code where the program should be opening an additional order. Does anyone know what I may do to solve this problem.
 

Either post the code here using the SRC button or

see these editors here

You will need one for C language

Good Luck

-BB-
Reason: