Write two procedures that modify a variable – one using ByVal , one using ByRef . Show the difference.
Enter a number 1–7. Using Select Case , show the corresponding weekday name. Exercise Set 3: Loops (For, Do While, Do Until) 9. Multiplication Table Input a number from the user. Show its multiplication table from 1 to 10 in a ListBox. visual basic 6.0 practical exercises pdf
Input a name, search the recordset, and display the grade. Write two procedures that modify a variable –
Input N. Calculate and display sum = 1+2+…+N using a For loop. Using Select Case , show the corresponding weekday name
Ask the user how many numbers they want to enter. ReDim an array accordingly. Input values and show their sum. Exercise Set 5: Procedures & Functions 17. Function: Celsius to Fahrenheit Create a function CtoF(C) that returns Fahrenheit. Call it from a button click.
9 CommandButtons in a grid. Alternate X and O. Check for win or draw.