Display two messages below the button if otherwise

Assignment Help Computer Engineering
Reference no: EM132116051

Question:

1. Create a VB.NET Windows Form Application that does the following:

(1) Display two textboxes and a button. The user is expected to input a student's A-number into the first textbox and input a name into the second textbox.

(2) Display a message "XXXXXX's student A-number is A########" below the button after the user inputs and clicks the button, where XXXXXX and A######## should be the inputted name and A-number respectively.
Print your Form1.vb source code. Do NOT print/submit the user interface.

2. Create a VB.NET Windows Form Application that does the following:

(1) Display an interface, which includes a textbox and a button, for the user to calculate the HST and total price of a textbook. The user is expected to input a price of a textbook into the textbox.

(2) After the user inputs and clicks the button,

A. Check if the user inputs a numeric value in the textbox using the IsNumeric(...) function.

B. Display a message "Please input the numeric price" below the button if the user's input in the textbox is not a number.

C. Display two messages below the button if otherwise. One message starts with "HST: " followed by the value of the HST which is 15% of the user's input in the textbox.

The other message starts with "Total: " followed by the total price which is the sum of the HST and the user's input in the textbox.

Reference no: EM132116051

Questions Cloud

The best function prototype for the given function : Assume a program contains a void function named calcNewPrice(). The function receives two double variables named oldPrice and newPrice.
What proportion of boxes is underweight : Q1: What proportion of boxes is underweight? Q2: How heavy does a box have to be in order for the box to be labeled overweight?
Write a reservation system for an airline flight : Write a reservation system for an airline flight. Assume the airplane has 10 rows with 4 seats in each row.
What is the point estimate of the population mean : What is the point estimate of the population mean? Develop a 98% confidence interval for the population mean
Display two messages below the button if otherwise : Display two textboxes and a button. The user is expected to input a student's A-number into the first textbox and input a name into the second textbox.
How many class intervals are there : The midpoint of the first class interval is 19.5, and the last class interval ends at 51. How many class intervals are there?
Write a sql statement to show sku and description : Write a SQL statement to show sku and Description for all products having a SKU description that includes the word ‘foot'.
Expected frequency for men preferring packaging a : For this sample, 23 of the men preferred packaging A, and 20 of the women preferred packaging A. If a chi-square test is used to evaluate the relationship
Name the four components of a database system : Name the four components of a database system. List the functions of a database application. What are three possible modification problems.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd