Write Syntax of While Wend Statement.
Answers
Answer:
Nizam-ul-Mulk Asaf Jah, the founder of Hyderabad state (1724-1748), was one of the most powerful members at the court of the Mughal Emperor Farrukh Siyar. Taking subsequent advantage of the turmoil in the Deccan and the competition amongst the court nobility, he gathered power in his hands and became the actual ruler of that region. Asaf Jah brought skilled soldiers and administrators from northern India who welcomed the new opportunities in the south. He appointed mansabdars and granted jagirs. Although he was still a servant of the Mughal emperor, he ruled quite independently without seeking any direction from Delhi or facing any interference.
Syntax:
WHILE (---Condition here---)
---Program here---
WEND
Example:
CLS
INPUT"ENTER YOUR NAME: ";N
B = 0
WHILE (B<10)
PRINT N
B = B+1
WEND
END
Output:
ENTER YOUR NAME: ishanbr2527k
ishanbr2527k
ishanbr2527k
ishanbr2527k
ishanbr2527k
ishanbr2527k
ishanbr2527k
ishanbr2527k
ishanbr2527k
ishanbr2527k
ishanbr2527k