# Java/programming

1,287 results, page 12

### Linear Programming

We produce two products: product 1 and product 2 on two machines (machine 1 and machine 2). The number of hours of machine time and labor depends on the machine and the product as shown in Table 64. The cost of producing a unit of each product is shown in Table 65. The number ...

### Math

I seem to be having problems setting up Linear Programming questions. For example: Kustom Kars does van conversions. The Custom conversion required 15 hours of shop time, 8 hours of painting time, and 1 hour of inspection time. The Deluxe conversion requires 12 hours of ...

### Java

You are to create an efficient OO application to be used by the wait staff at the Mason Inn. You will process one waiter/waitress at a time. The user will provide information for him or her, to include: their name, number of hours worked and hourly wage. Additional information...

### Linear Programming

Riverside oil company in eastern Kentucky produces 3 different grades of gasoline. They are regular, premium, and supreme grades. Each barrel of regular grade sells for \$77 while premium grade sells for \$82 per barrel and supreme grade sells for \$89 per barrel. Petroleum ...

### java

Write a menu driven program that either accepts words and their meanings, or displays the list of words in lexicographical order (i.e. as in a dictionary). When an entry is to be added to the dictionary you must first enter the word as one string, and then enter the meaning as...

### programming

write a program of a main module and three other modules. The owners of the Super Supermarket would like to have a program that computes the monthly gross pay of their employees as well as the employee’s net pay. The input for this program is an employee ID number, hourly ...

HELP ME WITH THESE 2 PROBLEMS PLEASE..... 1. Objective Quantity: C= 5x+4y Constraints: x < -2 x > -4 y > 1 y < 6 All of the signs have lines under them. 2. Objective Quantity: C= 6x + 2y Constraints: x > 0 x < 5 y > 0 4x-y > 1 Again, all of the signs ...

### C++

class professor {}; class teacher : public virtual professor {}; class researcher : public virtual professor {}; class myprofessor : public teacher, public researcher {}; Referring to the sample code above, if an object of class "myprofessor" were created, how many instances ...

### Programming

Design a program in pseudocode that calculates the amount of money a person would earn over a period of time if their salary is one penny the first day, and then doubles each day. The program should ask the user for the number of days. Display what the salary was for each day...

### programming

A local recording studion rents its facilities for \$200 per hour. Management charges only for the number of minutes used. Create a project in which the input is the name of the group and the number of minutes it used the studio. Your program calculates the appropriate charges...

### e commerce

Give the URL of two different e-commerce Web sites. For one of the Web sites, outline the key technology infrastructure components necessary to support its e-commerce business the two web sites I decided on was ebay --which is consummer selling to consummer amazon-- which is ...

### computer programming

Construct a structure chart, as well as a flowchart and pseudocode, for the following problem. Assume that each input record contains a taxpayerâ€™s name, the value of a personal property belonging to the taxpayer, and a code defining the type of of personal property ...

### Python Programming

We have created a set of data values that sample a function y(x). The sample points are stored in two arrays: xVals and yVals. These represent measurements of a physical process that is subject to noise so that if a is the i'th entry of xVals (i.e. a = xVals[i]) then yVals[i] ...

### c programming

Write a program to read from a file called "input.txt" information about 5 workers. Each line would contain two values respectively, an employee ID and the employee's monthly salary. Assume that the data from the input file is stored in a format as shows in this example. Note...

### c programming , computer science

1-Write a program that determines the day number (1 to 366) in a year for a date that provided as input data. As an example, January 1, 1994, is day 1. December 31, 1994, is day 365. December 31, 1996, is day 366, since 1996 is a leap year. A year is a leap year if it is ...

### computer programming (PYTHON)

My first page is <html> <head> <title>Name Game</title> </head> <body> <h1>Name Game</h1> <form action="namegame.py"> <p> Enter your name: <input type="text" name="name" /> </p> <p> <input type="...

### computer programming (PYTHON)

My first page is <html> <head> <title>Name Game</title> </head> <body> <h1>Name Game</h1> <form action="namegame.py"> <p> Enter your name: <input type="text" name="name" /> </p> <p> <input type="...

### PreCalculus

