最佳答案:只要在格式控制符里输入2个 %% 就可以了,例如:#include <stdio.h> int main() { int a=90; printf("%d%%\n",a); return