LAB 4 (LOOPING)
After this lab students will learn about various LOOPING statements. write algorithms and draw flowchart for all programs .
1. WAP to find HCF and LCM of two numbers.
2. WAP to determine whether a number is prime or not.[use break statement]
3. WAP to calculate the factorial of a number [while loop]
4. WAP to check if the entered number is STRONG or not.
5. WAP TO CHECK WHETHER A NUMBER IS ARMSTRONG OR NOT.