2198

here is instruction and here are code I wrote. it runs and produce right result but I am not so sure this is how instruction is asking me to
write the code. could you verify and see if I did...