I am having a lot of problems with this linear programming problem. CAn someone help? A farmer buys two varieties of animal feed. Type A contains 9 oz. of oats and 2 oz. of corn per pound. Type B contains 5 oz of oats and 10 oz of corn per pound. The farmer wants to combine ...

### C++ Programming

create a class called DataSet. This class will have a default constructor that is empty, but an overloaded constructor that takes an integer argument and creates a vector with that many random numbers in it. For example, if I created: DataSet d1 = new DataSet(500); ...it would...

### Math/Management

MeanBeats is a company that manufactures and sells electronic musical equipment. Their headphone product line consists of two products, Reverbia and Bscape. MeanBeats sells the headphones to retailers at \$600 and \$300 per pack for Reverbia and Bscape, respectively. The company...

### Computer Literacy

1. Which vendor did IBM select to create the operating system for the IBM PC? (A) Microsoft Macintosh DEC Dell 2. Which of the following components was a significant development featured in the Macintosh LISA computer? (A) C Prompt Disk Operating System Graphical User ...

### Programming

1.Do the planning and write an algorithm to solve the following problem. Prepare test data for the example to test all possibilities and draw a trace table. Sam works at a coffee company where all the employees receive a bonus of R700, except the employees in the coffee ...

### programming

I am working on a project called VB Auto Sales I am working in CH 2. I have just about completed the assignment but I am unable to group two separate sections. Assignment Modify the project from the Chapter 1 VB Auto Center case study, replacing the buttons with images in ...

### Linear Programming

OKay My question is: Two factories manufacture 3 different grades per paper. the company that owns the factories has contracts to supply at least 16 tons of low grade, 5 tons of medium grade, and at least 20 tons of high grade paper. It cost \$1000 per day to operate the first ...

### Java

Can someone please help me out!!!I included what I have so far.. *Purpose: Say that you owe the credit card company \$1000.00. The company charges you 1.5% per month on the unpaid balance. You have decided to stop using the card and to pay off the debt by making a monthly ...

### Computer Science

I need help with these assignments. "Write a program to read a list of exam scores (integers in the range 0 to 100) and to output the total number of grades and the number of grades in each letter-grade category (90 to 100 = A, 80 to 89 = B, 70 to 79 = C, 60 to 69 = D, and 0 ...

### Information Technology

Develop an algorithm, flow chart and pseudocode that accept as input three unit test scores and a project score for seven students. The algorithm, flow chart and pseudocode should accept seven examination scores. The students's overall score comprised of their weighted mid-...

### C programming

Question: Write a program that reads integers from the keyboard until the user enters the sentinel value -999. The program should then print the minimum integer read, the maximum integer read and the average of all the integers. (Excluding the sentinel value -999) I know how ...

### math,

. Mr. David, an individual investor, has \$70,000to divide among several investments. The alternative investments are municipal bonds with an 8.5% annual return, certificates of deposit with a 5% return, treasury bills with a 6.5% return, and a growth stock fund with a 13% ...

### programming

Having trouble with this program running, can anybody help solve my problem: #include <stdio.h> #include <stdlib.h> #include <string.h> void draw_x(int width, int height); int main(int argc, char *argv[]){ int width, height; if(argc != 3){ printf("Syntax: ...

### programming

b. Write a well-commented C++ program that reads data from the input file employee.txt. Each input line consists of last name, first name, base salary, total sales, and number of years of service. Store the output in the file employees_payCheck.txt. Format your output to have ...

### programming

Write a MATLAB program to create and output the touch-tone telephone signals (Dual-Tone, Multi-Frequency, DTMF) for the input numbers 0 through 9 (disregard the * and # symbols). When a user presses a button on a telephone set, a signal is produced that is the sum of two ...

### QSO 510

Problem 2 Build-Rite construction has received favorable publicity from guest appearances on a public TV home improvement program. Public TV programming decisions seem to be unpredictable, so Build –Rite cannot estimate the probability of continued benefits from it ...

### Programming

I need help with debug Debug06-02 // Program lets user input scores on four tests // Average is computed and letter grade is determined // Letter grades are based on 90 for an A, 80 for a B, and so on start string name num score num NUM_TESTS = 4 num NUM_RANGES = 5 num RANGES[...

### math 540

12) Betty Malloy, owner of the Eagle Tavern in Pittsburgh, is preparing for Super Bowl Sunday, and she must determine how much beer to stock. Betty stocks three brands of beer—Yodel, Shotz, and Rainwater. The cost per gallon (to the tavern owner) of each brand is as follows...

