Ask Experts Questions for FREE Help !
Ask
    karilynngodd's Avatar
    karilynngodd Posts: 10, Reputation: 2
    New Member
     
    #1

    Nov 3, 2010, 10:48 AM
    modules fill in blank
    Module main()
    //Declare local variables
    Declare Real totalSales
    ______________________
    ______________________
    ______________________
    ______________________

    //Function calls
    Call inputData(totalSales)
    call calcCounty(totalSales, CountyTax)
    _________________________________
    _________________________________
    _________________________________
    End Module

    //this module takes in the required user input
    Module inputData(real ref totalSales)
    Display 'Enter the total sales for the month.'
    Input totalSales
    End Module

    //this module calculates county tax
    //totalSales can be a value papameter because it is not changed in the module.
    //countyTax must be a reference papameter because it is
    //Changed in the module
    Module calcCounty(real totalSales, real ref countyTax)
    countyTax = totalSales * .02
    end Module

    //this module calculates state tax at 4%
    Module _________________________
    ___________________________
    ___________________________
    ___________________________
    ___________________________
    End Module

    //this module calculates total tax
    Module ________________________
    __________________________
    __________________________
    __________________________
    __________________________
    End Module

    //this module prints the total, county, and state tax
    Module __________________________
    ____________________________
    ____________________________
    ____________________________
    ____________________________
    End module

Check out some similar questions!

My fluidmaster tank will not fill and when I run water in the sink the tanks fill? [ 1 Answers ]

My tank will not fill after flushing ( not the bowl) however when I run water into the sink it fills

Modules (timesTen) [ 2 Answers ]

Design a module named timesTen. The module should accept an Integer argument. When the module is called, it should display the product of its argument multiplied time 10.

Bathtub Dap-out -- to fill or not to fill in? [ 5 Answers ]

Here is my situation: I have a house on a concrete slab that unfortunately sits right on top of an underground spring (we have several springs on the property). This was discovered by finding 4-6 inches of water throughout the entire finished basement (and destroying everything down there) right...

Visual basic modules [ 2 Answers ]

hello I defines a general array in a module in my project and I assigned values to this array but when compile this project gives error:invalid out side procedure please help me thanks a lot


View more questions Search
 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.