Computer Science, asked by deepakbajaj324, 5 months ago

Write a code in basic -256 to print the table of 3

Answers

Answered by allysia
3

Language:

BASIC-256

Program:

input "Enter the last limit: ", n

for i = 0 to n

print i*3

next i

Output:

Enter the last limit: 10

3

6

9

12

15

18

21

24

27

30

Explanation:

  • For loop run the loop till n and returns the number's product with 3.

Attachments:
Answered by Anonymous
1

Answer:

Required Answer :-

Input is as follows :-

input"Enter the last limit (Ex - 33)"

for i = 3 to n

print i*3

next i

Output is as follows :-

3

6

9

12

15

18

21

24

27

30

33

Similar questions