0% found this document useful (0 votes)
15 views13 pages

Programming Exercises and Loops Guide

The document outlines various programming tasks, including printing sequences and displaying natural numbers using different types of loops. It also includes programs for checking divisibility, primality, and Armstrong numbers, as well as categorizing students based on their marks. Overall, it serves as a guide for basic programming exercises.

Uploaded by

pixelpirate008
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views13 pages

Programming Exercises and Loops Guide

The document outlines various programming tasks, including printing sequences and displaying natural numbers using different types of loops. It also includes programs for checking divisibility, primality, and Armstrong numbers, as well as categorizing students based on their marks. Overall, it serves as a guide for basic programming exercises.

Uploaded by

pixelpirate008
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Write a program print the following sequence

Write a program print the following sequence


Write a program print the following sequence
Write a program print the following sequence
Write a program print the following sequence
The difference between while do-while and for loop
Write a program to display n natural number using while loop.
Write a program to display n natural number using d0-while loop.
Write a program to find the reverse the digits of a user entered number and store in another variable.
Write a program to check if the user enterer no is divisible by 10 or not.
Write a program to check if the user enterer no is prime no or not.
Write a program to check if the user enterer no is Armstrong no or not.
Write a program to display the class according to the marks scored by the student.

You might also like