This C++ program uses a while loop to print the text "abdul basit" 5 times. It initializes a counter variable to 0, uses that in a while loop condition to iterate as long as the counter is less than 5, prints the text each iteration and increments the counter, then waits for a key press before ending.
Download as TXT, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
35 views
Name
This C++ program uses a while loop to print the text "abdul basit" 5 times. It initializes a counter variable to 0, uses that in a while loop condition to iterate as long as the counter is less than 5, prints the text each iteration and increments the counter, then waits for a key press before ending.