COMPUTER GAYN
Q. write algorithm and flowchart to calculate the even numbers between 0 to 100?
ANS:-
ALGORITHM
• Step1. Start
• Step2. I 0
• Step3. Write I
• Step4. I I+2
• Step5. If (I <=98) then go to line 3
• Step6. End
FLOWCHART
COMPUTER GAYN
Q. write algorithm and flowchart to calculate the even numbers between 0 to 100?
ANS:-
ALGORITHM
• Step1. Start
• Step2. I 0
• Step3. Write I
• Step4. I I+2
• Step5. If (I <=98) then go to line 3
• Step6. End
FLOWCHART
0 Comments