我有两个号码。
First Number is 2875 &
Second Number is 852145
现在我需要一个创建第三个数字的程序。
Third Number will be 2885725145
逻辑是
First digit of third number is first digit of first number.
Second digit of third number is first digit of second number.
Third digit of third number is second digit of first number.
Fourth digit of third number is second digit of second number;
很快。
如果任何数字有剩余的数字,那么最后应该附加。
我不想将 int 转换为字符串。
int CreateThirdNumber(int firstNumber, int secondNumber)
{
}
那么任何人都可以建议我解决这个问题吗?