### C++ Programming

#include <iostream.h> #include <stdlib.h> #include <math.h> int main ( ) { double noe, nod, dc1, dc2, dc3, dc4, t; cout << "Enter number of eggs: "; cin >> noe; nod = noe / 12; dc1 = .50 / 12; dc2 = .45 / 12; dc3 = .40 / 12; dc4 = .35 / 12; cout....

### Math/Management

FuelMotion is an oil company that owns two oil processing plants that produce gasoline from crude oil. Their Georgia Plant produces 2 thousand gallons of premium, 1 thousand gallons of medium, and 6 thousand gallons of regular gasoline every day it operates. Their Arizona ...

### Programming

Here is the source code for the Kitty class: public class Kitty { String name; int age; public Kitty(){ } public void setName(String n){ name = n; } public String getName(){ return name; } public void setAge(int a){ age = a; } public int getAge(){ return age; } } 1) The array ...

### linear programming

I am not even sure how to set up the objective function... Help! Graduate student Luke currently has \$400 in cash. At the beginning of months 1, 2, 3, and 4, Luke receives revenues from his research assignment, after which he pays bills (see Table). Any money left over is to ...

### Math, statistics, Linear Programming

just looking for the constraints and variables. The Nestle’ Purina PetCare Company of St. Louis, Missouri, manufactures a gourmet cat food under the Fancy Feast brand. The brand includes a number of options for choices of meats, fish, and poultry in three ounce cans. The ...

### Math

An apple pie uses 4 cups of apples and 3 cups of flour. An apple cobbler uses 2 cups of apples and 3 cups of flour. You have 16 cups of apples an 15 cups of flour. When you sell these at the Farmers market you make \$3.00 profit per apple pie and \$2.00 profit per apple cobbler...

### Math

An apple pie uses 4 cups of apples and 3 cups of flour. An apple cobbler uses 2 cups of apples and 3 cups of flour. You have 16 cups of apples an 15 cups of flour. When you sell these at the Farmers market you make \$3.00 profit per apple pie and \$2.00 profit per apple cobbler...

### programming

trying to debug pseudocode 2. Th e Springwater Township School District has two high schools—Jeff erson and Audubon. Each school maintains a student fi le with fi elds containing student ID, last name, fi rst name, and address. Each fi le is in student ID number order. ...

### programming

hi i need some help on my final it says create an application that allows the user to enter a customer's account number. The application should lookup name and balance based on the account number according to the following list: (NOTE: you will be given a new file of data to ...

### VBA programming

How to get isnumeric function to display an "error" message when necessary. Sub DetermineinterestSelectCase() Dim loan As Variant Dim interest As Double loan = InputBox("Enter your desired loan amount, from 1 dollar to 5 million dollars.") Select Case loan Case IsNumeric(loan...

### Computer Programming

I already posted this question but I gave it a try I'm not sure if I'm on the right track: Make a util class with three methods. First method's name is add, that returns the result by adding two numbers. Second method's name is multiply, that returns the result by multiplying ...

### computer programming

small startup software developer company needs to create a program that will calculate the pay of its employees. For the third version of the program, the company wants the program to accept an employee’s name, the number of hours the employee worked, and the hourly pay rate...

### QSO 51O

Problem 4: Module 8 (30 points) The Exeter Company produces two basic types of dog toys. Two resources are crucial to the output of the toys: assembling hours and packaging hours. Further, only a limited quantity of type 1 toy can be sold. The linear programming model given ...

### computer programming c++

c++ program questoin A particular talent competition has 5 judges, each of whom awards a score between 0 and 10 to each performer. Fractional scores, such as 8.3, are allowed. A performer’s final score is determined by dropping the highest and lowest score received, then ...

### C++ Programming

#include <iostream.h> #include <stdlib.h> #include <math.h> int main ( ) { double noe, nod, dc1, dc2, dc3, dc4, t; cout << "Enter number of eggs: "; cin >> noe; nod = noe / 12; dc1 = .50 / 12; dc2 = .45 / 12; dc3 = .40 / 12; dc4 = .35 / 12; cout....

### C++ Programming

I NEED HELP WITH MY CODE!!! it won't compile right The formula for finding the force of gravity between two objects is Force = grav * (mass1 * mass2) / (radius * radius), where Force = the force of gravity between the two objects, grav = the universal gravitation constant (6....

### Computer Programming

I was wondering if someone could review my pseudocode to see if I got this right. Here is the question: Input a list of employee names and salaries, and dtermine the mean (average) salary as well as the number of salaries above and below the mean. Here is my pseudocode: ...

### Python programming

A standard problem in mathematics is to measure the area under a curve (or to integrate the function defining the curve). A simple way to do this is to approximate the area with a series of rectangles (whose areas are easy to compute). For example, we could split the range ...

### Career

13. All of the following traits contribute to your Myers-Briggs type, EXCEPT: (1 point) A.)agreeing–disagreeing. B.)introversion–extroversion. C.)judging–perceiving. D.)thinking–feeling. 14. Luisa has started up four different companies and served as the top manager of...

