<p>I cant quite get this prgm to work, so I need ur help guys!</p>
<p>my assignment was to have the user enter his or her letter grades for 6 subjects, some how calculate their GPA, and then Print it out.</p>
<p>what I thought of was creating six variables (grade 1, grade2...), and then if the input reads the character "A". then automatically assign it a value of 4, or if the input was "B", assign it a value of 3...., and then add grade 1, 2, etc...</p>
<p>but I cant figure out how to go about coding this...</p>
<p>any other approaches??? if u could just post ur code, it would be helpful=)</p>
<p>k thanks, I also need to include standard deviation and a dialog box for the user to enter his grades. I have working codes for both things, but they are all in one class. one of our rqueuirements is to have a minimum of two classes… any way that I can fix this…cuz it seems like a lot of work to construct another class and write my own methods and stuff… help me guys!=)</p>
<p>I tried putting the code for calculating stard. dev. in another java class (created a new one from the dropdown menu) and " extends JComponoent," but it was only for shapes and boxes I guess. any other way I can make my existing code into two classes?</p>