Given a text file, your program will determine if all the parentheses, curly braces, and square brackets match, and are nested appropriately. Your program should work for mathematical formulas and most computer programs. Your program should read in the characters from the file, but ignore all characters except for the following: { } ( ) […]

Read More

Instructions – For this assignment, let’s do the following: 1.Write an application that asks the user to enter the base hourly wage for an employee and then asks the user to enter the number of hours worked for each week in the 4-week pay period. The application should then calculate the gross pay for the […]

Read More

Write a reservation system for an airline flight. Assume the airplane has 10 rows with 4 seats in each row. Use a two dimensional array of strings to maintain a seating chart. In addition, create an array to be used as a waiting list in case the plane is full. The waiting list should be […]

Read More

1) Write a class called point for the 2-D environment. Select appropriate variable(s). Write constructors. Write access methods for the variables. Write a Print method to display the variables when called. Write a test program to test it. 2) Write a class called rectangle, which inheres the above point class. Select appropriate variable(s). Write constructors. […]

Read More

Write static methods as follows: • double sum(double[] a) – returns the sum of the entries in the array a. • double[] fill(int n, double v) – returns an array of n doubles, all of whose values are v. • double[] random (int n) – return an array of n random doubles. • double min(double[] […]

Read More

Create an application in which a user can enter a phone book entry, including the following elements: First Name, Last Name, Phone Number, e-mail address (add additional elements as desired) Include a search criteria based on last name or any of the elements created for your phone book entries in order to retrieve the information […]

Read More

Vending Machine You must use The following: constructor functions for your button events as outlined in Chapter 11 prototype objects User interface Interface.JPG Operation • This application simulates a vending machine that dispenses soft drinks. • If the user clicks one of the money deposit buttons, this application adds the amount to the total deposited […]

Read More

Tuition Increase At one college the tuition for a full-time student is $6000 per semester. It has been announced that the tuition will increase by 2 percent each year for the next five years. Create an application with a loop that displays the projected semester tuition amount for the next 5 years in a ListBox […]

Read More

Discover Programming Loops The purpose of this assignment to confirm that sub routines and functions can be used within Visual Basic programs. Build an application based upon the Temperature Converter application demonstrated in this week’s Presentation. Include the following additions to the Conversion Selection group: Celsius to Kelvins Kelvins to Celsius Fahrenheit to Kelvins Kelvins […]

Read More