“The” Book Of CLearn C Programming
Home / 1st Edition Solutions

Flowcharts

1. Which of the following statements is/are true

1. Arrows in a flowchart can be bidirectional.

Ans: False. Arrows in a flowchart are unidirectional.

2. Arrows indicate the flow of logic in a flowchart.

Ans: True.

3. There can be only one processing block in a flowchart.

Ans: False. There is no limit on number of processing blocks.

 

2. Draw a flowchart for a program that reads three integers and prints their sum.

Flowchart: sum of three numbers
Flowchart to compute sum of three numbers

3. Draw a flowchart for a program reads in principal amount, interest rate, and tenure of a deposit and computes simple interest.

Flowchart: simple interest
Flowchart to compute simple interest