#include <stdio.h>
int units = 0;
void critic(void);
int main()
{
extern int units;
printf("How many pounds to a firkin of butter ? \n");
scanf_s("%d",&units);
while (units != 56)
critic();
printf("You must have looked it up!\n");
return 0;
}
void critic(void)
{
printf("No Luck, my friend.Try again!\n");
scanf_s(" %d ", &units);
}
我编程后形成的答案是这个:请问如何解决这个问题?