-3

enter image description here

How to show '%' symbol on C language output like the photo that i show ?

Olaf Dietsche
  • 72,253
  • 8
  • 102
  • 198
  • 5
    Does this answer your question? [How to escape the % (percent) sign in C's printf?](https://stackoverflow.com/questions/1860159/how-to-escape-the-percent-sign-in-cs-printf) – Fugi May 10 '21 at 13:33

1 Answers1

0

I assume you are using printf(). In that case, use double % signs eg: printf("100%%");.

PQCraft
  • 328
  • 1
  • 8