Questions: 619

Answers by our Experts: 487

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

You are required to design an application which provides options for food items offered in a Coffee shop, and the customer has to choose between tea or coffee in addition to any other food type. The program should then calculate the total cost for the items selected by the customers:
The prices for the items are as follows:

Tea N$ 14.00
Coffee N$ 16.30
Sandwich N$ 20.50
Burger N$ 23.90
Steak Pie N$ 18.30
Fresh Chips N$ 12.50
You have been tasked to create a small application to calculate the air-fare of an individual travelling
from Nadi to Savusavu based on the following requirements:
AIR VITI PRICE-LIST
Seat Price
Adult: $79.50
Child: $59.25
Luggage
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
fare.
iv. Write the code to display the total fare in a label (formatted as a currency)
20 The first stage of the software development lifecycle is which of the following?
Feasibility study
user requirements analysis
design of new system
analysis of the old system
18 When someone is searching for all economics books in the library catalogue but without having any specific book in mind, which data retrieval type is in use?
Subject search
Known-item
Key search
Query search
Moderation Exercise 1 – Central Heating
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
Fix the following code
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace @if
{
public partial class Form1 : Form
{
int secretNumber = 9;
int anyNumber;

public Form1()
{
InitializeComponent();
}

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";
else
lblOutput.Text = "Number is correct";
}

private void btnExit_Click(object sender, EventArgs e)
{
Application.Exit();
}
}
}
I have two homework questions in Visual Basic 2017 that I need help with- we are studying ADO.NET with VB and I am stuck. The first question if based off of a database created in Access. The database table is named SouthernStates. It has a total of 11 records. Each row (record) has the State Name, the State Capital, and the Population (in that order). Record/Row 6 is the state of Alabama, in which the capital is Montgomery. The homework question is write a statement that references the capital of Alabama and assign the value to the strCapital variable.

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.
A series of connected objects that will only allow one out of the multiple objects to be activated at the same time
??? Can be used to represent different information
recursive backtracking maze generator in windows forms
LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS