Visual+Basic

Welcome to the new topic concerning Visual Basics Programming Langauge

During this course you'll learn how to:
 * 1) Create a user interface
 * 2) Controlling forms in a project
 * 3) Add and control tools
 * 4) Add controlling codes to each tool

The given examples are: > If Text1.text <3 then > Text2.text= "You are not in school" > Else > If Text1.text <=5 then > Text2.text= "You are in KG" > Else > If text1.text <= 11 then > Text2.text= "You are in Primary" > Else > If Text1.text <=18 then > Text2.text= "You are in Secondary" > Else > Text2.text= "You are not in school" > End if > End if > End if > End if > The Code should be: > If text1.text > 100 then > Text2.text= "Invalid mark" > else > If text1.text >= 95 then > Text2.text= "Excellent" > Else > If text1.text >=85 then > Text2.text = "Very Good" > Else > If text1.text >= 75 then > Text2.text = "Good" > else > Text2.text= "Fair" > End if > End if > End if > End if > The Code should be: > If Text1.text >150 then > Text2.text= "60%" > Else > If text1.text >=100 then > Text2.text= "50%" > Else > Text2.text= "0%" > End if > End if
 * Enter the width and the length or a rectangle to find the area.
 * Enter a clear and close action buttons
 * Enter your name and age to display a message
 * Enter your marks to calculate the total
 * Enter your marks to calculate the average
 * Enter 3 prices to calculate the discount
 * Entere your narks and calculate the total to dispaly a comment (Pass/Fail)
 * Enter your age to check if you are in KG, Primary, or Secondary School
 * The Code should be:
 * Enter your mark to display Pass/ Fail comment
 * Enter your mark to display (excellent 100-95) (Very good 94- 85), (Good 84-75) (below 75 Fair)
 * Enter a price to give 60% discount if the price is greater than 150 JD, 50% discount for what is between 150-100 else 0 discount is given.