REPORT
FILE
o
Name : Abhay Choudhary
Class & Section : 12th A
Roll Number : 02
Subject : Computer Science
Year :2024-2025
INDEX
S.No. TOPIC Pg.
no.
1. Find the factorial of natural number 04
2. Find the sum of all elements of a list 05
2|Page
o
3. Find code to compute the nth Fibonacci number 06
4. Progarm to calculate the simple interest by using 07
function
5. Program to calculate the arithmetic operators by using 08
function
6. Program to enter two numbers and swap their values 09
by using function
S.No. TOPIC Pg.
no.
1. Find the factorial of natural number 04
2. Find the sum of all elements of a list 05
3. Find code to compute the nth Fibonacci number 06
4. Progarm to calculate the simple interest by using 07
# Find the factorial of natural number
INPUT
3|Page
o
OUTPUT
# Find the sum of all elements of a list
INPUT
4|Page
o
OUTPUT
# Find code to compute the nth Fibonacci number
5|Page
o
# Progarm to calculate the simple interest by using function
INPUT
6|Page
o
OUTPUT
#Program to calculate the arithmetic operators by using
Function (Addition)
7|Page
o
INPUT
OUTPUT
#Program to calculate the arithmetic operators by using
Function(Subtraction)
INPUT
8|Page
o
OUTPUT
# Program to calculate the arithmetic operators by using
Function(Multiplication)
INPUT
9|Page
o
OUTPUT
# Program to calculate the arithmetic operators by using
Function(Division)
INPUT
10 | P a g e
o
OUTPUT
# Program to enter two numbers and swap their values by using
function
INPUT
11 | P a g e
o
OUTPUT
12 | P a g e
o
13 | P a g e
o
14 | P a g e