Re: Help me please

2003-10-16 Thread Piers Cawley
Stefan Lidman [EMAIL PROTECTED] writes:

Shannon Francis [EMAIL PROTECTED] writes:

[...]

Oh dear. 

Asking a mailing list to do your homework for you is bad
enough. Asking a mailing list that has recently been quiet enough to
elicit jokes about it in the summaries is, well, we'll have to see
what sort of mood I'm in when I write the next one won't we?

 Hmm, a joke about p6l-SUBS. I wonder when that was :-)

Ooh yes. Good point. So far under the radar there haven't been any
posts to it since I started summarizing.

=head2 Meanwhile, in perl6-language-subs

perl6-language-subs? Whassat then?


Re: Help me please

2003-10-16 Thread Paul Johnson
On Thu, Oct 16, 2003 at 09:37:52AM +0100, Piers Cawley wrote:
 Stefan Lidman [EMAIL PROTECTED] writes:
 
 Shannon Francis [EMAIL PROTECTED] writes:
 
 [...]
 
 Oh dear. 
 
 Asking a mailing list to do your homework for you is bad
 enough. Asking a mailing list that has recently been quiet enough to
 elicit jokes about it in the summaries is, well, we'll have to see
 what sort of mood I'm in when I write the next one won't we?
 
  Hmm, a joke about p6l-SUBS. I wonder when that was :-)
 
 Ooh yes. Good point. So far under the radar there haven't been any
 posts to it since I started summarizing.

Then you obviously missed this very important thread:

  http://www.mail-archive.com/[EMAIL PROTECTED]/msg00326.html

I did wonder why it never made the summary.

-- 
Paul Johnson - [EMAIL PROTECTED]
http://www.pjcj.net


RE: Help me please

2003-10-16 Thread Jeffrey Carlyle
Paul Johnson  wrote:
 http://www.mail-archive.com/[EMAIL PROTECTED]/msg00326.html
 
 I did wonder why it never made the summary.

On the bright side, all of these recent discussion has finally given me
reason to setup a procmail filter to sort out this list.



Help me please

2003-10-15 Thread Shannon Francis
I need to put this in pseudocode and then write the program:
 
Develop a program that uses a while structure to determine the gross pay for each of 
several employees.  The company pays straight time for the 1st 40 hours worked by 
each employee and pays time and a half for hours in excess of 40 hours. You are 
given a list of the employees , the number of hours each employee worked last week and 
the hourly rate of each employee. Your program should input this information for each 
employee and should determine and display the employee's gross pay.
 
This is what  I got up tp so far in the the pseudocode. Is this right?:
 
Determine Gross Pay of employees
Initialize Number of Hours Worked
INitialize hourly rate of each employee
Initialize number of employees
Initialize straight- time is first 40 hours worked
Initialize time and a half is excess of 40 hours
 
Input number of hours worked and hourly rate
 
While hours worked is less than or equal to 40
Input Gross Pay= Rate * Hours
 
While hours worked is more than 40
Input Gross Pay = Rate * 1 1/2 Hours
 
 
 
 
 
Print Gross Pay of employess for straight- time
Print Gross Pay of employees for time and a half
 
 
This is all I have so far , I know some is missing can you help me please . It will be 
greatly appreciated.
Thank You
 
 
 


-
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search

Re: Help me please

2003-10-15 Thread Piers Cawley
Shannon Francis [EMAIL PROTECTED] writes:

[...]

Oh dear. 

Asking a mailing list to do your homework for you is bad
enough. Asking a mailing list that has recently been quiet enough to
elicit jokes about it in the summaries is, well, we'll have to see
what sort of mood I'm in when I write the next one won't we?


Re: Help me please

2003-10-15 Thread Stefan Lidman
Shannon Francis [EMAIL PROTECTED] writes:

[...]

Oh dear. 

Asking a mailing list to do your homework for you is bad
enough. Asking a mailing list that has recently been quiet enough to
elicit jokes about it in the summaries is, well, we'll have to see
what sort of mood I'm in when I write the next one won't we?

Hmm, a joke about p6l-SUBS. I wonder when that was :-)

/Stefan


Re: could u help me please?

2003-09-26 Thread Paul Johnson
On Thu, Sep 25, 2003 at 09:16:43AM -0700, Shannon Francis wrote:

 i tried to build a program and have only one error but seem not to be
 able to fix it. i think it is a rather small one. i would really
 appreciate it if you help me with this situation:
  
  if (num1 %2 =0)
 the error is: error C2106: '=' : left operand must be l-value.
  
 thank you very much. i await your answer.

Wow!  How did you find this list?  The last message I got here was over
two years ago.

And how did you choose this list?  Its name has little to do with your
problem.

In any case, try

if (num1 % 2 == 0)

and look for a C list or newsgroup for any subsequent problems you might
have.

-- 
Paul Johnson - [EMAIL PROTECTED]
http://www.pjcj.net


could u help me please?

2003-09-25 Thread Shannon Francis
i tried to build a program and have only one error but seem not to be able to fix it. 
i think it is a rather small one. i would really appreciate it if you help me with 
this situation:
 
 if (num1 %2 =0)
the error is: error C2106: '=' : left operand must be l-value.
 
thank you very much. i await your answer.



-
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search