1 2 /* 3 * This program completes the Mystery Song problem 4 */ 5 6 package mmw; 7 8 import note.SNote; 9 10 public class MysterySong { 11 public static void main(String[] args) { 12 SNote note = new SNote(); 13 note.text(); 14 note.play(); 15 note.rp(); note.play(); 16 note.rp(); note.play(); 17 note.lp(2); note.play(); 18 note.play(); 19 note.rp(); note.play(); 20 note.rp(); note.play(); 21 note.lp(2); note.play(); 22 note.rp(2); note.play(); 23 note.rp(); note.play(); 24 note.rp(); note.x2(); note.play(); 25 note.s2(); note.lp(2); note.play(); 26 note.rp(); note.play(); 27 note.rp(); note.x2(); note.play(); 28 System.out.println(); 29 } 30 31 } 32