mardi 18 septembre 2018

Assigning a 2-digit unique code in a variable

can you please show me how to add a 2-digit unique code in every user's input.

The problem scenario is, if the program takes 4 inputs from the user (input1, input2, input3, input4), the program should also assign a unique 2-digit code in every input.

this is just a small part of my assignment, but if you could guide me through how to get it, it will be a great help for me. You may give me a hint if you feel don't want to give the real answer, but this one's quite important for me as once I've got this I can get through all the rest of the codes :)

here is the example output:

45 Input1
90 Input2
88 Input3
10 Input4

Thanks very much




Aucun commentaire:

Enregistrer un commentaire