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