Tutorial of sorts

new topic     » topic index » view thread      » older message » newer message

It looks like writing a tutorial is more work than anyone wants
to do - mainly because it's necessary to teach *programming* along
with *Euphoria*. So here's an alternative that makes it easier on
everybody, since anyone on this list can help when and if they want:

Assignment 1;
Write a program that takes input at the command line as follows:
C:> ex PAY Jose 40 12.00
and returns:
Name         Hours worked       Gross pay     Tax       Net pay
Jose         40                 480.00        120.00    360.00
Hints:
See command_line and printf in your Euphoria docs.
For simplicity, tax is assumed to be fixed at 25% of gross.

Everyone is welcome to post solutions. Credit will be given for
clear, concise code, good comments, and use of Euphoria-specific
language features. Major points will be deducted for programs that
do not work. A lovely certificate of completion will be awarded at
the end of the course. That and $1.75 will get you a cup of Starbucks.

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu