0% found this document useful (0 votes)
3 views2 pages

Algorithm-Flowchart (Home Task)

The document outlines six tasks involving the creation of algorithm-flowcharts for various scenarios. These tasks include finding the largest and smallest of three numbers, validating a password, determining bonus eligibility based on salary, identifying the state of water based on temperature, and checking loan eligibility based on age and income. Each task specifies conditions and outputs for the flowcharts to be designed.

Uploaded by

22mcse102
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)
3 views2 pages

Algorithm-Flowchart (Home Task)

The document outlines six tasks involving the creation of algorithm-flowcharts for various scenarios. These tasks include finding the largest and smallest of three numbers, validating a password, determining bonus eligibility based on salary, identifying the state of water based on temperature, and checking loan eligibility based on age and income. Each task specifies conditions and outputs for the flowcharts to be designed.

Uploaded by

22mcse102
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

Home Work

Task 1: Write an algorithm-flowchart to find the largest number among three

numbers.

Task 2: Write an algorithm-flowchart to find the smallest number among three

numbers.

Task 3: Write an algorithm-flowchart that takes a password as input and prints “Access
Granted” if the password matches admin123, otherwise prints “Access Denied”.

Task 4: Write an algorithm-flowchart that takes salary as input and prints “Bonus Given” if
salary is greater than 30,000, otherwise prints “No Bonus”.

Task 5: Write an algorithm-flowchart based on the given conditions. Water State


Identification:

∙ Prints Solid if temperature ≤ 0°C

∙ Prints Liquid if temperature is between 1°C and 99°C

∙ Prints Gas if temperature ≥ 100°C

Task 6: Write an algorithm-flowchart for Loan Eligibility Check based on conditions

∙ If age < 21 →
o If income ≥ 50,000 → Eligible
o Else → Not Eligible
∙ Else
o If income ≥ 30,000 →
▪ If job == ‘Yes’ → Eligible
▪ Else → Not Eligible
o Else → Not Eligible

You might also like