编辑器
#include
#include
int main() { char str[] = "24 degrees"; int amount = atoi(str); printf("%d", amount); return 0; }
24