-2
How the code looks printed如何在C++中打印字母和符號後保留在一個地方?
How I want the code to look when printed(not the numbers just the colon:)
不同的方法,我試圖從移動保持結腸\
printf("COURSE GRADE : POINTS NEEDED ON FINAL : PERCENTAGE NEEDED ON FINAL\n");
printf("A : %d : %5.2f%%\n", neededA, percentA);
printf("B : %d %c %5.2f%%\n", neededB, 58, percentB);
printf("C %14c %d %24c %5.2f%%\n", 58, neededC, 58, percentC);
printf("D : %d %0c %5.2f%%\n", neededD, 58, percentD);
您的移位鍵可能會被卡住。你可能想投資一個新的鍵盤。我們真的不喜歡在這裏被淘汰 - 這真是粗魯和惱人。它甚至會在你懷**的時候變得更加糟糕,因爲它表明你正在嘗試着**甚至更糟糕的**。請降低你的聲音。 –
使用'\ t'符號 – fnc12
甜蜜感恩的傢伙 – Patrick