Speakers’ Bureau
Write a
Name
telephone Number
Speaking Topic
Fee Required
The program should use an array of at least 10 structures. It should let the user enter data into the array, change the contents of any element, and display all the data stored in the array. The program should have a menu-driven user interface.
Input Validation: When the data for a new speaker is entered, be sure the user enters data for all the fields. No negative amounts should be entered for a speaker’s fee.
Want to see the full answer?
Check out a sample textbook solutionChapter 11 Solutions
Starting Out with C++ from Control Structures to Objects (9th Edition)
Additional Engineering Textbook Solutions
Starting Out with C++: Early Objects (9th Edition)
Java: An Introduction to Problem Solving and Programming (7th Edition)
Java How to Program, Early Objects (11th Edition) (Deitel: How to Program)
Computer Science: An Overview (12th Edition)
C How to Program (8th Edition)
Starting Out with Java: Early Objects (6th Edition)
- The intSales array is declared as follows: Dim intSales() As Integer = {10000, 12000, 900, 500, 20000}. The statement intSales (2) += 10 will _____. replace the 900 amount with 10 replace the 900 amount with 910 replace the 12000 amount with 10 replace the 12000 amount with 12010arrow_forwardC# Windows Application Tic-Tac-Toe Simulator- Create an application that simulates a game of tic-tac-toe. Figure 7-49 shows an example of the application’s form. The form shown in the figure uses eight large Label controls to display the Xs and Os. The application should use a two-dimensional int array to simulate the game board in memory. When the user clicks the New Game button, the application should step through the array, storing a random number in the range of 0 through 1 in each element. The number 0 represents the letter O, and the number 1 represents the letter X. The form should then be updated to display the game board. The application should display a message indicating whether player X won, player Y won, or the game was a tie.arrow_forwardComputer Science Javascript populateSelectMenu function The function populateSelectMenu should exist. The function populateSelectMenu should return undefined if it does not receive users data. The function populateSelectMenu selects and returns the select menu. The function populateSelectMenu receives the option elements from createSelectOptions and appends them to the select element.arrow_forward
- The strItems array is declared as follows: Dim strItems(20) As String. The intSub variable keeps track of the array subscripts and is initialized to 0. Which of the following Do clauses will process the loop instructions for each element in the array? a. Do While intSub > 20 b. Do While intSub < 20 c. Do While intSub >= 20 d. Do While intSub <= 20arrow_forwardIn visual basic Create an array that will hold 10 integer values.arrow_forwardProblem Charge Account Validation Create an application that reads the contents of the file into an array or a List . The application should then let the user enter a charge account number. The program should determine whether the number is valid by searching for it in the array or List that contains the valid charge account numbers. If the number is in the array or List , the program should display a message indicating the number is valid. If the number is not in the array or List , the program should display a message indicating the number is invalid. For Visual Studio .Net 4.6.1 current solution on bartleby does not work as it does not actually use a list and does not properly retrieve the file file is a text document with 18 7 digit numbers named ChargeAccounts.txtarrow_forward
- Programming Language: C++ Create a structure Student and ask the user how many students. Create an array which will save the number of students in the input. Ask for the data of the first and last student and display them.arrow_forwardYou are working for a company that developed a new drug which increases HDL cholesterol (the good cholesterol). A variety of dosages were given to participants during a trial, and the increases of HDL cholesterol were measured. This information is summarized in the following plot: Dosage vs Increase 80 70 60 50 40 30 20 10 15 x - dosage in mg 10 20 25 30 Each point (x, y) in the above plot represents a participant who was given a dosage of æ mg and had an HDL increase of y mg/dL. This information is stored in the 2d numpy array trial_data. The r-values are stored in the first row of trial_data (i.e. trial_data[@]) and the y-values are stored in the second row of trial_data (i.e. trial_data[1]). You are now working with a physician to determine the right dosage for one of her patients. 1) In order to help your client, first find a vector B = [B1] such that y(x) = B1 + Bza is the least squares line [B2] for the above data. Store the vector B as a 1D-numpy array in beta. 2) The physician…arrow_forwardInstructions Write a program weather.cpp that uses a structure to store the following weather data for a particular quarter: • Total Rainfall Low Temperature High Temperature Average Temperature (average of low and high temperature) The program should have an array of structures with a size of four (4) to hold weather data for an entire year. When the program runs, it should ask the user to enter data for each quarter. Once the data are entered for all the quarters, the program should calculate and display the average quarter rainfall, the total rainfall for the year, the highest and lowest temperatures for the year (and the quarter they occurred in), and the average of all the quarterly average temperatures. Input validation: Only accept temperatures within the range between -100 and + 140 degrees Fahrenheit, and the low temperature must not be higher than the high temperature. Notes • Validate temperatures within the range between -100 and + 140 degrees. • Validate the low…arrow_forward
- Computer Science C# Programming Object Orientation Please use Arrays or ArrayLists where appropriate Implement a menu driven program that has some operations for a food truck. A food truck has multiple food items as well as a menu which contains a selection of the food items which will be sold for that day. A maximum of 10 food items can appear on the menu for any day. For each food item keep a code, description, category, price and quantity in stock (code, description and category are not usually changed). Create a comma delimited text file called "items.txt" for 15 or more food items, indicating the item's description, category, price and quantity in stock. Read all the food items from the text file “Items.txt” Display all the food items available for this food truck. Continuously prompt the user for a food item’s code to be placed on the menu until the menu is full or the user enters -1. Note that only food items which have a positive quantity in stock may be added to…arrow_forwardWrite a statement that declares a procedure-level one-dimensional array named intOrders. The array should contain 15 elements.arrow_forwardA Review View Help EndNote X9 Search Layout References Mailings Draw Design 1. For a 16-bit unsigned number Ob1111 1111 1111 0001, adding 15 to it gives: 1 0000 0000 00000000 b. 0 a. C. 1 d. 1111 1111 1111 1111 to 000000001 0000 f. e. None of Above 2. (((Ob111 000 101 111 >>>2)>2) gives a. 001 111 000 101 b. 000 111 100 010 C. 011 111 100 001 d. 000 111 100 101 e. None of Above =5, for (int x=L, x<=i, x++). The total iterations of this loop will be a. 0 b. infinite 3. C. d. 5 None of Above e. 4. Automatic type casting is used to a. Copy the value of one variable onto another b. Update datatype of constants by users of constants C. Update datatype of variable by users d. Update datatype by compiler e. None of abovearrow_forward
- Programming with Microsoft Visual Basic 2017Computer ScienceISBN:9781337102124Author:Diane ZakPublisher:Cengage LearningMicrosoft Visual C#Computer ScienceISBN:9781337102100Author:Joyce, Farrell.Publisher:Cengage Learning,Programming Logic & Design ComprehensiveComputer ScienceISBN:9781337669405Author:FARRELLPublisher:Cengage
- C++ for Engineers and ScientistsComputer ScienceISBN:9781133187844Author:Bronson, Gary J.Publisher:Course Technology PtrEBK JAVA PROGRAMMINGComputer ScienceISBN:9781337671385Author:FARRELLPublisher:CENGAGE LEARNING - CONSIGNMENTSystems ArchitectureComputer ScienceISBN:9781305080195Author:Stephen D. BurdPublisher:Cengage Learning