Help with creating a private method
<p>I am working on a project and have the following psuedocode:</p>

<pre><code>// create a private method, getIntValDialog, that returns an integer value and accepts
// two string values as arguments
    // declare and initialize a string variable, sValue, to an empty string
    // Accept input to sValue from a Input Dialog using smessage, stitle, and a question icon as arguments
    // return the integer converted value of sValue
        // end getIntValDialog method
</code></pre>

<p>I have an idea, but I don't quite understand how to set this up properly. The psuedocode tells me what I have to do, but I just need some help understanding and visualizing how this works. Any help would be appreciated :)</p>
