Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * @(#)tests.java
- *
- *
- * @author
- * @version 1.00 2013/9/17
- */
- public class tests {
- public static void main(String[] args)
- {
- System.out.println("How much did you score on your first test?");
- //data input
- int score1;
- int score2;
- int score3;
- int score;
- double average;
- int grade = 0;
- System.out.println("How much did you score on your first test?");
- score1 = TextIO.getInt(); // user enters test score here
- System.out.println("How much did you score on your second test?");
- score2 = TextIO.getInt(); //user enters test score here
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement