Problem Solving And Programming Lab
Assignment 4
Name: Ashmit Amit Kohli
Class: AIDS-C Batch: C2
Roll No: 35 PRN: 1251010356
1. Check prime and Armstrong number by using functions.
2. Convert a binary number to decimal and vice-versa
3. Write a program to find perfect number in between 1 to 50 using
function.
4. Write a program to swap two arrays using function. (Call by value)
5. Write a program to find maximum and minimum number in an array
using functions.
[Link] the factorial of a number using recursion