NALLAMUTHU GOUNDER MAHALINGAM COLLEGE
POLLACHI-642001
R.Rasigapriya
Bsc Computer Science(Ist Year)
12.While loop
#include <iostream>
int main()
{
int num;
std::cout<<"Enter the Number:";
std::cin>>num;
while(num<=3)
{
std::cout<<"The statement is true";
}
return 0;
}
OUTPUT: