c++printf转义符%

%符号用%转义:

printf("%.1lf%%",pp);

见博客:https://blog.csdn.net/han1558249222/article/details/50412072

猜你喜欢

转载自blog.csdn.net/m0_37663482/article/details/86367550