Dontronics Home Page  Small Software Project for Dontronics.
 
Home
 

Dontronics Catalog
 
 
 
 
 
 
 
 
 
 
 

 

Home Products Site Map Order Contact What's New Books Free Files Links FAQ

Wanted:
Some one to write a very simple program for me.

I need a basic windows program to do a bit of simple maths. 
It must be able to work with w98/XP, etc.
Source code must be provided.

As I see this job as being small, I would consider a cash transaction, or a barter of goods if suitable.

After launching the program, it will ask for a directory, which you will be able select with the mouse in the traditional windows fashion.

This directory will hold a group of ascii text files. Non ascii text files could accidentally appear in this directory also.

After selection, the program will need to calculate some figures based on the contents of the files, and will report the results to the screen. Ability to print this report is also required.

In each text file, there are two consecutive lines of text that are used to calculate the results. These can be seen in the two examples below:

Example 1:
PAYMENT IS APPROVED. GRAND TOTAL: $180.00 Australian Dollars.
Country = AUSTRALIA GST Payable = YES    GST: $16.36

Example 2:
PAYMENT NOT YET APPROVED. GRAND TOTAL: $28.00 Australian Dollars.
Country = Canada GST Payable = NO

Files that don't have "PAYMENT IS APPROVED." won't be used for dollar calculations, however the number of these files and file names need to be reported.

The report should look something like this:
=============================
Total files = 73
"PAYMENT IS APPROVED." files = 70 

"PAYMENT NOT YET APPROVED." files = 2
smith020906.txt
jones020906.txt

Other random files = 1
junk.html

"GST Payable = YES" files = 20
GRAND TOTAL amounts = $862.00
GST: = $78.36 (Grand Total divided by 11)

"GST Payable = NO" files = 50
GRAND TOTAL amounts $1602.00

Total sales = $2464.00
=============================

I will supply a list of typical test text files for this job.

Please let me know if you have any further questions I can help you with. Cheers Don...
 

Dontronics Home Page

_
Copyright © 1996-2005 Dontronics