thanks,
If I do that wouldn't it still break because the user can enter 0800 (hours) for the time. Or will the program just eliminate the leading '0' that they enter.
Im a C++ student trying to write a simple telephone program. Im sure you guys can figure this out.
heres my code. When I compile I get "error C2041: illegal digit '8' for base '8'" on the first if statement.
#include <iostream>
using namespace std;
float net(float, int);
float...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.