Well, try using double rather than float. Float is quite inaccurate. That can be the reason.
Double is twice as accurate as float is.
Type: Posts; User: mestyanm
Well, try using double rather than float. Float is quite inaccurate. That can be the reason.
Double is twice as accurate as float is.
You should press another key in Notepad, when a person is going out, for example 0. Then count the number of 1-s and 0-s in the file.
Sorry!
I just wanted to help.
As far as I know, using namespace std is required if you want to use the C++ functions of the <iostream> library (like cin, cout, cerr). If you just use C functions like printf() or scanf(), you...