#include <stdio.h> int main() { int a;float b; scanf("a=%d,b=%f",&a,&b); printf("%d,%f\n",a,b); printf("%d\n",a+(int)b); getchar(); }
C语言:scanf()
原文:https://www.cnblogs.com/xkdn/p/14710305.html