Wednesday
April 23, 2014

Homework Help: Computers: Programming Languages

Recent Homework Questions About Programming Languages

Post a New Question | Current Questions

linear programming
Brian Q’ Rourke, owner of The Horse & Hound Pub in Dublin, is preparing for St. Patricks Day, amd he must determine how much cider to stock. Brian sells three brands of cider on tap – Murphy’s Blackton, and red Rye. The cost per gallon (to the pub owner) of each...
Wednesday, June 6, 2012 at 3:40am

linear programming
Brian Q’ Rourke, owner of The Horse & Hound Pub in Dublin, is preparing for St. Patricks Day, amd he must determine how much cider to stock. Brian sells three brands of cider on tap – Murphy’s Blackton, and red Rye. The cost per gallon (to the pub owner) of each...
Wednesday, June 6, 2012 at 3:40am

linear programming
The Pyrotec Company produces three electrical products-clocks, radios and toasters. These products have the following resources requirements : Resource Requirements Cost/Unit Labor Hours/Unit Clock $7 2 Radio 10 3 Toaster 5 2 The manufacturer has a daily production budget of $...
Wednesday, June 6, 2012 at 3:39am

business
The Pyrotec Company produces three electrical products-clocks, radios and toasters. These products have the following resources requirements : Resource Requirements Cost/Unit Labor Hours/Unit Clock $7 2 Radio 10 3 Toaster 5 2 The manufacturer has a daily production budget of $...
Wednesday, June 6, 2012 at 3:38am

programming
We do not take programming contracts. However, if you post pseudocodes, or codes, we will be glad to help you spot errors, or give suggestions. If you have difficulties getting started, please post stating what you have learned in your course, and where you difficulties are. ...
Saturday, June 2, 2012 at 7:24am

programming
user to enter the student’s marks on four exams (use double and one exam is over 20). The Write a program that asks the program should display the four exam’s marks, the sum and the average.(Use also the header file iomanip)
Saturday, June 2, 2012 at 4:31am

programming
We do not take programming contracts. However, if you post pseudocodes, or codes, we will be glad to help you spot errors, or give suggestions. If you have difficulties getting started, please post stating what you have learned in your course, and where you difficulties are. ...
Friday, June 1, 2012 at 7:48am

programming
Write a program C++ that allow the shop staff to enter the customer's orders, record payments, view all the completed orders as listing of sales, print the highest and total sales made for the day from Main Menu below ################################# Coffee Shop Main Menu...
Friday, June 1, 2012 at 3:34am

Programming
use variable.no.of sales,no.of years of type integer answer of type real Display."enter no.you want to use" Accept.number IF wage<>sales*0.15 THEN salary:=wage+loyality ELSE if no. of year.3 THEN loyality:=wage*0.1 ELSE loyality=0
Friday, May 25, 2012 at 8:34am

programming
wages = sales*.15 wages *= 1.10 if time > 3
Friday, May 25, 2012 at 12:18am

programming
write the pseudocode for a program to the wages of salesman according yo the following rules the wages is calculated at a rate 15%of sale if the salesman has been with the company more than three year he has loyalty bonus of 10%of his calculated wages.
Thursday, May 24, 2012 at 9:24pm

linear programming
Unit Costs: Magnetite: $37 => 0.7 ton of iron =>$52.86/ton limonite: $46 => 0.6 ton => $76.67/ton pyrite: $50 => 0.5 ton => $100/ton taconite: $42=> 0.3 ton => $140/ton Production: magnetite: 350*0.7=245 tons limonite: 0.6*530=318 tons pyrite: 0.5*610=...
Wednesday, May 23, 2012 at 3:14pm

programming :)
You did most of the work, so you deserve the credit too!
Wednesday, May 23, 2012 at 2:51pm

programming
If you really don't know where to start, you may review your teacher's class notes, your text book. If there is none, you can also learn by tutorials, such as: http://www.sthurlow.com/python/ Do you have Python installed on your computer, or you have one available at ...
Wednesday, May 23, 2012 at 2:28pm

