How many combinations of 3 digits are possible?
Ngày đăng:
07/01/2023
Trả lời:
0
Lượt xem:
77
In the program - Initialised 0 and u with 2 because 3 is the smallest three digit number without any of the digits being repeated. 4 loop condition 5 because 6 is biggest three digit number which follow constraint of - smallest combination of three digits without any of the digits being repeated. Any other combination of 7, 8 and 9 will be bigger than 6 and any three digit number bigger than 6 will violat one of the given constraints. |