Can you divide a variable by a fraction in C++?