Programming??
http://www.w3schools.com/sql/default.asp​
Wednesday, May 23, 2012 at 9:59am

programming
I got it. Thanks so much. You're awesome.
Tuesday, May 22, 2012 at 10:59pm

programming
I really don't know how to start.. so I have nothing written now
Tuesday, May 22, 2012 at 10:22pm

programming
It would be along the same lines, just change floors to rooms, and for floors, change 10 to 1 for the number of floors.
Tuesday, May 22, 2012 at 10:05pm

programming
I'm sorry. I think I was confusing. There can't be less than 1 for the number of floors, but has to be at least 10 for the number of rooms on a floor.
Tuesday, May 22, 2012 at 9:59pm

programming
For your information, I will tend to respond to posts on programming / computers in which efforts are shown. Unlike mathematics, where 2+2 always equal 4 (if we are in the decimal system). However, no two computer programs are the same, so every program is a personal version ...
Tuesday, May 22, 2012 at 9:58pm

programming
Write a program that will ask the user to enter a person's age, weight and birth month. Your program will compare the entered value to the following and print the appropriate response. Be sure to use modules. The secret answers: age=25 The comparison: if the guessed age ...
Tuesday, May 22, 2012 at 9:51pm

programming
Your code looks carefully thought out. For making sure there are 10 storeys or more, you can modify the input segment: System.out.print("How many floors are present: "); floors = input.nextInt(); while(floors<10){ // print Number of floors must be at least 10 ...
Tuesday, May 22, 2012 at 9:40pm

Computer programming
Set k=1 While k<=5 Display k + 1 End While k does not get updated inside of the while loop, so it will print 2 and loop forever. Set k=1 While k<=5 k = k + 2 End While When it hits "while k<=5", the values of k are 1,3,5,7... So how many times does it get ...
Tuesday, May 22, 2012 at 9:09pm

Computer programming
For the first question, the loop runs 5 times, just count it on your fingers. It will display 23456 For the second question, the loop runs three times. Once when k = 1, once when k = 3, and once when k = 5. For the third question, it will either run 5 or 6 times...I am not ...
Tuesday, May 22, 2012 at 9:08pm

Computer Science Computer Programming
Happy to hear that you have got it working! Congrats! Even though the code works as it is, there are traps lurking around to get you as you go on. 1. Your outputting "total" at the end is the proper way to do things, as the showMessageDialog will be used only once ...
Tuesday, May 22, 2012 at 9:05pm

programming
A hotel’s occupancy rate is calculated as follows: Occupancy rate = number of rooms occupied total number of rooms Write a program that calculates the occupancy rate for each fl oor of a hotel. The program should start by asking for the number of fl oors in the hotel. A ...
Tuesday, May 22, 2012 at 9:00pm

Computer Science Computer Programming
I figured it out. I forgot to delete "JOptionPane.showMessageDialog (null, "Your shipping charges are $" + df.format(total));
Tuesday, May 22, 2012 at 8:39pm

programming
I forgot to mention that this is Python and Raptor
Tuesday, May 22, 2012 at 8:31pm

programming
A retail company assigns a $5000 store bonus if monthly sales are more than $100,000 otherwise a $500 store bonus is awarded. Additionally, they are doing away with the previous day off program and now using a percent of sales increase to determine if employees get individual ...
Tuesday, May 22, 2012 at 8:26pm

Computer Science Computer Programming
I had to change the code completely, but now I am having another problem. I only need to enter the weight for this problem. My code will prompt to enter a weight and then it will give a total, but once I click okay on that total another box comes up stating that the total ...
Tuesday, May 22, 2012 at 8:20pm

Computer programming
Set k=1 While k<=5 Display k + 1 End While In the above what gets displayed Set k=1 While k<=5 k = k + 2 End While In the above how many times is the loop executed For x = 0 To 5 Display x End For How many times will the above loop get executed…what will it print
Tuesday, May 22, 2012 at 7:55pm

Computer Science Computer Programming
Thank you for posting the original question. It always helps (if accompanied by your efforts)! You may want to review your logic for the prices according to 2 criteria: 1. Basic according to weight: According to following scale: ( = excluding ] = upto and including (0-2] $1.1...
Tuesday, May 22, 2012 at 9:16am

programming in BASICS
b b b b b
Tuesday, May 22, 2012 at 7:30am

Computer Science Computer Programming
This is the assignment as well: The Fast Freight Shipping Company charges the following rates: Weight of Package Rate per 500 Miles Shipped 2 pounds or less $ 1.10 Over 2 pounds but not more than 6 pounds $ 2.20 Over 6 pounds but not more than 10 pounds $ 3.70 Over 10 pounds...
Monday, May 21, 2012 at 10:39pm

Computer Science Computer Programming
Also, when I enter if (weight <=2.0); { charges = 1.10 * (miles/500); The charges = charges = 1.10 * (miles/500); is underlined yellow and I get a symbol of a yellow light bulb with a caution symbol that states "this assigned value is never used." I'm new to ...
Monday, May 21, 2012 at 10:25pm

Computer Science Computer Programming
Thank you for your help. I apologize. You were right when you said "First thing that comes to mind is (mile/500) will truncate to the next lower integer, namely zero if mile<500." I changed it to (mile/500.0), but the answer I get at the bottom was still 0. Also, ...
Monday, May 21, 2012 at 10:20pm

Computer Science Computer Programming
First thing that comes to mind is (mile/500) will truncate to the next lower integer, namely zero if mile<500. All you need to do to correct is to write (mile/500.0) which will convert integer division to force floating division. Also, if the program does not work, you will...
Monday, May 21, 2012 at 10:00pm

Computer Science Computer Programming
Please help! I cannot figure out what I am doing wrong. I cannot get the correct output when I run the system. Here is what I have entered in to Netbeans IDE: package shippingcharges; public class ShippingCharges { private double weight; private int miles; public ...
Monday, May 21, 2012 at 9:01pm

linear programming
Globex Investment Capital Corporation owns six companies that have the following estimated returns (in millions of dollars) if sold in 1 of the next 3 years: Year Sold (estimated return, $1,000,000s) Company 1 2 3 1 $14 $18 $23 2 9 11 15 3 18 23 27 4 16 21 25 5 12 16 22 6 21 ...
Sunday, May 20, 2012 at 8:01am

linear programming
Exeter Mines produces iron ore at four different mines; however, the ores extracted at each mine are different in their iron content. Mine 1 produces magnetite ore, which has a 70% iron content; mine 2 produces limonite ore, which has a 60% iron content; mine 3 produces pyrite...
Sunday, May 20, 2012 at 7:59am

Information Technology 130 Programming Concepts
True or False Indicate whether the following statements are true or false. 1. T F: You cannot break up a word with the line-continuation character.
Thursday, May 17, 2012 at 3:02pm

Information Technology 130 Programming Concepts
Thank you Steve I really appreciate your help.
Thursday, May 17, 2012 at 2:38am

Information Technology 130 Programming Concepts
argument arguments are supplied by the caller parameters are used when defining the function so, f(x) = x*5 -- x is the parameter y = f(4) -- 4 is the argument y = f(sin(pi)) -- sin(pi) is the argument
Wednesday, May 16, 2012 at 4:08pm

Information Technology 130 Programming Concepts
Review Questions and Excercises Fill-in-the-Blank 1. A(n) _________ is information that is being passed to a function.
Wednesday, May 16, 2012 at 3:14pm

Linear Programming
Finco must determine how much investment and debtto undertake during the next year. Each dollar invested reduces the NPV of the company by 10¢, and each dollar of debt increases the NPV by 50¢ (due to deductibility of interest payments). Finco can invest at most $1 ...
Monday, May 14, 2012 at 9:13am

Programming with Eclipse
What have you done so far and what is your question?
Friday, May 11, 2012 at 8:16am

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 ...
Thursday, May 10, 2012 at 5:29pm

c programming
Plz give me some idea that how can i do this program. Write a program that uses a 20x20 board, initialised to a given pattern, to play the game Conway's life . After each turn print out the board pattern using a . for a dead square and a * for a live square. Squares off ...
Wednesday, May 9, 2012 at 5:04am

c programming
Here, we do not write complete programmes for you. We can give help in debugging, design, or answer specific questions. Here, you can create a 2-d array and work accordingly. Be sure to check for off-board indices to avoid memory errors. If you need help with your pseudocode ...
Tuesday, May 8, 2012 at 7:01am

c programming
Write a program that uses a 20x20 board, initialised to a given pattern, to play the game Conway's life . After each turn print out the board pattern using a . for a dead square and a * for a live square. Squares off the board are considered permanently dead.
Tuesday, May 8, 2012 at 4:53am

computer programming
Write a program that uses a 20x20 board, initialised to a given pattern, to play the game Conway's life . After each turn print out the board pattern using a . for a dead square and a * for a live square. Squares off the board are considered permanently dead.
Monday, May 7, 2012 at 5:24am

computer programming
Write a program that uses a 20x20 board, initialised to a given pattern, to play the game Conway's life . After each turn print out the board pattern using a . for a dead square and a * for a live square. Squares off the board are considered permanently dead.
Monday, May 7, 2012 at 5:05am

programming
I have created a Database called Business with the 2 tables as follows: dbo.Orders ID OrderID ItemName Quantity Price SalesID dbo.Sales SalesID FIrstName LastName OrderID I need to create a stored procedure to show Total Sales of each sales, including SalesID, FirstName, ...
Wednesday, May 2, 2012 at 4:20pm

c++programming
Hi, I am 12 years experienced tutor and assignment helper for computer science. I am ready to get this assignment done for you but you have to pay fee for it.For further discussion email me at hardeepsp ( at the rate) gmail (dot)com or contact me in skype or gtalk. my skype is...
Wednesday, May 2, 2012 at 2:09pm

programming
Hi, I am 12 years experienced tutor and assignment helper for computer science. I am ready to get this assignment done for you but you have to pay fee for it.For further discussion email me at hardeepsp ( at the rate) gmail (dot)com or contact me in skype or gtalk. my skype is...
Wednesday, May 2, 2012 at 2:08pm

python programming
Hi, I am 12 years experienced tutor and assignment helper for computer science. I am ready to get this assignment done for you but you have to pay fee for it.For further discussion email me at hardeepsp ( at the rate) gmail (dot)com or contact me in skype or gtalk. my skype is...
Wednesday, May 2, 2012 at 2:07pm

Programming logic
Hi, I am 12 years experienced tutor and assignment helper for computer science. I am ready to get this assignment done for you but you have to pay fee for it.For further discussion email me at hardeepsp ( at the rate) gmail (dot)com or contact me in skype or gtalk. my skype is...
Wednesday, May 2, 2012 at 2:07pm

Programming logic
Thank you syed!!
Monday, April 30, 2012 at 4:14am

python programming
Explain in python programming (x^n-1)/(x-1) = x^(n-1)+x^(n-2)+...+x+1
Sunday, April 29, 2012 at 3:16am

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 ...
Sunday, April 29, 2012 at 2:51am

Programming logic
Under the detailLoop() Statements In Else Part you have used wrong logic it should be like below else output newSalesperson, newAmount to allSales input newSalesperson, newAmount from newSales
Sunday, April 29, 2012 at 2:03am

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...
Sunday, April 29, 2012 at 1:09am

programming logic
DEBUG06-02.txt // 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[NUM_RANGES] = 90, ...
Thursday, April 26, 2012 at 4:29pm

programming
What is the question?
Wednesday, April 25, 2012 at 10:05pm

computer science
You will probably notice that posting the question for computer programming without showing any of your work will not get much response. We will not write a complete program for you, because that will deprive you of the opportunity to learn. Programming cannot be learned by ...
Wednesday, April 25, 2012 at 5:30pm

Math
During the summer break, Allie works as many as 35 hours per week. On Saturdays she spends between two and six hours teaching adults to swim. On weekdays, she can work between 10 and 40 hours teaching swimming lessons at a children's camp. Teaching adults pay $10 per hour ...
Monday, April 23, 2012 at 11:56pm

programming
I need help with a C++ exercise. I need to write a code to display a table consisting of four rows and 11 columns. The first column must contain the numbers 1 through 4 and the other columns must contain the result of multiplying the number in the first column by the numbers 0...
Monday, April 23, 2012 at 7:41pm

computer programming
Make an Maplet that does the simple calculator funtions as addition, subtraction, multiplication, division, factorial, sin(), cos(), tan(). (using maplet in maplesoft)
Sunday, April 22, 2012 at 5:06pm

programming
We would better help you if you could specify the help you need is with syntax or logic. The best route is to post what you already have written if you have already started (pseudocode or code). If you have not yet started, you need to tell us what you have learned so far. ...
Sunday, April 22, 2012 at 10:17am

programming
We would better help you if you could specify the help you need is with syntax or logic. The best route is to post what you already have written if you have already started (pseudocode or code). If you have not yet started, you need to tell us what you have learned so far. ...
Sunday, April 22, 2012 at 10:17am

Math Analysis -graphical method
This is a linear programming problem in which we have given resources (oven and decorating room) and production options (cakes, x and cookies y). The objective is to maximize profit, given by Z=25x+40y. To analyze the problem, you would need to identify the constraints, namely...
Sunday, April 22, 2012 at 8:43am

programming
do your homework
Friday, April 20, 2012 at 8:35pm

Programming logic and design
Design a program that lets the user enter the total rainfall for each 12 months into an array. The program should calculate and display the total rainfall for the year the average monthly rainfall, and the month with the highest and lowest amounts. In pseudo-code and a flowchart
Friday, April 20, 2012 at 2:35pm

programming
write a java application to calculate the exponent value of a number using the following specification <Prompt the user to enter an integer value <Pass the integer value to the method squares the number and to a method cubes the number.The result must be returned to the...
Friday, April 20, 2012 at 6:01am

programming
write a payroll program that promt a user to enter his name,hourly rate,working hours in the week and display the amount earning by each employee in Rand.user is not allowed to enter any negative value for hourly rate and working hours.
Friday, April 20, 2012 at 5:52am

programming
Below is a small perl program which does the job. You may not know perl, but it should be possible to figure out what it's doing. It does not validate input as a number, but it does illustrate some of the possible gotchas, and what can be done...
Thursday, April 19, 2012 at 11:43am

programming
Would you like to share with us what you have done so far, and what problems you are encountering, if any? It is also not clear which language should be used to write this program.
Thursday, April 19, 2012 at 9:12am

programming
Write a simple ATM program. Ask the user to enter their account number, and then print their beginning balance. (Just make one up). Then ask them if they want to make a deposit or a withdrawal. Depending on their selection, call a function to perform the action that they wish...
Thursday, April 19, 2012 at 8:22am

Programming & Algorithms
64
Thursday, April 19, 2012 at 3:57am

programming logic
To debug, always keep in your mind the value of variables at any time as the program proceeds, and think of exceptional values a user can enter. Your program must expect users to enter anything because of human errors. For example, for the recycling program: // A high school ...
Sunday, April 15, 2012 at 7:50am

programming logic
Find Bugs in the pseudocode // A high school is holding a recycling competition // This program allows a user to enter a student's // year in school (1 through 4) // and number of cans collected // Data is entered continuously until the user wnats to quit // After headings...
Sunday, April 15, 2012 at 12:19am

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 ...
Thursday, April 12, 2012 at 6:40pm

c++programming
Square-root and squares sqrt(x) where x can be a double or float. Example: double x, out; ... out=sqrt(x); // square-root ... out=x*x; // square As far as I remember, x^2 for x-squared does not work in C++. There is math function called pow(x,2), but x*x is much simpler.
Tuesday, April 10, 2012 at 10:45pm

c++programming
I need to know how to write the c++ instruction for Square Root.
Tuesday, April 10, 2012 at 9:47pm

c++programming
Please specify what is your question or what you have done to start.
Tuesday, April 10, 2012 at 6:50pm

calculus test corrections. 1 question
Describe the linear programming situation for this system of inequalities. x < 1 y > 0 3x + y < 5 the answer is unbounded. please tell me why
Tuesday, April 10, 2012 at 2:10pm

Pre-calculus
1)Which term best describes the linear programming situation represented by x+y=2 why is the answer infeasible? 2)Describe the linear programming situation for this system of inequalities. x < 1 y > 0 3x + y < 5 why is the answer unbounded?
Sunday, April 8, 2012 at 12:42pm

java programming
Tell us where you're stuck, what bugs you, and we'll start from there.
Sunday, April 8, 2012 at 8:17am

java
Yes, we will be pleased to help you. For this problem, you will need to know how to find common denominators, which is basically the lowest common multiple (LCM) of the denominators. To do this, there are to approaches. The conventional approach is to factorize each ...
Sunday, April 8, 2012 at 8:14am

java programming
Create a program that will generate lottery numbers for the user. There are two types of numbers in the lottery, the standard numbers 1-43 and the power ball number 1-60.There are three different lottery games, a three number game, a five number game with a power ball, and a ...
Saturday, April 7, 2012 at 1:06am

calculus
1)Which term best describes the linear programming situation represented by x+y=2 why is the answer infeasible? 2)Describe the linear programming situation for this system of inequalities. x < 1 y > 0 3x + y < 5 why is the answer unbounded?
Friday, April 6, 2012 at 8:26pm

