Basic Question, how to read a chart (i.e. a user input his age, sex, social number...) - Java
<p>How do I start doing that on java, I mean, I start with two diferent variables? One for Int (which is the whole numbers, such as age and social number) and String or anything else for the words inputs.</p>

<p>And after reading that, we have to take the avarage age in the "group" of people who used that program
also, show the total number of people who participated.</p>

<p>My concept went a bit like this:</p>

<pre><code>import java.util.*;

public class apple {
    public static void main(String args []) {
           Scanner input = new Scanner(System.in);
           int age, snum;
           String sex, exp = yes or no;
           //aaand i donno how to proceed here. &gt;*&lt;
    }
}
</code></pre>
