Flowcharts and Algorithms
Flowcharts and Algorithms
Answer:-
Algorithms:-
Step1: start
Step3: if (n%2 == 0), Write " even number" else Write " odd number"
Start 4 : Stop
Flowchart:-
Algorithms
or Flowchart for the following problems:
Answer:-
Algorithms:-
Step1:start
Step4:Stop
Flowchart:-
Algorithms
or Flowchart for the following problems:
3.Flowchart and algorithm for you are eligible for vote or not.
Answer:-
Algorithm:-
Step1:start
Step3:if (Age>=18),”write you are eligible for vote”,else write “you are not eligible for what”.
Step4:Stop
Flowchart:-
Algorithms
or Flowchart for the following problems:
4.Flowchat and Algorithms to calculate area of triangle for a,b and c three side:-
Algorithms:-
Step1:Read a
Step2:Read b
Step3:Read c
Step6:print area
Step7:Stop
Flowchart:-
Algorithms
or Flowchart for the following problems:
Answer:-
Algorithms:-
Step1:Start
Step3:print number
Step4:square_root=number^0.5
Step5:print square_root
Step6:Stop
Flowchart:-
Algorithms
or Flowchart for the following problems: