Type mismatch: cannot convert from int to String
<pre><code>public String getMessage (int numEggs) {

    int a = numEggs/12;
    int b = numEggs%12;

    if ( numEggs &lt; 0) {
        System.out.println("Invalid number");
    } else {
        System.out.println("Your number of eggs is "+ a +" dozen(s) and "+ b+".");
        return;
    }
}
</code></pre>

<p>So I keep getting <code>Type mismatch: cannot convert from int to String</code> when I try to put something in the return; what's wrong with the code? I have to use <code>getMessage (int numEggs)</code> as it is part of the question I was given.</p>
