I am in a programming class and we are making a simple program. In this program the user will put in five assignments, the points they got on that assignment and the total points available. I have all of the basic things except for a grading scale. I am trying to make it so when their percent is between 92 and 100 percent it will say you have an A in this class. This is what I have so far:
if ( pC >= 92, pC <= 100 ) {
System.out.print("\n You have an B");
}
So far that has not worked and I am having a lot of trouble.