我有一个程序,我正在做,我想输入两个数字,以便LMC可以输出最小的一个。我的代码给了我最大的数字,帮我修复它。 INP
STA first
INP
STA second
SUB second
BRP secondBig
LDA second
OUT
BRA endProgram
secondBig LDA second
OUT
endProgram HLT
first D
我有困难,了解如何开发递推关系。我给出的代码是 int result = bizarre(n, n);
public static int bizarre (int first, int second)
{
if (second <= 1)
{
int temp = 0;
for (int i = 0; i < first; i++)
tem