vendredi 3 décembre 2021

I have to print pattern in js

How can I print this using for loop and console.log I tried to print it with only console.log but it's is not a solution of this task ) and I have to use 'use strict'

Print the following pattern:

1

2 6

3 7 10

4 8 11 13

5 9 12 14 15

Aucun commentaire:

Enregistrer un commentaire