printing the % sign?

Hello,
I just want to know how to print the % as a text?
Thanks
Carl3003Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Jaime OlivaresConnect With a Mentor Software ArchitectCommented:
if you are using printf:

printf("Here is the percentage sign: %%");

if not:

puts("Here is the percentage sign: %");
0
All Courses

From novice to tech pro — start learning today.