Lab Manual 2
Lab Manual 2
Problem Analysis:
Algorithm:
For example-
Properties of Algorithm:
● It should be deterministic means giving the same output for the same input case
Algorithm:
Step 1: Start
Step 4: Add num1 and num2 and assign the result to sum.
Step 6: Stop.
Algorithm:
Step 1: Start
factorial ← 1
i←1
5.2: i ← i+1
Step 7: Stop
3. Problem Description: Find the Fibonacci Series till the term is less than 50
Algorithm:
Step 1: Start
first_term ← 0
second_term ← 1
Step 6: Stop
Policy
Copying from the internet, classmates, seniors, or from any other source is strongly prohibited.
100% marks will be deducted if any such copying is detected.