# Homework Help: Computers: Programming Languages

## Recent Homework Questions About Programming Languages

**programming**

How would one write a short structured design for loading a truck? phseudocode only that accomplishes this task. I am now failing this class so if anyone can help please do!!

**C Programming**

I am trying to find the sum of two integers. I entered the following program into the Visual Studio and it is telling me that there are errors. Can someone tell me where they are please? #include <stdio.h> int main( void ) { int integer1; int integer2; int sum; printf( "...

**Alegra 2**

Explain the use of the objective quantity in linear programming.Give an example of an objective quantity that you would minimize and an example of one that you would maximize

**programming**

in visual basic they tell me use comma "delimited strings"(something with exactly two comm mas, such as "20,45,2003" or "hi,,there") and pull out three pieces of the string apart(using commas as delimiters that separate each of the three parts) and also tells me to display ...

**C programming**

Pythagorean Triples. A right triangle can have sides that are all integers. The set of three integer values for the sides of a right triangle is called a Pythagorean triple. These three sides must satisfy the relationship that the sum of the squares of two of the sides is ...

**programming**

I have been stuck on this problem in my software design class and I hate going in these places and looking stupid but my professor had a family emergency and my homework is due tomorrow night. Design a program in pseudocode that calculates the amount of money a person would ...

**Programming Language**

