hi iam praveen i am having doubt
if iam having like this then what is wrong in it i am not able to find it output is not coming
Code:
  main()
    { int  n, s ,pay;
      printf("Enter the value of n\n");
       scanf("%d",&n);
       while(n>40)
       {    s=(n-40)*12;
            pay=s*10;
             printf("the pay  is =%d",pay);
       }

)
this is to find the pay ment of the employees of 10 to pay the money above 40 hours as 12 per extra hour how to fing mistake or what is the mistake

Last edited by shabbir; 2Apr2008 at 14:40.. Reason: Code block