else condition


where did i mistake ??
thanks
Last edited on
closed account (Dy7SLyTq)
whats wrong with it?
my condition is wrong
closed account (Dy7SLyTq)
where?
1
2
3
4
5
6
7
8
9
10
11
12
13
14
  
          else 
          {
               totalG=hourss*rate;
               
         grossp(totalG);
          total+=totalG;
          }
  
    cout<<"Total gross pay: "<<totalG;
   return 0;
}
void grossp(float totalG)
{
what is the possible input for that.?
what is the problem about the code?
Topic archived. No new replies allowed.