Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a program in Visual Studio C# windows form How it works The user selects a book from the combo box, and the application displays

Write a program in Visual Studio C# windows form

How it works

The user selects a book from the combo box, and the application displays the unit price, sales units, and sales dollars for that book. It also calculates and displays the average price for the book.

What do you need to have

This application uses separate arrays (up to 4 arrays) that are used to store the books info, unit price, sales units, and sales dollars for each book as follows:

Book ID

Index

Unit price

Unit sales

Dollar sales

CICS

0

54.00

1,306

42,779

COBOL

1

62.50

866

32,745

Java 2

2

49.50

2,517

74,741

JCL

3

62.50

1,450

52,913

VB.NET

4

49.50

462

18,320

When this application starts, it loads the sorted list with the book IDs and indexes, and it loads the combo box with the book IDs.

When the user selects a book from the combo box, this application uses the value of the selected item to get the value of the associated item in the sorted list. Then, it uses that value to retrieve and display the information for the selected book.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advances In Databases 28th British National Conference On Databases Bncod 28 Manchester Uk July 2011 Revised Selected Papers Lncs 7051

Authors: Alvaro A.A. Fernandes ,Alasdair J.G. Gray ,Khalid Belhajjame

2011th Edition

3642245765, 978-3642245763

More Books

Students also viewed these Databases questions

Question

Determine a 1 for the arithmetic sequence. a 8 = -15, a 18 = -85

Answered: 1 week ago

Question

Is conflict always unhealthy? Why or why not? (Objective 4)

Answered: 1 week ago