In this article I’m going to demonstrate another way to implement the Input and Process Until Done template using the do-while
statement. The major difference between the while
statement and the do-while
statement is that with the do-while
statement the condition is tested at the bottom of the loop instead of at the top as it is with the while
statement.
#programming-languages #learn-to-program #c-programming-language #learn-to-code #c-programming