NEWJ interview question

Write pseudocode for a given problem (cannot write the actual question. )