This document contains an assignment for Vaibhav with their university enrollment number. The assignment contains 19 programming problems to solve using for and while loops. The problems include printing numbers divisible by 5, odd numbers in descending order, even numbers in ascending order, finding the sum of natural numbers, factors of a number, tables, largest of 10 numbers, factorials, digit counts, digit sums, reversing numbers, checking palindromes, primes, Armstrong numbers, perfect numbers, GCD, LCM, series from 1-100 incrementing by 3, and the Fibonacci series. Spaces are provided to record the date of performing and checking each problem along with a section for teacher remarks.
This document contains an assignment for Vaibhav with their university enrollment number. The assignment contains 19 programming problems to solve using for and while loops. The problems include printing numbers divisible by 5, odd numbers in descending order, even numbers in ascending order, finding the sum of natural numbers, factors of a number, tables, largest of 10 numbers, factorials, digit counts, digit sums, reversing numbers, checking palindromes, primes, Armstrong numbers, perfect numbers, GCD, LCM, series from 1-100 incrementing by 3, and the Fibonacci series. Spaces are provided to record the date of performing and checking each problem along with a section for teacher remarks.
This document contains an assignment for Vaibhav with their university enrollment number. The assignment contains 19 programming problems to solve using for and while loops. The problems include printing numbers divisible by 5, odd numbers in descending order, even numbers in ascending order, finding the sum of natural numbers, factors of a number, tables, largest of 10 numbers, factorials, digit counts, digit sums, reversing numbers, checking palindromes, primes, Armstrong numbers, perfect numbers, GCD, LCM, series from 1-100 incrementing by 3, and the Fibonacci series. Spaces are provided to record the date of performing and checking each problem along with a section for teacher remarks.
Name:-Vaibhav University Enrollment No:-08223802723
S.No. Program Description Date of Date of Teacher’s Remarks
Performing checking
1 WAP to print all the
numbers which are divisible by 5 from 1 to 50. 2 WAP to print odd numbers from 1 to20 in descending order. 3 WAP to print even numbers from 1 to20 in ascending order. 4 WAP to print the sum of first ten natural numbers. 5 WAP to print the factors of a given number. 6 WAP to print the table of any number entered by the user. 7 WAP to find the largest among any 10 numbers entered by the user. 8 WAP to find the factorial of any given number entered by the user. 9 WAP to find the total number of digits in a number entered by user. 10 WAP to find the sum of all digits of a number entered by the user. 11 WAP to find the reverse of a number. 12 WAP to check whether the number entered is palindrome or not 13 WAP to check whether a number is prime or not. 14 WAP to check whether a number is Armstrong number or not 15 WAP to check a number is perfect number or not. ASSIGNMENT NO. – 3 ( For / While loops ) Name:-Vaibhav University Enrollment No:-08223802723
16 WAP to find the GCD of
two numbers. 17 WAP to find the LCM of two numbers. 18 WAP to print a series 1,4,7,10,13,--------------- 100 19 WAP to print the Fibonacci series 1,1,2,3,5,8,13,--------