i am completely new to programming.
And i am finding it difficult write a code to calculate percentage.
pls help.How to calculate percentage in turbo c? in c programming?
You can't just write?:
int A = 'amount';
int B = 'total';
int ANS = (int)((A/B)*100);
The basic variables you want to get to know the syntax to in any language:
int, double, float, string, char, byte
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment