============================== QUICK EXERCISE: nested for-loops > Picture p = new Picture( "/Users/wallingf/desktop/buddha.jpg" ); > p.fogEffect( 100 ); ............................................. finally, reset > p Picture, filename /Users/wallingf/desktop/buddha.jpg height 450 width 600 > 450 * 600 270000 > (450 * 600) * (450 * 600) -114444032 > (long) (450 * 600) * (450 * 600) 72900000000 ............................................. try other solution > Picture p = new Picture( "/Users/wallingf/desktop/buddha.jpg" ); > p.fogEffect( 100 ); > p.show(); ** This duplicates the code for making a pixel grayscale. ** How could we reuse code?