2 ms·Of course, the proper algorithm, when all are single digits, is to use an array [10]int.by srl 15y agoOf course, the proper algorithm, when all are single digits, is to use an array [10]int.