hey.. i solved this problem but there is one problem that when i enter 4 numbers together how can i put in the array every digit..here is the problem and my solution:
and my solution:
Problem in the input
Post a Reply
|Oldest Newest Rating|
· June 11, 2015
I would store the 4 digit number as a string. (You could make it work with all 16 digits as well)
then you can use string functions to look at each digit separately.
pass a digit to a function to convert that digit to int and then store it in the array.
Hope this helps.
Used in many types of software including music players, video games, and many large scale applications.
|Bucky Roberts Administrator|