0% found this document useful (0 votes)
8 views17 pages

Computer Science Programs Guide

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)
8 views17 pages

Computer Science Programs Guide

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/ 17

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

You might also like