Coding Global Background
Coding Global

Adding round brackets in printf function

Archiviert 2 months ago
3 Nachrichten
2 Mitglieder
3 months ago
In Discord öffnen
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

Antworten (3)