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

Program

The document outlines a series of flowcharts and programming tasks related to basic mathematical operations and conditions. It includes checks for even/odd numbers, comparisons of values, eligibility for voting based on age, grading based on marks, and calculations for discounts and BMI. Additionally, it covers loops for displaying numbers and counting inputs, as well as a simple menu for arithmetic operations.

Uploaded by

fwb7290
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)
5 views2 pages

Program

The document outlines a series of flowcharts and programming tasks related to basic mathematical operations and conditions. It includes checks for even/odd numbers, comparisons of values, eligibility for voting based on age, grading based on marks, and calculations for discounts and BMI. Additionally, it covers loops for displaying numbers and counting inputs, as well as a simple menu for arithmetic operations.

Uploaded by

fwb7290
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

1.

Flowchart to check whether a number is even or odd

2. Flowchart to check whether a number is greater than or less than zero.

3. Take two inputs from the user and display which number is smallest and Largest.

4. Take three inputs from the user and display which number is largest.

5. Flowchart to Check whether your age is 18 or greater. Then check whether you are eligible
to vote.

6. Flowchart for grades:

Input marks from [0 - 100]

90 - 100 - A grade

80 - 89 - B

70 - 79 - C

60 - 69 -D

below 60 - F

7. Input Balance & Withdrawal amount

If withdrawal <=Balance, Then Deduct

Also, Display new Balance

8. Flowchart for BMI:

BMI < 18.5 (Underweight)

18.5 - 24.9 (Normal)

25 - 29.9 (Overweight)

>=30 (Obese)

9. Input total purchase amount

if >=5000, then give 20% discount

if >= 2000 and < 5000 then give 10% discount

Otherwise, no discount

Also display net amount

10. Check whether a number is +ve or -ve, then check whether it is even/odd.

11. a, b, c are sides of a three sides figure


Check whether the shape is a triangle and

Check its type.

12. Check whether a number is +ve or -ve,

If even, check whether it is divisible by 4

If odd, check whether it is divisible by 3

13. Display numbers from 1-10 using loop.

14. Take 10 inputs from the user and check whether it is even/odd using loop.

15. Display numbers from 10-1 using loop.

16. Flowchart for:

Take input 10 times regardless of sign and determine the final value of Count after the loop
terminates

Also count how many of them were positive

17. Take factorial of a number

18. Menu

1. "Add two numbers"


2. "Subtract two numbers"
3. Multiply two numbers"
4. "Exit"

You might also like