Object Oriented Programming
What is the question? You probably know that we do not write the program for you. We will be glad to give you hints, and help you debug if you run into problems. If you show us some of your work, we can get started from there.
Thursday, April 5, 2012 at 10:21am

Object Oriented Programming
Write an application class that generates 6 objects randomly from either a Car, or a Truck, or a Bicycle class. Your generated objects will be stored in a RentedVehicle array. Write a static method in your test class that takes an array of RentedVehicles and prints the ...
Wednesday, April 4, 2012 at 5:24pm

COMPUTER PROGRAMMING
You have answered your own question!
Tuesday, April 3, 2012 at 7:56pm

Computer Programming
If I were to code this program, I would start from the user's point of view, namely start appropriate action as soon as possible, such as when an error is discovered. For the first part, the code is generally correct, but I suggest making change to avoid the following ...
Tuesday, April 3, 2012 at 7:55pm

programming
write a road race program for the event 5k Run and Walk Road Race using data structures
Tuesday, April 3, 2012 at 6:56pm

programming
you should probably mention the language its in.
Tuesday, April 3, 2012 at 6:32pm

programming
You are required to design and write an application that will analyze an input file (InputFile.txt); the file contains a date on each line. Your algorithm should output all the missing dates, excluding Saturdays and Sundays. You should not cater for public holidays. Also keep ...
Tuesday, April 3, 2012 at 6:30pm

Computer Programming
I need a check on my answers 1) prompt a user to enter an employee name, employee id, and hours worked until a value of "-1" is entered for employye name. my answer: Start Declarations num EmployId, HrsWrked string EmployName housework() detailLoop() Stop housework...
Tuesday, April 3, 2012 at 2:07pm

programming in BASICS
Kindly explain reasons behind your choices to demonstrate that they were not taken at random.
Friday, March 30, 2012 at 5:17pm

Pages: <<Prev | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | Next>>

Post a New Question | Current Questions

Homework Help: Computers

Search
Members