Pergunta de entrevista da empresa Data Infovision

In technical i was asked to prepare a program in which you have to use both Nested If and do While aside.