正确代码如下,如有帮助,请点击一下采纳谢谢:
#include <stdio.h> int main() { int n; float score; scanf("n=%d f=%f", &n, &score); printf("%d %f\n", n, f); return 0; }