Create a method called countSelected, which takes an array of integers and an integer as input parameters and returns the number of occurences of the integer in the array. Example: data:{2, 1, 1, 8, 1, 0} select:1 ==> 3 public int countSelected (int[] data, int select) {

**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 ...

**programming language**

can enyone help me figure this out... Surface to Volume Ratio Write a program to compute surface to volume ratio. We will be given the height, width, and depth of N cuboid, and determine the smallest surface to volume ratio among them. Input The first line of the input data ...

**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 ...

**programming**

Consider the following selection statement where X is an integer test score between 0 and 100. input X if (0<=X and X<49) Output "you fail" Else if (50<=X and X <70) Output "your grade is" X Output " you did OK" Else if (70<=X and X<85) Output "your grade is"...

**programming**

I really need help on this I'm kind of confused on homework Frist i have to create a Currency Conversion Design Assingment-Hierachy Chart. I put Main Display Menu Get_Int_Value Convert Currency Display Results I also need to create a Currency Conversion Development Assignment-...

**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 ...

**programming**

•Hi I really need help with with this I don't think I'm understanding how to do it maybe because i have never done this Design a program (you can use pseudocode to write your program) that models the worm’s behavior in the following scenario: A worm is moving toward an ...

**programming**

•Hi I really need help with with this I don't think I'm understanding how to do it maybe because i have never done this Design a program (you can use pseudocode to write your program) that models the worm’s behavior in the following scenario: A worm is moving toward an ...

**Programming**

As instructed by jim, I am reposting my question with work done so far... In this lab, you will demonstrate your understanding of two-dimensional arrays by implementing a TicTacToe game. The service class created in this lab will be utilized later in the semester as we move ...

**Mass Communication Studies**

SEXUAL CONTENT IN ADVERTISING AND MASS MEDIA PROGRAMMING Comment and discuss about this continued trend in the "liberalization" of media content despite the last few decades of conservative "family values" political movements and organizations - and their like minded members ...

**Programming**

Hello, I seem to be having some difficulties with an assignement of mine, and pretty much need a fill in the blank for a program I have written for it. Heres the assignment: In this lab, you will demonstrate your understanding of two-dimensional arrays by implementing a ...

**programming**

Can you help me show the right program to solve for my homework using C++

**programming**

Please write a program to simulate a game called Battleship. First you need to place ships on an N by N board (1 <= N <= 1000). Every ship will occupy a 1 by k area, where k is an integer between 1 and N. The ships cannot overlap and they can only be placed vertically or...

**programming**

Where do i get the info to make flow charts my teacher will not respond to me and I don't know what to do i also need to make a hierarchy chart both items are on currency conversion can anyone help me I cant afford to fail this class and i am headed in that direction fast.

**Programming & Algorithm**

(1) How to design algorithms to implement the stack operations. (2) Write a program to multiply any two matrices. (Using Basic) and finally, (3) Consider the algebraic expression E=(2x+y)(5a-b)^3. Draw the tree T which correspond to the expression E and find the pre-order ...

**it programming**

design a program that models the worms behavior in the following scenario. A snake is moving towards a hole. Each time it moves, the snake cuts the distance between itself and the hole by its own body lengthuntil the snake is close enough to enter the hole. The snake can enter...

**Programming**

(i) What is binary tree (ii) Write a program to multiply any two matrices. (use any program of choice)

**C Programming**

I don't know what to do now. Below is my code I have so far but I have no idea what to do next. Here's the prompt for what the program should do: Welcome to the Weather Balloon Altitude and Velocity Program. Enter the Balloon's Starting Time: 1 Enter the Time Increment: 2.2 ...

**C Programming**

How do you reprompt after the user inputs a wrong number into the program in C Programming? Loop structure? i.e. I want my code to do this: Enter a Compass Heading: 500.7 Please Input a Compass Heading between 0 and 360 Degrees. Enter a Compass Heading: 360.0 If the user puts ...

**Math**

I'm doing linear programming and I'm having trouble with this one problem. The Backstage Dance Studio director must plan for and operate many different classes, 7 days a week, at all hours of the day. Saturday is very important day for younger students, and each Saturday class...

**Algebra 2**

I'm doing linear programming and I'm having trouble with this one problem. The Backstage Dance Studio director must plan for and operate many different classes, 7 days a week, at all hours of the day. Saturday is very important day for younger students, and each Saturday class...

**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 ...

**C Programming**

This is what the program needs to do: Enter a temperature: 32.4 Enter 'C' for Celsius or 'F' for Fahrenheit: C Choose a conversion ('C' for Celsius or 'F' for Fahrenheit): F The temperature is: 90.3 F. How would I store the input when it asks for C or F, then use it to ...

**C Programming**

Write a program that prompts the user to enter a temperature, followed by a letter representing Celsius (C) or Fahrenheit (F). Then prompt the user for the conversion type and print the results to the screen with one decimal point. If the user enters a letter other than 'C' or...

**C programming**

The task is to create a c source code program that will name a quadrant when a given coordinate is given. Example: Input Coordinate Pair: 0 5.3 Positive y Axis I just need help on how to start this. I know I have to use if else statements but I'm not sure how to work those. I ...

**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 ...

**Computers(Java Programming)**

Service Class: Lottery Write a Lottery class that simulates a lottery. The class should define an array of five integers named lotteryNumbers. The constructor should use the Random class (see the Java API) to generate a random number in the range of 0 to 50 for each element on...

**programming**

I am supposed to modify this program so it begins by asking the user for the number of values. The program then uses a loop to read the specified number of values and then display their average. program is below that i worked on in class. I been working on this all day and ...

**acc math 2 high school**

I need help finding constraints to put this on the graph. the objective function is c=16x+25y. Problem: Your club plans to raisse money by selling two sizes of fruit baskets. The plan is to buy small baskets for $10 and sell them for $16, and to buy large baskets for $15 and ...

**english**

Children are much more susceptible to violent programming because they have not yet developed the ability to distinguish between fantasy and reality. For example, in more than 40% of programs with violence, the "bad" violent characters are never punished; and only 4% of ...

**crt**

Children are much more susceptible to violent programming because they have not yet developed the ability to distinguish between fantasy and reality. For example, in more than 40% of programs with violence, the "bad" violent characters are never punished; and only 4% of ...

**cmc210**

When the change from sponsored programming to network programming took place, the amount of advertising dramatically increased. Was this a positive or negative development for the general public at the time? Why or why not?

**java programming**

could someone help me create a source code that requires you to enter 2 numbers then gets the sum, difference, product and quotient of them after entering

**linear programming**

help please thx paint fair company advertises its weekly sales in newspapers, television, and radio. Each hundred dollars spent in advertising in newspapers is estimated to reach an exposure of 14 buying customers, and each hundred dollars in tv reaches an exposure 17 buying ...

**IT 210 Fundamentals of Programming with Algorithms**

Currency Conversion Test Procedure

**math**

oh, please help me post a linear programming questiion with solution(graphical)please i need it nao..and i cant find it on the internet thx

**programming**

Write a Terminate and Stay Resident program in Assembly language to change the background color of DOS-screen after every ten seconds. You will need to hook timer interrupt (real time interrupt) for this purpose. Hint: Within the interrupt timer routine, you can use timer tick...

**Grammar**

Can someone please help me with these questions? I have noo idea about them! Identify the function of the relative pronoun in the adjective clause. 1.The game was designed by Zack, who studies computer programming. 2.We all enjoyed the play that you wrote. How can I find the ...

**Computer Programming Design**

I really need someone to help me with this.I post this last week and I did not respond to it hopefully someone will respond Design a program that calculates the total amount of a meal purchased at a restaurant. The program should ask the user to enter the charge for the food, ...

**Computer Programming Design**

Design a program that will ask the user to enter the amount of a purchase. The program should then compute the state and county tax. Assume the state sales tax is 4 percent (.04) and the county tax is 2 percent (.02). The program should display the amount of the purchase, the ...

**CIS Design and Programming**

Design a program that calculates the total amount of a meal purchased at a restaurant. The program should ask the user to enter the charge for the food, and then calculate the amount of a 15 percent tip and a 7 percent sales tax. Display each of the amounts and the total.

**C++ Algorithms**

Binomial numbers (or binomial coefficients) are important positive integers that arise frequently in computing and mathematics. A function to compute binomial coefficients will have two inputs: n and k. The corresponding coefficient is written as nCk. /* pseudocode for ...

**Human Resourses**

The department of education has awarded an agency a grant for 1.6 million to provide training,programming for school drop outs. Prepare a budget matrix to help award the agency. The matrix budget consists of line-item and functional program budget. Create a line-item budget ...

**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 ...

**IT 205**

Highlight the most important differences between object-oriented programming languages and generations 1-4 of (often called top down or structured) programming languages. How are they similar?

**IT Programming in South Africa for a 2007 matric..**

IT Programming in South Africa for a 2007 matriculant? I matriculated 2007 with a Senior Certificate : HG Afrikaans 2nd Lang 45% HG English 1st Lang 51% SG Maths 66% SG Science 49% HG Biology 44% SG Computers 62% And I have experience with ms-dos, vbscript, javascript, css, ...

**programming**

what type of programning language would a Financial Services use for their business?

**math**

I'm working on Linear Programming Models. How do I find the corner points when they fall between two numbers? Is there some formula to use?

**Old -Linear programming - up where it may be found**

Posted by Anonymous on Wednesday, November 26, 2008 at 8:49pm. P=-30x+25y Subject to 2x+3y>=30 2x+y<=26 -6x+5y<=50 x,y>=0 I need the minimize and maximaze Responses * linear programming problem - Damon, Thursday, November 27, 2008 at 1:35pm One point at the origin...

**linear programming problem**

P=-30x+25y Subject to 2x+3y>=30 2x+y<=26 -6x+5y<=50 x,y>=0 I need the minimize and maximaze

**Fundamentals of programming**

Design a program that models the worm’s behavior in the following scenario:

**MATH- LINEAR PROGRAMMING**

THE PENN-OHIO BUILDING COMPANY BUILDS AND SELLS TWO TYPES OF HOUSES:"CLEVELAND CASTLES" AND "PITTSBUTGH PALACES". CONTRACTS CALL FOR USING TOTALS OF AT LEAST 20,000 FT OF FRAMING LUMBER AND 8,000 CUBIC FT OF CONCRETE; AND AT LEAST $9,000 FOR PROMOTION AND ADVERTISING. EACH ...

**Intro to Computer Programming - Pseudocode**

This assignment (below) jumped way ahead of my abilities compared to the last assignment. I think I need a parallel array or a 2D array, an accumulator or loop counter, a verification of input, and Boolean something. But I'm not sure how to write it. We're not writing ...

**Math Algebra 2**

An electronics company manufactures personal tape players on which it makes a profit of $28 each and personal CD players where the profit is $33 each. The company intends to produce at least 60 tape players and 100 CD players per day but its factory is not equipped to assemble...

**Algebra 2**

Linear Programming Your club is making boxes and plant hangers to sell as a fundraiser. Your profit is $10 for a box and $8 for a hanger. How many boxes and hangers should you make in order to maximize your profit under the following conditions A) lumber yard doantes enough ...

**inter**

4. Canning Transport is to move goods from three factories to three distribution centers. Information about the move is given below. Give the network model and the linear programming model for this problem.Canning Transport is to move goods from three factories to three ...

**Algebra**

I have just one more linear programming question, and then I think I'll be good. Thanks to everyone who answered my previous question, I am beginning to understand now. Suppose you make and sell skin lotion. A quart of regualr skin lotion contains 2cups of oil, and one cup of ...

**C programming**

Enter two integers between 1 to 10 3 4 Both numbers are less than 5. The sum of two numbers is:-1081825676 The product of two numbers is:-1081825680 why are the sum and product so weird? my code: #include <stdio.h> int main() { int x; int y; int z; int p; int count=1; ...

**Computer Science**

Can anyone tell me where one could find help and advice for a talented 8-year-old on computer programming languages please?

**Computer Programming**

can anyone give me site about programming I need a sample c or c++ source code. a program must have a description.. thanks

**Computer Programming**

Can anyone give me a site that contains a C source code. it must be a game or something that I can copy the code. thanks

**C++ Programming**

I have to redo programming exercise 5 of chapter 9 using dynamic arrays. but I have the information but I don't know how to use it in a dynamic arrays please help. //Chapter 9: Programming Exercise 5 #include <iostream> #include <cstring> #include <cctype> ...

**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...

**Computer programming**

problem: Write a program that accepts your first name then displays it content in reverse order. Ex: Enter your name: Michael Your name in reverse order: Leahcim can anyone write the code? this is C programming language.. thanks a lot..

**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 ...

**Business (Linear Programming)**

Wal-Mart, a discount store chain, is planning to build a new store in Rock Springs, Maryland. The parcel of land the company owns is large enough to accommodate a store with 140,000 square feet of floor space. Based on marketing and demographic surveys of the area and ...

**Business (Linear Programming)**

Wal-Mart, a discount store chain, is planning to build a new store in Rock Springs, Maryland. The parcel of land the company owns is large enough to accommodate a store with 140,000 square feet of floor space. Based on marketing and demographic surveys of the area and ...

**Pre-Calculus check answers**

Describe the linear programming situation for this system of inequalities where you are asked to find the maximum value of f(x,y)=x+y. Answer: an optimal solution 2)Describe the linear programming situation for this system of inequalities: Answer: an optomal solution

**Pre-Calculus-check answers**

Describe the linear programming situation for this system of inequalities where you are asked to find the maximum value of f(x,y)=x+y. Answer: an optimal solution 2)Describe the linear programming situation for this system of inequalities: Answer: an optomal solution

**Pre-calculus-check answers**

Describe the linear programming situation for this system of inequalities where you are asked to find the maximum value of f(x,y)=x+y. Answer: an optimal solution 2)Describe the linear programming situation for this system of inequalities: Answer: an optomal solution

**pseudocode programming**

need help to write a sumsquare function module and then rewrite that fuction module into an algorithm from this pseudocode. count integer square integer sumsquare integer count = 0 square = 1 do while count <= 2 count = count + 1 sumsquare = sumsquare + square end do this ...

**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: ...

**business**

When setting up a production set, what else is important to financial success, aside from linear programming?

**programming techniques**

how do modular program work, can you show me an example of it using dowhile pseudo code.

**Stats**

G. Johnson recently inherited a large sum o money; he wants to use a portion of this money to set up a trust fund for his two children. The trust fund has two investment options: 1) a bond fund and 2) a stock fund. The projected returns over the life of the investments are 6% ...

**business**

the proper question would be whats the difference between OOP(object oriented programing) and imperative programing. oop is not an exact object it is more likely an approach to programing. 1st generation prog languages are low level programing language, consisting of 1 and 0(...

**Computer programming**

Ok so the question is this: the manager of the Super Supermarket would like to be able to compute the unit price for products sold there. To do this, the program should input the name and price of an item and its weight in pounds and ounces. It should then determine and ...

**Java Programming**

Hi, I have the following assignment: "Write a Java application program using Eclipse to do the following. Write a program that contains 5 Java classes, each in their own file. The first class is called Main and contains the main method that runs the program. The main method ...

**Cpro**

1.What is a number system in computer programming? 2. what is binary, octal, hexa, DEC and how to convert them to one another? thanky you very much.. :)

**programming**

Can You Please help me understand how to do this and what i have to do to solve the problem.... Please!! Consider the following selection statement where X is an integer test score between 0 and 100. input X if (0 <= X and X < 49) output "you fail" else if (50 <= X ...

**software**

What’s the significance of the “programming language” to my business

**computers**

What does HTML stand for and what is it ? Ok I know that HTML stands for Hypertext Markup Language it is the programming languge used to describe how each element of a Web page should appear when viewed with a browser is that all I am not sure what else thanks for your help :)

**programming**

I don't know how to phrase this but I am building my own website and I want to have a link to my pictures but I want them to look like a table 2 by 2 with 4 pics in all. I know how to link to pics and etc. but I cant get them to come together like a box do you get what im ...

**Java Help**

I am just starting out in programming. If someone could help me with these assignments, it would be greatly appreciated. "Write a Rectangle class. This class represents Rectangles. Each Rectange has the X and Y coordinates of its center point (as doubles) and its width and ...

**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 ...

**A good programming forum???**

I'm working with VBScript and Javascript all the time... need help.

**programming**

How do I delete a file on my shared LAN network with vbs??? 1. The vbs file is in the same directory as the file i need deleted 2. How do I do this without having to declare long locations??? Anybody? help would be appreciated thanks

**programming**

I keep getting a 'Code 0; Permission Denied' error, while trying to run some .hta embedded vbs over my LAN Network, but when I run it locally (on my desktop) its just fine. My guess is this has something to do with writing to and / creating files in the .hta's local directory...

**C++ Programming**

What is the output of the following C++ code? p = list; while (p!=NULL) cout << p->info << " "; p = p->link; cout << endl;

**C programming, not C++**

design and implement such a function and use it in a program called part3.c that allows someone to enter two real numbers and an epsilon value (also a real number) and reports if the two numbers are equal (+/- epsilon) or not. If you were asked this question, how would you try...

**algebra 1**

how do you solve linear programming questions?

**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**

#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....