mercredi 4 août 2021

Illegal placement(?)

I have a 4x4 table and I have to ask the user to input a number at a location (eg, b1,c2, column then row) but for the 2nd number (and onwards) the user has to put it adjacent to another number or else 'it is not allowed' will be displayed and it will prompt the user to input the location again. how do I do this with indexes?

Aucun commentaire:

Enregistrer un commentaire