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

Ai Basic Programs

The document outlines various programming tasks including calculating factorials, checking for Armstrong numbers, swapping two numbers, determining if a number is a palindrome, checking for prime numbers, calculating the area of a circle, and identifying positive, negative, or zero values. Each task represents a fundamental concept in programming. The document serves as a guide for implementing these basic algorithms.

Uploaded by

viickyy0011
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)
9 views5 pages

Ai Basic Programs

The document outlines various programming tasks including calculating factorials, checking for Armstrong numbers, swapping two numbers, determining if a number is a palindrome, checking for prime numbers, calculating the area of a circle, and identifying positive, negative, or zero values. Each task represents a fundamental concept in programming. The document serves as a guide for implementing these basic algorithms.

Uploaded by

viickyy0011
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

1)Factorial program:

2)Armstrong number:
3)Swap two numbers:

4)Palindrome or Not:
5)Prime or Not:

6)Area of Circle:
7)Positive negative and zero :

You might also like