### Computer science

PLEASE SOMEONE HELP ME! I need help calculating the charges and setup to display savings. 1. Help with calculations. No matter the numbers i input just the base rate comes up. 2. I need help changing the code to "Modify the program so it calculates and displays the amount of ...

### c# programming

Trying to create a program using following algorithms. JumpSearch(list,lower,upper,jump,x) {Look for X in List[lower ... upper]. Report its position if found, else report 0. List is sorted in increasing order. upper>=lower>0; upper-lower+1>=jump>=1.} index = lower...

### Computer (C)

I need help with c programming, i need to fill in the code and I got these (need help with question 4), I run the grader and I only got question 1 right. grader code: gcc worksheet.c; ./a.out 0; if [ \$? -eq 0 ] then echo 'Question 0 Correct'; else echo \$? 'is not correct for ...

### Computer Programming (XML)

Using the employees.xml file below, create a DTD file â€œemployee.dtdâ€ based on â€œemployees.xmlâ€. Create a schema files â€œemployee.xsdâ€ based on â€œemployees.xmlâ€. Create a html page â€œemployees.htmlâ€ and â€œemployees....

### programming

I really need help in this it makes me confuse.I should make a program to find a pattern...so can somebody help me... Write a function to recognize an pattern within another array. Your function should have the following prototype. const int *find_pattern_in_int_array(const ...

### C Programming

Okay, question. What if I inputted this: Enter a temperature: 32 Enter 'C' for Celsius or 'F' for Fahrenheit: c Choose a conversion ('C' for Celsius or 'F' for Fahrenheit): c The temperature is: 0.0 C. I want the program to read [The temperature is: 32 C.] when I go from C to ...

### Information Technology

I am pressed for time and need this assignment done by Sunday please. The language used is Java. I have attatched both worksheets to be used in this assignment. Thank you so much. Please reread the description of the Metric Conversion program in Worksheet A in the Course ...

### Programming Logic

Shemrock Inc. is a brake pad manufacturing company. This company uses raw materials, such as carbon powder, iron, ash, and resin. It wants to develop an inventory management system that will have the following features: 1.The system should store the current inventory levels ...

### Programming Logic

Shemrock Inc. is a brake pad manufacturing company. This company uses raw materials, such as carbon powder, iron, ash, and resin. It wants to develop an inventory management system that will have the following features: 1.The system should store the current inventory levels ...

### comptuer programming

i need help with my code i keep comin up with errors in basic Dim Firstname as string Dim Lastname as string Dim Empnum As Integer Dim HourRate As Integer Dim Hours As Integer Dim Tools As Integer Dim Total As Integer Dim Netpay As Integer Dim Taxes As Integer Dim fedTax as ...

### Computer Architecture

Your project is to write a partial disassembler for MIPS instructions in Java. That is, your input will be the 32-bit machine instructions that a compiler or assembler produces. Your program then figures out what the original source instructions were that created those 32-bit ...

### programming

Hi i need to make a video (ON gps) using still image on AVI SYNTH. At the same time i have to use atleast three editing techniques they are a)dissolve, b)fade, C)crop, d)resize and e)zoom. i wrote my script but i couldn't play the video. please help. # Aliasing GPS Image Video...

