I need some help writing pseudocode algorithm for the following problem Also I would love to

Question

I need some help writing pseudocode algorithm for the following problem.

Also I would love to

see this written in C code so i can visualize it on my text editor better!!!

Engineering Technology