else condition

Mar 21, 2013 at 3:00am

where did i mistake ??
thanks
Last edited on Mar 22, 2013 at 9:57am
Mar 21, 2013 at 3:26am
closed account (Dy7SLyTq)
whats wrong with it?
Mar 21, 2013 at 3:31am
my condition is wrong
Mar 21, 2013 at 3:33am
closed account (Dy7SLyTq)
where?
Mar 21, 2013 at 3:36am
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)
{
Mar 21, 2013 at 3:39am
what is the possible input for that.?
Mar 21, 2013 at 11:27am
what is the problem about the code?
Topic archived. No new replies allowed.