0% found this document useful (0 votes)
5 views5 pages

AI Lab File Vishal

The document contains a list of programming tasks assigned to a student named Vishal Arora in Class X A. The tasks include calculating areas and perimeters of various shapes, checking for leap years and even/odd numbers, and determining eligibility to vote. It also includes programs for calculating selling prices, simple interest, and printing multiples and natural numbers.
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 views5 pages

AI Lab File Vishal

The document contains a list of programming tasks assigned to a student named Vishal Arora in Class X A. The tasks include calculating areas and perimeters of various shapes, checking for leap years and even/odd numbers, and determining eligibility to vote. It also includes programs for calculating selling prices, simple interest, and printing multiples and natural numbers.
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
You are on page 1/ 5

AI lab file

Name -Vishal Arora


Class –X A
1.Write a program to calculate the area and perimeter of a square.

2. Write a program to calculate area of a triangle.

3. Write a program to find the circumference of a circle .


4. Write a program to find the area and perimeter of a rectangle.

5. Write a program to check whether a year is leap year or not.

6. Write a program to check whether a number is even or odd.


7. Write a program to calculate the selling price of an item.

8. Write a program to check whether a person is eligible to vote or not.

9. Program to print the largest of the three numbers.


10. Write a program to calculate the simple interest.

11. Write a program to find the first five multiple of any number using for loop.

12. Write a program to print natural numbers using while loop.

You might also like