The processData method

Write the code in the method named processData to do the following:

Figure 8. Input dialog for coach's name.

 

Figure 9. Program output for coach's name.

 

Figure 10. Input dialog for coach's age.

 

Figure 11. Program output for coach's age.