Ask Question

The following algorithm should output the t times table in the format:

1 x 8 = 8

2 x 8 = 16

3 x 8 = 24 ... (up to 12x)

Correct errors in the pseudocode and complete the output statement.

t = INT (INPUT ("Enter the times table you want to output:"))

FOR x = 1 TO 12

p = t * t output statement using p needed here

NEXT x

PRINT ()

+4
Answers (1)
  1. 11 May, 05:26
    0
    t = INT (INPUT ("Enter the times table you want to output:"))

    FOR x = 1 TO 12

    p = t * x

    PRINT (x + " * " + t + " = " + p)

    NEXT x
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “The following algorithm should output the t times table in the format: 1 x 8 = 8 2 x 8 = 16 3 x 8 = 24 ... (up to 12x) Correct errors in ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers