+ 1
How to print "%" in C ???
3 Respuestas
+ 3
Add one % before it.
float half_price = 50.0f;
printf( "Discount %.f%%\n", half_price );
+ 2
puts("%");
+ 1
SAN in puts function yiu don't need to write format specifiers u can just pass message whatever you want