0% found this document useful (0 votes)
20 views1 page

Assignment 1

The document provides instructions to write algorithms and draw flowcharts for 12 different tasks related to basic mathematical and logical operations such as checking voter eligibility based on age, multiplying numbers, comparing lengths of lines, finding greater/smaller of two numbers, calculating area and perimeter of shapes, and determining if a number is positive/negative or odd/even.

Uploaded by

Arunasish Saha
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)
20 views1 page

Assignment 1

The document provides instructions to write algorithms and draw flowcharts for 12 different tasks related to basic mathematical and logical operations such as checking voter eligibility based on age, multiplying numbers, comparing lengths of lines, finding greater/smaller of two numbers, calculating area and perimeter of shapes, and determining if a number is positive/negative or odd/even.

Uploaded by

Arunasish Saha
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/ 1

Write algorithms and draw flowcharts for the following:

1. Accept the age of a person and check whether he/she is eligible to vote or not. A person is
eligible to vote only when he/she is 18 years or more.

2. To multiply the two numbers


3. Accept the length of two different line segments and check whether they are equal or
unequal. Display the message accordingly.
4. A flowchart to display the greater of the two numbers.
5. Accept two numbers, if the first number is greater than the second number, print their
sum, otherwise print their product.
6. Finding the cube of a given number.
7. Print the smaller of two numbers.
8. To display the area & perimeter of a Square.
9. Draw a flowchart & algorithm to find the cost of 24 pens when the cost of one pen is Rs.
12.
10. To display the area & perimeter of a Rectangle.
11. Accept a number & check whether the number is negative number or positive number.
12. Accept a number & check whether the number is Odd no. or Even no.

You might also like