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

PPC Lab IA-1 Programming Problems

The document lists 20 programming problem statements for a PPC lab IA-1 assignment. The problems cover various topics including arithmetic operations, geometry, number theory, and basic programming constructs like loops and conditionals. Each statement requires students to write a program to solve a specific mathematical or logical task.

Uploaded by

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

PPC Lab IA-1 Programming Problems

The document lists 20 programming problem statements for a PPC lab IA-1 assignment. The problems cover various topics including arithmetic operations, geometry, number theory, and basic programming constructs like loops and conditionals. Each statement requires students to write a program to solve a specific mathematical or logical task.

Uploaded by

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

Problem statements for PPC lab IA-1

1. Write a program to perform arithematic operations of 2 numbers


(addition,subtraction,multiplication,division)
2. Write a program to find area of rectangle.
3. Write a program to find the simple interest.
4. Write a program to find the largest of two numbers.
5. Write a program to find largest of three numbers.
6. Write a program to find the area of triangle when the length of 3 sides are given.
7. Write a program to find whether a given number is Armstrong or not.
8. Write a program to find reverse of a number and check whether it is palindrome
9. Write a program to find the sum of series y = x1 x2 + x3 + …….+ xn
10. Write a program to print n natural numbers and find its sum.
11. Write a program to use switch case to implement simple calculator.
12. Write a program to find prime numbers between n1 and n2.
13. Write a program to check whether a number is prime or not.
14. Write a program to convert seconds in HH:MM:SS format.
15. Write a program to print n elements of array , find its sum,average and print the below average
and above average count.
16. Write a program to read the characters and find the count of each character.
17. Write a program to print *
**
***
****
*****
18. Write a program to print inverted half pyramid of type
* * * * *
* * * *
* * *
* *
*

[Link] a program to print the multiplication tables between n1 and n2


[Link] a program to find fabonacci series.

You might also like