C Programming Solution
C Programming Solution
2. Write an algorithm and draw the flowchart to find the simple interest.
Algorithm:
Step 1: Start
Step 2: Input the values of principal (P), rate of interest (R), and time (N).
Step 5: End
Flowchart:
3. What are algorithms and flowchart?
o Algorithm: An algorithm is a step-by-step procedure to solve a problem or perform a
computation. It is written in plain language or pseudocode and provides a clear set of
instructions for solving a specific task.
o Flowchart: A flowchart is a graphical representation of an algorithm. It uses standard
symbols like rectangles (process), diamonds (decisions), and ovals (start/end) to illustrate
steps.