Become a Member
 


Expert Academic Help for Courses

Visual Basics and OOP

Directions for project. We are working on Object-Oriented Programs and I am lost. Below are the directions. Create a project that contains a class for sandwich objects. Each sandwich object should have properties for Name, Bread, Meat, Cheese, and Condiments. Use a form for user input. Assign the input values to the prop ...continues

Some java programming

You are working with a travel agent to support a conference in Las Vegas. Attendees must register for the conference with a valid email address (see attached), name and valid phone number (see attached). Every conference registration has an attendee, and a number of sessions in which he/she chooses to participate. Additionally, ...continues

java: toString Methods

Make a class Employee with a name and salary. Make a class Manager inherit from Employee. Add an instance variable, named department, of type String. Supply a method toString that prints the manager's name, department, and salary. Make a class Executive inherit from Manager. Supply appropriate toString methods for all classes. S ...continues

what is happening in the java code

QUESTION 1 public abstract class Account{ public abstract boolean open(double); } public class Checking extends Account{ public boolean open (double bal){ } } In the above code, what happens if open() is not declared in each subclass of Account? Question 2 public ...continues

Keeping track of concert ticket sales

Concert Create a project to keep track of concert ticket sales by your club. Ticket prices are based on the seating location. Your program should calculate the price for each sale, accumulate the total number of tickets sold in each selection, display the ticket price schedule, and print a summary of all sales. The fo ...continues

Java: Program Writing

Write a program that reads a number between 1,000 and 999,999 from the user, where the user enters a comma in the input. Then print the number without a comma. Here is a sample dialog; the user input is in color: attached Hint: Read the input as a string. Measure the length of the string. Suppose it contains n characters. The ...continues

Visual Basics 2010 Beginner

I need to design a program that demonstrate passing arguments ByVal and then ByRef. I just need help with the coding. It is suggested that I create a square function procedure and get an integer from the user then send it ByVal one time and get the result from the procedure and have the main program display the result. Then ...continues

Visual Basic - Dental Payment Application

8.1 1 (Enhanced Dental Payment Application) Modify the Dental Payment application from this tutorial to include additional services. Add the proper func- tionality (using If... Then statements) to determine whether any of the new CheckBoxes are selected, and, if so, add the price of the service to the total bill. Display an e ...continues

Creating a sample encryption code

(Simple Encryption Application) This application uses a simple technique to encrypt a number. Encryption is the process of modifying data so that only those intended to receive the data can undo the changes and view the original data. The user enters the data to be encrypted via a TextBox. The application then multiplies the num ...continues

Debugging Java Code

Using the following data definition class: public class Circle { private int radius; public Circle(int r) {radius = r;} public int getRadius() {return radius;} public double area() {return 3.14 * radius * radius;} } Indicate in the following code segment if an error occurs. If so, indicate whether it is syntax, runtim ...continues

Creating an Exam Object using Java

Given the following Data Definition Class: public class Exam { private static int total; public static void setTotal(int t) {total = t;} private int score; public void setScore (int s) {score = s;} public double grade () {return 100.0 * score/total;} } U ...continues

Editing a Java Program