### Computer Programming

Implement the classic “Rock, Paper, and Scissors game” using following methods: Headers of the methods are shown public static void printMenu( ) It is a void method –It uses no parameters --It is called to display choices and code (1 for Rock, 2 for Paper, and 3 for ...

### Definition of biological influences

I need help with the definition of biological influences. I can do the rest of the assignment but if someone can help me with the understanding of biological influences it will help me finish the rest of my assignment. Thank you very much. Think on these: Why at puberty do ...

### computer programming

Robot Game Consider a robot moving in an environment consisting of 5x5 cells. The robot can either be rotated or moved forward for a certain distance. The environment in which the robot moves is bounded by walls - so if you try to move the robot out of the area it will stop at...

### computer programming

Paying Off Credit Card Debt Each month, a credit card statement will come with the option for you to pay a minimum amount of your charge, usually 2% of the balance due. However, the credit card company earns money by charging interest on the balance that you don't pay. So even...

### programming C++

Write a program that reads test scores up to 30 into an array. sentinel will stop when -1 is entered. Write functions that: 1. read the scores into arrays 2. computes the distribution based on whether they are As, Bs and so on 3. find how many students have the same score 4. ...

### programming

write a program that maintains two parallel arrays. after th arrays have been loaded the program should behave as a login screen prompting for username and password. the program should respond three output messages. if username does not match one of the values in the username ...

### Computer programming

(Simplified Water Bill Computation) The bill for a water service subscriber is prepared as follows: 1. The name of the water consumer is entered 2. The previous water meter reading in cubic meters (reading last month) from the consumer’s meter is entered. 3. The present ...

### programming

can someone write this script with unix The script should be named final_YourLastname (e.g., a script written by York should be named: final_York). The script should implement car rental reservation activities. The main menu of the script must prompt users to: 1.Make a Car ...

### Maths - Linear Programming

Hey, I'm having trouble formulating this as a linear program. If anyone could help at all it would be much appreciated. Thanks A manufacturer has contracted to produce 2,000 units of a particular product over the next eight months. Deliveries are scheduled as follows: Month ...

### Programming Design

Velma and her husband Victor run a full service veterinary clinic. They would like a program to help them calculate costs for their clients. Victor, who is the vet, charges a flat fee of \$100 for medical services and a flat fee of \$50 for shots. Velma does the grooming. She ...

### Computer Science

The digits 0, 1, and 8 look much the same if rotated 180 degrees on the page (turned upside down). Also, the digit 6 looks much like a 9, and vice versa, when rotated 180 degrees on the page. A multi-digit number may also look like itself when rotated on the page; for example ...

### programming

I had to create a c code that gets a number, returns how many digits it has,the digits sum, the digits product, to check if the digits sum is equal to product if yes return "1" else return 0, and in the end write a program the prints the first 20 numbers that the sum of their ...

I pasted the problem I am to solve below. I missed the first week of class, so the professor told me to do this case as a make-up assignment; however, we are not covering this chapter and I'm confused! My professor did tell me that I need to use the bimatrix game theory and ...

### Programming with Eclipse

Design, implement, test, and debug an application to compute an employee’s weekly pay. If the employee works more than 40 hours a week, the employee earns 1.5 times the basic hourly pay for any time worked over 40 hours. The program should allow the user to input the ...

### Quantitative methods

Missouri Mineral Products (MMP) purchases two unprocessed ores from Bolivia Mining, which it uses in the production of various compounds. Its current needs are for 800 pounds of copper, 600 pounds of zinc, and 500 pounds of iron. The amount of each mineral found in each 100 ...

### Programming

2. Then it should prompt the user for the input file name of the file containing the data to sort. 3. If the program can't open the file or if no file name is entered (^d or ^z is entered for EOF), it should print an error message and exit. 4. The file will contain numbers ...

### programming

DEBUGGING // The two senior class homerooms at Littleville High School // are having a fundraising drive for the prom. Each time a student // solicits a contribution, a record is created with the // student's name and the value. Two files have been created for Homeroom A and ...

### Information Technology

Introduction to Programming Logic Individual Project April 11, 2011 You are part of a team that will design a first generation mobile banking application. The Banking e-Teller (BeT) system allows bank customers to perform ATM transactions from their cell phones. BeT will allow...

### Programming Logic

Find bugs. // The two senior class homerooms at Littleville High School // are having a fundraising drive for the prom. Each time a student // solicits a contribution, a record is created with the // student's name and the value. Two files have been created for Homeroom A and ...

### Linear Programming Homework Problem

formulate this Lp model . write in standard form An investment firm hired you to manage one of their new mutual funds. The fund invests in two main companies/stocks, Pittsburg Steel (X1) and IMB(X2). Pittsburg Steel is currently trading at \$40.00 per share and IMB at \$30.00 ...

### Prorgramming in Java

Arrays of objects will demonstrated in this lab by developing a Java application to create and maintain a store's catalog of offerings. You may use either an Array or an ArrayList. Your classes should be complete with toString and equals methods and must ensure data integrity ...

### Programming

Write a program that allows the user to display a budget as a pie chart. After the user enters numbers into the four text boxes a presses the button, the pie chart should be displayed. When I push the button for my code it does not display anything. Could you help me determine...

### Social Studies Help!!

1, what was the main purpose Roosevelt made in the 1932 election that helped him win? He promised to reorganize the economy He promised to help the jobless, poor farmers,and elderly ******* He promised to regulate big banks more heavily to prevent another depression He ...

### Programming

I’m using VB 2008. I need to write a simple program that calculates total sales of purchases. The program should accept item costs as input calculate the tax on each item (8%) display the item cost, total cost, and total after taxes. Item costs will be added to a listbox ...

### programming

m trying to create an arraylist that's sorted but I have no idea how to sort the numbers. I cant use the array.sort method here is my code: public class Testing { private int [] data; private int count; private static int defCapacity = 10; public Testing (){ count = 0; data = ...

### Programming Logic & Design

Modify the previous process to store the scores in an array. You will need to use either parallel arrays or a two-dimensional array in order to store the score, slope and rating for each entry. In the loop you created in the previous assignment to read the 10 scores, add logic...

### Quantitative methods

Assignment Problem 1* Print Media Advertising (PMA) has been given a contract to market Buzz Cola via newspaper ads in a major southern newspaper. Full-page ads in the weekday editions (Monday through Saturday) cost \$2000, whereas on Sunday a full-page ad costs \$8000. Daily ...

### programming

1. The attached bombs.zip file contains 19 bombs. These bombs have been numbered and every one needs to break only one. The assignment is as follows. For example, student 191464104 needs to break binaryBomNo.2.exe. You need to find out the 6-digit password of your bomb. bomb ...

### Intro to Programming

I have no clue what i am doing - any and all help would be appreciated - thanks! Finding an Input Giving a Desired Output PROBLEM BACKGROUND In many control problems, the output response of a system to an input is a non-linear function, that function perhaps being non-analytic...

### Managerial Finance & Accounting

P12-14 Strategic Capital Investment Decisions Smith Electronics manufactures portable CD players. Lillian Perez, the VP of operations at Smith Electronics, is considering a major capital investment decision. It would cost \$2,500,000 to put new, highly automated machines in the...

### Programming

How would the flow charts and pseudocode look for this? The Metric Conversion application is a menu-driven program. First, the program displays a Main Menu that states the purpose of the program and allows the user to select one of five metric system measurements or quit the ...

### Computer Programming using python

Now write a program that calculates the minimum fixed monthly payment needed in order pay off a credit card balance within 12 months. By a fixed monthly payment, we mean a single number which does not change each month, but instead is a constant amount that will be paid each ...

### Computer Programming using python

Now write a program that calculates the minimum fixed monthly payment needed in order pay off a credit card balance within 12 months. By a fixed monthly payment, we mean a single number which does not change each month, but instead is a constant amount that will be paid each ...

### Programming logic

Finding the bugs. // Each time a salesperson sells a car at the Pardeeville New and Used Auto Dealership, // a record is created containing the salesperson’s name and the amount of the sale. // Sales of new and used cars are kept in separate files because several reports...