Computer Science, asked by varshithsvk, 2 days ago

write an algorithm and draw a flow chart to print the table of 7 ?

Answers

Answered by Anonymous
1

Write a program and draw a flowchart to print the table of 7.

Program:

USING FOR and RANGE FUNCTION:

for i in range(1, 11):

print(i, "× d7 =", i*7)

USING WHILE FUNCTION:

n = 7

i = 1

while i<=10:

print(n, "×", i, "=", n*i)

i = i + 1

The flowchart of the asked question has been attached above.

To change in the flowchart: write 7 instead of "n" in the input parallelogram.

Attachments:
Similar questions