Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class apples{
- public static void main(String[] args){
- int bucky[]={3,4,5,6,7};
- int total=0;
- for(int x: bucky){
- total+=x;
- }
- System.out.println(total);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement