Hey there guys, im new to the forum and new to the c++ language or any programming language for that matter. Was wondering if you could help me out.
Writing this program here to display payLump if the hours input are greater than 40.
I was also wondering why i have to place the 3 braces at the bottom of the code block? The book im using has an example without having those 3 at the bottom of the code block. Thanks in advance.
Here is what i have so far:
#include <iostream>
using namespace std;
int main ()
{
double hours;
double payLump;
double payHrly;
cout << "Please advise hours worked this week: ";
cin >> hours;