Coding Global Background
Coding Global

Adding round brackets in printf function

Archived 3 months ago
3 messages
2 members
Created 4 months ago
Updated 16 days ago
Open in Discord
K
koitopi
Verified
Is there a basic way I am able to add (s) in my printf function and it gets recognized as text?
I want my output to be something like "You have bought 3 pizza(s)", so I tried it but it gives me an error

I am a complete beginner to coding and C, so I would really appreciate the help.
Adding round brackets in printf function

Replies (4)