Write a Basic program based on the pseudo code developed for Question 2 in Tutorial Week 5 (find the larger of two numbers).
Write a Basic program based on the pseudo code developed for the tax problem in Lecture 2 week 5.
Note: Income is an Integer, this is declared as a Long in Basic.
Due date: Computer Lab week 6
Marks: 2%
Question 1 above is Assessable Tutorial C. Hand in a title page as specified in Assessable Tutorial A, a printout of the code for question 1 and a printout of the first program run for question 1.
The printout of the code should be from copied from within Access and pasted into a MS Word document (or other Word Processor). Ensure that a monospaced (non-proportional font) such as Courier New is used for the code.
To obtain a printout of a program run you need to capture the input boxes and the immediate window. To capture the current Window, ensure that the window is selected (e.g. place the cursor in the desired window) and press Alt+Print Screen. Alt+PrintScreen captures an image of the window the cursor is in and puts it in the Windows Paste Buffer. To print the image of the window, open MS Word and Paste the image into a new document, then print the document. To provide a printout of the test runs, capture each window separately. To capture the Immediate window rather than the whole Access window, you need to undock it. To do this Right mouse click on the Immediate window and select Dockable (only if it doesn't already have a tick next to it), the Immediate window should now be a floating separate window that can be captured by itself.
Note: if you can't undock the immediate window and capture it; capture that whole screen and use the cropping tool in Word to crop the image so that it contains only the immediate window.
Written by Tim Whitfort.