dimanche 27 novembre 2016

(Java) Read list of int values, (sentinel -1), print only occurrences of 2 followed by 3

I need to write a program that reads the input from the user of a list of integers and prints only occurrences of 2 followed by 3, using while loop and if statements.

Thank you!

Aucun commentaire:

Enregistrer un commentaire