Repetition in C
Repetitions can be achieved through the use of 'for, while, and do while'. as such:
for(condition){
statement;
}
while(condition){
statement
}
do{statement}while(condition)
do while and while are fundamentally different because in do while the statement is run at least one time before checking the condition
Comments
Post a Comment