To output a double to the screen or concatenate it with a string, you use exactly the same mechanisms as you used with an int. double temperature = 17.5; ...
確定! 回上一頁