Professional Documents
Culture Documents
Final Computer - 3prep - Scond - Term - English 6
Final Computer - 3prep - Scond - Term - English 6
Final Computer - 3prep - Scond - Term - English 6
The double quotes "" "" are used if the value of constant is a stringvalue.
The hashes # # are used if the value of constant is date ortime.
Dear student, with the help of your teacher, to prepare a program using VB.NET language that
receives a numeric value for the radius of a circle, and its circumference and area is calculated when
you press the "Command button".
Note that: area of a circle = 𝝅𝒓𝟐 and the circumference of a circle = 𝟐𝝅r where: r represents the
radius, π = 22/7, do the following:
(1) design a form window as shown in figure(1-2):
We will write the code required to calculate the Area of a circle using the Event Procedure
(Button1_Click) and, the circumference of a circle using the Event Procedure (Button2_Click)
and the result will be one ofthem.
8/60