Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. int odomread = 0;
  2.  
  3. int odomarray[] = new int [Tripnum];
  4.  
  5. for(odomread = 0;odomread < Tripnum+1;odomread++) {
  6. System.out.println("Input Odometer reading" + odomread + ":");
  7. odomarray[odomread] = input.nextInt();
  8. //insert array here
  9.  
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement