我正在尝试用C语言编写这个简单的代码,它要求用户给出一个正数,检查它是否是正数,然后只返回正数。positive.c:28:7: warning: implicit declaration of function 'GetInt' is invalid n = GetInt();#include <stdio.h>
int G
我目前在pset6,来自cs50,。我的代码根据问题的要求编译并打印左对齐金字塔,但是当我执行check50时,它们中的大多数都失败了。有什么问题吗?from cs50 import get_int
n = get_int("Height: ")
# While loop to check condition