mardi 6 novembre 2018

How to remove the comma after the last element in an array? [on hold]

I'm writing a program that asks the user to input an array then the program prints it out. for example, it prints 3, 4, 6, 9, but i want to remove the comma after the last element using an if statement.

Aucun commentaire:

Enregistrer un commentaire