I need your help with this java program (That is what I have so far its not displaying the medal count) public class Medals{ public static void main(String[] args){ final int COUNTRIES = 7; final int MEDALS = 3; String[]country = { "CANADA", "CHINA","GERMANY", "COREA", "JAPAN", "RUSSIA" } ; int[][]count ...continues

Help with Coding

Good evening, See attached. I have the form set up with three different text boxes. I need help with the coding. I need to be able to enter numbers 1 through 5 and if someone would enter something other than that an error message would pop up telling them to enter a number 1 through 5.

Simple Commission Calculation Program

Modify the Week Two Java application using Java NetBeans IDE to meet these additional and changed business requirements: - The company has recently changed its total annual compensation policy to improve sales. - A salesperson will continue to earn a fixed salary of $55,300. The current sales target for every salesperson is ...continues

I need help just with the code not to complete the assignment

You are to create an efficient, well 'documented object' oriented application to manage students' transcripts information. A student object must contain their name and a valid GNumber. Students may take as many as 100 courses. For each course, the user should enter the course name, number of credits and grade. Note that the grad ...continues

Java programming Java programming - Void undo

Suppose the CashRegister needs to support a method void undo() that undoes the addition of the preceding item. This enables a cashier to quickly undo a mistake. What instance variables should you add to the CashRegister class to support this modification?

Simple Commission Calculation

Consider the following factors: -A salesperson will earn a fixed salary of $55,300. -A salesperson will also receive a commission as a sales incentive. Commission is a percentage of the salesperson's annual sales. The current commission is 5% of total sales. -The total annual compensation is the fixed salary plus the commissi ...continues

Perl: RNA Code

The following code is written in the Perl programming language: $RNA = "AUGCGUAGAACAUAA"; @sequence = split(//,$RNA) What does sequence [3] equal? We next use the following code to define the variable $temp: $temp = scalar @sequence; What is the value of $temp? How many places will the regular expression /U[AG]A/ ...continues

Java programming - Person Runner

Using the Person and PersonRunner classes below, execute the main method in PersonRunner. Why does the program end abnormally? Comment out the first two lines and run the program again. Why does the reference to p3 cause Frank's name to be printed when we set Frank's name with the p2 reference? public class PersonRunner { ...continues

Designing a credit card payment program

You are to design and create an efficient, well-documented solution that allows a user to repeatedly create and manage credit card accounts. When a new credit card account is opened, the credit company sets a credit limit for the user that specifies the maximum balance allowed on the account. The balance starts at $0. The user c ...continues

Windows Help and Support Center

List and describe the content areas of the Windows Help and Support Center

Create an efficient Object-Oriented Java application that maintains information about college roommates who are renting a house together, for their realtor.

Create an efficient Object-Oriented Java application that maintains information about college roommates who are renting a house together, for their realtor. When a house is chosen by the roommates, the user will provide information for it. To allow extensibility, a house object can be created with no information available, th ...continues

Tax Time: Java Program

You have been asked by a tax return preparer to create a program which will help him calculate taxes. This preparer will at most have 100 clients. For each client, he has to keep track of the client's first name, last name, gross income, and number of children. Use parallel arrays to store this information for him. A taxpayer's ...continues

Java: Calculating Pay

Write a program in Java that allows a user to input an employee name, hours worked and hourly wage. The output should contain the name of the employee and their pay (hours worked * hourly wage). Implement the following method to calculate the pay and call it from your main method. public int calcPay(int hoursWorked, int ho ...continues

Visual Basic Programming. Calculation of average of integers entered by user.

(Average Calculator Application) Write an application that takes three numbers as input in TextBoxes, stores the three integers in variables, then calculates and displays the average of the numbers. The output is displayed in a Label. Figure 3.33 shows the completed application. Fig. 3.33. Result of Average Calculator applica ...continues

COBOL Programming

Hi, I need some help trying to understand the "MOVE" statement in COBOL programming. Can someone help with the following items? 1.) When do you need to move data, and how is this achieved in your code? 2) In order for the example below to work, could you have a variable named "field"? How would the variables on either sid ...continues

Programming Concepts and Overloading Methods

1. Why would you want to overload a method? 2. Identify other instances where overloading would be helpful.

Jave Compilers and Interpreters

1. Discuss the advantages and disadvantages of compilers and interpreters. 2. When would you use each? 3. Pick a problematic situation that you think a Java program can solve or make easier. 4. Explain the problem and then write the pseudo code for it.

Visual Basics Express 2010 - Arrays

I am needing help trying to figure out how to swap arrays. Question: Create two arrays, ask the user to populate them and display both arrays then swap the contents of the arrays using loops and then display the content.

Java Programming Application

Create a lottery game application. Generate four random numbers, each between 0 and 9 (inclusive). Allow the user to guess four numbers. Compare each of the user's guesses to the four random numbers and display a message that includes the user's guess, the randomly determined four-digit number, and the amount of points the user ...continues