Docstoc

SHEET_2 windows application

Document Sample
SHEET_2 windows application Powered By Docstoc
					                       Arab Academy for Science & Technology

College of Engineering & Technology                   College of Computer Science
Computer Engineering Department
Course : Advanced Programming                                Time : October 2004
Dr. Yasser Fouad
Eng. Mohamed Gaafar


                                      Sheet No . 2
                                   Windows Application
   1. Write a windows application that calculates and displays time table for a
   certain number entered by the user in a text box, the time table should be
   displayed in a message box

shown in this figure :




2. Write a windows application that simulates the windows calculator use
operations (+ ,- , * , /) only and use one textbox for user input and displaying
output
3. Write a windows application that reads user’s salary in a text box and reads a
user category from a radio button and calculates the Tax based on the following
rules:          Category A        tax = 5% * salary
                Category B ·········· tax= 10% * salary
                Category C ·········· tax =15% * salary
4. Write a windows application that generates 10 random numbers and displays
these numbers in stars in one message box

         shown in this figure :
5. Write a windows application that simulates the rolling of two dice and displays
an image that matches the two faces that appears on two labels.
(Hint: Use random number generator)

				
DOCUMENT INFO
Shared By:
Categories:
Stats:
views:4
posted:3/13/2012
language:
pages:2
Description: c sharp exercise and assingment