1. Create a new Visual Studio project and name it LA_Activity_3.5
2. Write the code for the pseudocode algorithm you created in activity 3.1
3. Run the project to ensure you get the correct response by entering correct and incorrect data.
4. Publish a screen shot of your code, the pseudocode algorithm and any comments you have to your assessment document.
The code for the pseudocode algorithm:
If...
Else...
Notice the final message will vary according to whether the condition in the If...Then...Else statement is met.
When the condition decCostOfParcel > $100 is tested it evaluates to true or false and executes the correct code block accordingly.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment