Loop Programs

c++ Program To Understand While Loop

A while loop statement executes a code until the given condition is true.

Syntax:-

Example:-

OUTPUT:-

scanfcode