lel Posted March 2, 2015 Author Share Posted March 2, 2015 We have only been taught some very bare basics like variables and modules. We have not yet been taught how to actual write and run a program yet.I was hoping someone here with programming knowledge would look at this and tell me what they think.Property TaxIt is suppose to make use of modules, ask the user for actual value of land, and call a module to calculate assessment value, and display the result, then call another module to calculate the property tax and display that result. How does this look to you guys?```Module main() Declare Real actualValue1 Display "Enter actual value of land." Input actualValue1 Declare Real assessmentValues Call getAssessmentValue (actualValue1) Declare Real propertyTaxation Call PropertyTaxation (assessmentValues)End ModuleModule PropertyTaxation(Real assessmentValues)Declare Real propertyTaxationSet propertyTax = (assessmentValues / 100) * 0.64Display "Property tax is:", propertyTaxationEnd Module Module getAssessmentValue(Real value) Set assessmentValues = value * 0.60 Display "Assessment value is:", assessmentValuesEnd Module``` Link to comment Share on other sites More sharing options...
lel Posted March 3, 2015 Author Share Posted March 3, 2015 This was just 1 part of three parts I had to turn in. There was an error found ( my professor made a program to read pseudocode and check it for errors lol) The program found that I forgot to declare assessmentValues ( this is so great I actually understand what that means! Before this class I had no idea about anything with programming.) Combining all three parts of the assignment, I made a A, but just barely. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now