0% found this document useful (0 votes)
21 views1 page

Essential Programming Exercises List

The document lists programming tasks from Chapters 11 and 12, focusing on basic programming concepts. Chapter 11 includes programs for determining leap years, character types, number properties, and comparisons. Chapter 12 features tasks related to number tables, prime checks, factorials, and various number operations.

Uploaded by

bilalatif089
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)
21 views1 page

Essential Programming Exercises List

The document lists programming tasks from Chapters 11 and 12, focusing on basic programming concepts. Chapter 11 includes programs for determining leap years, character types, number properties, and comparisons. Chapter 12 features tasks related to number tables, prime checks, factorials, and various number operations.

Uploaded by

bilalatif089
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

Programs from Chapter#11

1. Write a program that takes an year and decide whether it is leap year or not
2. Write a program that takes a character as input and decides whether it is vowel or consonant
3. Write a program that takes a number and decides whether it is positive, negative or zero
4. Write a program takes three numbers and finds the largest number from them
5. Write a program that takes day number from user and prints day name against the number
6. Write a program that takes a number and checks whether it is even or odd
7. Write a program which takes marks of student and decide whether he is pass or fail. Passing
criteria is 33 percent
8. Write a program which takes two numbers and decides which one is greater or both are equal

Programs from Chapter #12

1. Write a program which prints table of given number


2. Write a program which checks given number whether it is prime number or not prime
3. Write a program which calculates factorial of a number entered by user
4. Write a program which prints even numbers from 10 to 100 using do while loop
5. Write a program which prints sum of odd numbers from 1 to 27
6. Write a program which prints sum of square of numbers from 1 to 7
7. Write a program which prints product of numbers from 1 to 9
8. Write a program which prints odd numbers in descending order between 13 to 79
9. Write a program which prints numbers divisible by 5 between 4 to 100

You might also like