
-----------------------------------
blissfullydysphoric
Tue Sep 16, 2008 9:07 pm

printf(&quot;help!&quot;);
-----------------------------------
Sorry bad joke.. anyways i was wondering how to print the % sign in the printf command. When I put

	printf("Please enter the interest rate on the investment: %");

 where i want the % sign to be infront of the input the user enters.

it gives me an error because the % sign shouldn't be there.

-----------------------------------
[Gandalf]
Tue Sep 16, 2008 9:18 pm

RE:printf(&quot;help!&quot;);
-----------------------------------
Use a double %, ie. instead of % use %%.

-----------------------------------
blissfullydysphoric
Wed Sep 17, 2008 9:21 am

RE:printf(&quot;help!&quot;);
-----------------------------------
Thanks I'll do that!
