::Jabatan Sains Komputer::
::Fakulti Komputer,
Media dan Pengurusan Teknologi::
10/26/2010
Exception 27 /10 /2010
Write a program that creates an input dialog box to perform integer divisions, as shown in following figure. The user enters two numbers in the text fields, Number 1 and Number 2. The division of Number 1 and Number 2 is displayed in the Result field (Figure 1).
[FIGURE 1]
Add an exception to handle invalid input as shown in Figure 2.
No comments:
Post a Comment