There are some subjects in the curriculum that seem to be harder than all the others and visual basic is one of them. Sometimes students have no time to solve their visual basic problems or they just don’t have enough knowledge to understand the subject, and, as a result, they have poor studying progress. A lot of visual basic questions need to be solved and we are ready to provide you with help in this subject. Our professional specialists can easily give you all the Visual Basic answers you need and make things easier in the studying process.
Ask Your question
Need a fast expert's response?Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Search & Filtering
from Nadi to Savusavu based on the following requirements:
AIR VITI PRICE-LIST
1 bag : $25.00
More than 1 bags: $40.00
The user should select either adult or child fare option and enter the number_of_bags they will carry
in a textbox. Upon clicking the calculate button, the total fare should be displayed in a label.
a) Draw and appropriate user interface for this application
b) Code writing:
i. Declare two constants to store adult and child fare.
ii. Declare the appropriate variables and write the lines of code that will read the
number_of _bags from the textbox and convert and store it in an integer variable.
(Hint: use the Val() function)
iii. Use the if ..else structure determine the fare option selected and calculate the total
iv. Write the code to display the total fare in a label (formatted as a currency)
user requirements analysis
design of new system
analysis of the old system
The heating system in a school should be switched on if the average temperature is less than
17 degrees Celsius (˚C). The average temperature is found from the temperatures in the Art,
English and Music Departments. You are required to write a program that allows the user to
input the three temperatures. The program calculates and displays the average temperature
then displays ‘Heating should be on.’ or ‘Heating should be off.’ as appropriate.
You may practice this task at home, but won’t be able to refer to any notes or files when assessed.
Submit the following for marking in 1-word document:-
1. Your code listing
2. Screenshots for suitable test data
public partial class Form1 : Form
int secretNumber = 9;
private void btnGuess_Click(object sender, EventArgs e)
anyNumber = Convert.ToInt32(textBoxInput.Text);
if (anyNumber < secretNumber)
lblOutput.Text = "Number is low";
if (anyNumber > secretNumber)
lblOutput.Text = "Number is high";
lblOutput.Text = "Number is correct";
private void btnExit_Click(object sender, EventArgs e)
The second question is not related to the database; it's write a line of code to initialize a String variable named strCafe to a Select SQL statement that would select all the fields from a table named Java.