Getting a number over 100?

Started by
2 comments, last by Deranged 20 years, 3 months ago
How would i go about setting up a perportion in c++ to get ANY number over 100. In real lif i''d just set up a purportion. EG: 70/1 = x/100 which would in turn make x = 7000.
Advertisement
Uh... inverse operation? Just multiply the number by 100 and you get the proportion.
O duh its getting late.
quote:Original post by Scythe Wielder
...and you get the proportion.


Oh, proportion. I was wondering what the hell he was on about.
My stuff.Shameless promotion: FreePop: The GPL god-sim.

This topic is closed to new replies.

Advertisement