Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class chemistryReadings {
- public static void main(String[] args) {
- // TODO Auto-generated method stub
- int[] readingNum = {45, 43, 56, 46, 59, 54, 49, 40, 57, 38};
- for(int i=0; i<=9; i++)
- if(readingNum[i]>50)
- {
- System.out.println(i+1);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement