[code]
if (hours > 40)
{
pay = (40 * rate) + (hours - 40) * rate * 1.5 ;
[\code]
now it shouldn't over pay
Type: Posts; User: BitRusty
[code]
if (hours > 40)
{
pay = (40 * rate) + (hours - 40) * rate * 1.5 ;
[\code]
now it shouldn't over pay
now running the program/s from inside the IDE, now staying open to see results and able to adjust code accordingly. previously running program from the resident folder
years ago had to do the same exercise
here is a "simplistic" approach.
on my laptop it won't stay open long enough
to verify results
I am using Dev C++ and Windows 8
#include <iostream>