-1
爲什麼會出現空白輸出窗口?dev C++中的空白輸出窗口
#include <stdio.h>
main()
{
int x, y, sum, product;
scanf("%d", &x);
scanf("%d", &y);
sum = x + y;
product = x * y;
printf("%d\n", sum);
printf("%d\n", product);
}
歡迎來到stackexchange。有幾件事情:首先,該代碼的截圖是沒有幫助的,如果你想向我們展示,而是將其粘貼在你的代碼有問題。第二,關於這個問題,它如何運行,你是否嘗試鍵入數字,它試圖讀取 – WorldSEnder
程序的更重要?嘗試輸入「4 5」,然後按Enter鍵。 – redcurry