Write an algorithm and draw the flowchart for the following program. Accept the value ,if value is equal to 1,say “HI”. Say “hello” if value is equal to 2 “ no match found”,if none of the conditions are matching
Answers
Answered by
1
Answer:
Step 1: Start
Step 2: Read the number and store it in a.
Step 3: Calculate cube of number as a * a * a
Step 4: Print cube of number
Step 5: Stop
Answered by
1
Answer:
Step 1: Start
Step 2: Read the number and store it in a. Step 3: Calculate cube of number as a* a
*a
Step 4: Print cube of number
Step 5: Stop
Similar questions