1.Draw a flowchart to accept the principle, rate, and time values and display the simple interest.
Ans.
2. Draw a flowchart that accepts a number and displays its cube.
Ans
3. Draw a flowchart that accepts the length and breadth of a rectangle and displays its area and perimeter.
Ans
4. Draw a flowchart that accepts a number and checks whether it’s positive, negative, or zero.
Ans
5. Draw a flowchart that accepts a number and checks if the number is prime.
Ans
6. Draw a flowchart that prints the following Fibonacci series: 0 1 1 2 3 5 8.
Ans
7. Draw a flowchart that prints the following series: 1 2 4 8 16 32
Ans
Ans.
2. Draw a flowchart that accepts a number and displays its cube.
Ans
3. Draw a flowchart that accepts the length and breadth of a rectangle and displays its area and perimeter.
Ans
4. Draw a flowchart that accepts a number and checks whether it’s positive, negative, or zero.
Ans
5. Draw a flowchart that accepts a number and checks if the number is prime.
Ans
6. Draw a flowchart that prints the following Fibonacci series: 0 1 1 2 3 5 8.
Ans
7. Draw a flowchart that prints the following series: 1 2 4 8 16 32
Ans
Thank you niit University
ReplyDelete