# Homework Help: Computers: Programming Languages

## Recent Homework Questions About Programming Languages

Programming Logic and Design
Create a class named Year that contains data fields to hold the number of months in a year and the number of days in a year. Include a constructor that sets the number of months to 12 and the number of days to 365, and get and set methods for each field. b. Design an ...

programming
A. Write a program which reads an array of up to 200 integers from input and then does all the following in order 1. searches the array for a specific integer given by the user and outputs its position in the array; 2. outputs the largest element in the array; 3. sorts the ...

Programming
3.Do the planning and write algorithm to solve for following problem. There are 15 pupils in the Introduction to Programming I module. The age of every student is entered in years and months. Convert the age into months to calculate the average age. Display the answer (average...

Programming 1
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 ...

basic programming principles
Do the planning and write an algorithm for the following questions. Each problem contain a do loop. When planning your algorithm, decide which type of loop will be best suited to solving the particular problem (pre-test or post-test). If the problem contain a decision to be ...

basic programming principles
2.Write only the select case statements for the following problem statement. The marital code of a person is stored in the variable called marCode. Display the corresponding description on the screen. Provide for an incorrect marital code Marital Code S Single D Divorced M ...

basic programming principles
.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 ...

Mathemtical programming
Consider the following primal LP problem. Max 𝑍=2𝑥1+5𝑥2+7w​909;3 s.t. 𝑥1+2𝑥2=6,and 𝑥1≥0, 𝑥2≥0,𝑥3≥0. (a) Graph the feasible region. [4] (b) Find the gradient of the objective function, ...

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
Peter decided to save money to buy a house. Enter this amount as well as the amount he will be able to save each month. He earns 0.8% interest per month while the amount is less than R70,000 and 0,7% interest per month if the amount is equal to or more that R70,000. The ...

programming concepts
Input a list of positive numbers ( terminated by 0) into an array, find the mean ( average) of the numbers in the array, and output the result. Use a subprogram to input the numbers, a function to find the mean, and a sub-program to output the result.

computer programming
a car rental company uses the following table to help compute rental fees . Chevrolet \$50.00 , corvette 85.00 , Pontiac 53.00 , Buick 60.00 , Oldsmobile 60.00 , Cadillac 70.00 (Rate per Day) . Rate per Mile .27 , .45 , .32 , .32 , .35 , .40 . It have to be in a C++ language

Quantitative method
A client who contacted CWD this past week has a maximum of \$50,000 to invest. CWD's has two investment funds. The projected return for internet fund is 12% and Blue chip 9%. The investment advisior requires that at most \$35,000 of the client's funds should be invested in the ...

Ethics and Technology
Programming languages were developed in order to: A. make it possible to program computers in English. B. make programming faster and less error-prone. C. speed translations between America and the Soviet Union during the Cold War. D. improve the computation speed of computers...

programming
how do you write a flow chart for program that accepts a salespersons ID num and num of policies sold in the last month, and displays the data only if the salesperson is a high performer-a person who sells more than 25 policies in the month?.. Im lost on this one.

Programming in Java
Write a program to calculate adjacent and opposite of a triangle. My code can calculate hypotenuse but won't calculate opposite and adjacent.

c++ programming
c++ program that accepts customer data ,calculates discount based on the age and ticket price depending on the schemes offered by transport company.

programming in c++
c++ program that accepts customer data ,calculates discount based on the age and ticket price depending on the schemes offered by transport company.

computer programming
Write a fortran program to compute the geometric information for a kite. The program should read the a, c and p lengths and compute the q length

Programming c++
Hello, sorry if its possible i want a code written in c++. question. Write the pseudocode for a program to calculate the wages of a sales according to the following rules. The wage is calculated at a rate of 15% of sales. If the salesman has been with the company more than ...

Programming
A sweater is on sale for 25% off the original price. The original price is \$50 write a solution to calculate and print the sale price.

programming
How can I write the algorithm in pseudocode to solve this problem: There is 15 pupils in the introduction to programming 1 module. The age of every student is entered in years and months. Convert the age into months to calculate the average. Display the answer(Average age) and...

Java [Introduction to programming]
T he volume of a sphere is given by [2marks] V = 4 / 3 ( π r 3 ) I f the radius is given by a va riable radius of type double, write a java expression for the volume

Programming
The following is the Ticket for ABOOD Bus service Passenger’s Names: Going to: Date of issue: Report time: Seat no: Fare: Date of travel: Departure time: Bus no: Write a program to generate tickets for 30 passengers and save these tickets in an output document file Hints: a...

Programming Logic and Design
The Romance World Cruise Line provides special gifts and celebrations for passengers who are newlyweds, as well as for those who have been married more than 40 years. Design a flowchart and pseudocode for a program that accepts a couple's last name, ship cabin number, and ...

Computer Literary
Which of the following is Not an example of debugging A)Looking for errors in programming code B)Fixing misspelled commands in programming code C)Solving faulty logic in programming code D)Upgrading to improve the programming code

java programming
Create a Sales application that prompts the user for a series of sales figures and then implements a sorting routine on the sales figures. Output. Enter the number of sales made today: 15 Enter the amount of sales 1:25 Enter the amount of sales 2:65 Enter the amount of sales 3...

programming
– Define a structure called Object which includes three doubles specifying the object’s mass, volume and density. – Create an array of 10 Objects. – Define the function void scanobjectsdata(struct Object objects[], int size) that scans from the input and updates the ...

programming
How can I hack a computer?

programming
Can someone teach me how to show whats on my computer screen to another computer's screen?

programming
Can someone help me reprogram my computer and help me show whats on this screen to that computer?

programming
Hi, i would like to know how to program and hack computers. If you would please help me.

Programming
Hi guys! I have a humanitarian turn of mind, and that's why just can't understand programming. On the other hand, I don't want to spoil my average performance. Thus, I have to use homework-help online services, like Homework-Desk. Do you know any other ways of keeping the ...

programming concepts
Input a list of employee names and salaries stored in parallel arrays. The sal-aries should be floating point numbers in increments of 100. For example, a salary of \$ 36,000 should be input as 36.0 and a salary of \$ 85,900 should be input as 85.9. Find the mean ( average) ...

programming urgent
so i have two arrays . I need to figure outh how to multiply each value of the first array by each value in the second array. how doy ou do thtisT? thanks

programming
Hi, please help me with this question. Write a program to assign passengers seats on a train journey that travels from Paris to London. Assume the train consists of (78 seats distributed amongst different classes) with the following specifications: 3 classes, 13 rows and 6 ...

Probability and Linear Math
SET UP BUT DO NOT SOLVE THE FOLLOWING LINEAR PROGRAMMING PROBLEM. A financier plans to invest up to \$500,000 in two products. Project A yields a return of 10% on an investment, whereas Project B yields a return of 15% on the investment. Because the investment in Project B is ...

programming
write the c programe to find the simple intrest of amount which is supplied by user with the rate of 3% if ammount <10,000 and5% if ammount >10,000 for 5 years.

programming
Step 1: Design a flowchart or write pseudocode for a program that allows a user to enter 12 numbers, then displays all of the numbers (in the order they were entered) as well as the largest number and the smallest number. Step 2: Implement and test your design using VisualLogic.

PRINCIPLES OF PROGRAMMING LOGIC
HOW CAN I DRAW A FLOWCHART THAT WILL PRODUCE THE FOLLOWING OUTPUT REPORT, ITEM, PRICE, QUANTITY AND SUBTOTAL USING MAINLINE LOGIC?

programming
would someone be able to give me an idea of how to start coding this in C? You just finished playing cards with a group of friends and each time your score changed in the game you wrote it down. Given the total number of points it takes to win the game and all of your scores (...

Language Arts 8A
It is difficult to escape the influence of television. If you fit the statistical averages, by the age of 20 you will have been exposed to at least 20,000 hours of television. You can add 10,000 hours for each decade you have lived after the age of 20. The only things ...

It is difficult to escape the influence of television. If you fit the statistical averages, by the age of 20 you will have been exposed to at least 20,000 hours of television. You can add 10,000 hours for each decade you have lived after the age of 20. The only things ...

Language Arts; Trouble with television
It is difficult to escape the influence of television. If you fit the statistical averages, by the age of 20 you will have been exposed to at least 20,000 hours of television. You can add 10,000 hours for each decade you have lived after the age of 20. The only things ...

programming c++
write a simple c++ application that displays different varieties of meal. the application must do the following; I. allow a user to choose a meal, ii. prompt the user of the choice made, iii. display the cost of the food.

programming
write a pseudocode to accept item name, price, and quality from a user and display the item name and it's total value. the total value can be calculated as the product of price and quality

8th grade English; Trouble with Television
The Trouble with Television Robert MacNeil It is difficult to escape the influence of television. If you fit the statistical averages, by the age of 20 you will have been exposed to at least 20,000 hours of television. You can add 10,000 hours for each decade you have lived ...

Programming (Integer generator)
Write a program that accepts two numeric values from the user and displays all integers between these values. Your program will Accept a starting value Accept an ending value Display all the integers (inclusive) between those two values. Your program should count up or down (...

Math
Use the simplex meth to solve the linear programming problem Maximize z = 8x1 + 2x2 Subject to: 4x1 + 3x2 < 11 X1 + 4x2 < 7 With x1 > 0, x2> 0

Object Oriented Programming Concept Using C++
Q. Use following relationship as sides in case of rectangle and base and height in case of triangle: Area of Rectangle = X* Y Area of Triangle =1/2 * X* Y

english
The Trouble with Television by Robert Mac Neil It is difficult to escape the influence of television. If you fit the statistical averages, by the age of 20 you will have been exposed to at least 20,000 hours of television. You can add 10,000 hours for each decade you have ...

I need help asap
The Trouble with Television by Robert Mac Neil It is difficult to escape the influence of television. If you fit the statistical averages, by the age of 20 you will have been exposed to at least 20,000 hours of television. You can add 10,000 hours for each decade you have ...

java programming
Create a java program that will calculate the current grade in a classroom. The program should ask for 5 grades as well as total point value per grade available.

Sampling
What stratification variable(s) would you use for each of the following situations: a An e-mail survey of students at your university to estimate the total amount of money student spend on textbooks in a term b A sample of high schools in New York City to estimate what ...

english help repost
The Trouble with Television by Robert Mac Neil It is difficult to escape the influence of television. If you fit the statistical averages, by the age of 20 you will have been exposed to at least 20,000 hours of television. You can add 10,000 hours for each decade you have ...

Language Arts
The Trouble with Television by Robert Mac Neil It is difficult to escape the influence of television. If you fit the statistical averages, by the age of 20 you will have been exposed to at least 20,000 hours of television. You can add 10,000 hours for each decade you have ...

Computer Science / programming
Show the contents of each register and or memory location used after each instruction. MOV BH,33 BH=33 MOV [0500],BH BH=33, [0500]=33 MOV CL,66 CL=66 MOV [050],CL CL=66, [050]=66 MOV SI,0500 SI=0500 MOV BX,7643 BX=7643 ADD [SI],BX SI=0500, [0500]=76 ,[501]=DC INT 20

Computer Science/ programming
How long (how many bytes) is the machine code (object code)? 1855:0100 BE0002 MOV SI,0200 1855:1030 BF0003 MOV DI,0300 1855:0106 B98000 MOV CX,0080 1855:0109 BA04 MOV AL,[SI] 1855:010B 8805 MOV DI],AL 1855:010D 46 INC SI 1855:010E 46 INC SI 1855:010F 47 INC DI 1855:0110 49 DEC...

The Trouble with Television by Robert Mac Neil It is difficult to escape the influence of television. If you fit the statistical averages, by the age of 20 you will have been exposed to at least 20,000 hours of television. You can add 10,000 hours for each decade you have ...

حاسب
Write a program that reads from the student user: his name as string (%s), his id as integer and his total marks in C programming course as float. Then store these information in student structure. After that, Calculate his letter grade in this course depending on the GRADING...

programming
create the logic for a program that calculates and displays the amount of money you would have if you invested \$5000 at 2 percent simple interest for one year. create a separate method to do the calculation and return the result to be displayed.

The practice of working with school age children
What tool can you obtain from schools to help you plan year-round programming? A. Sewing machine B. Policy and procedures manual C. Public transportation D. Academic calendar B.

Computer Programming
Create the flowchart and algorithm for a module that will prompt the user to enter the amount of cash they have in their pocket. The program should output “Not Enough” (\$0 - \$0.64), “Vending Machine” (\$0.65 - \$1.99), “Fast Food” (\$2.00 - \$4.99), “Cafeteria” (\$5...

JAVA PROGRAMMING
NEED HELP! I would like to create a class for finding the voltages of 1, 2 or even 4 batteries. The Class can be called BatteryVoltage with a default voltage value of 1.5 (AA Battery) Must allow the user to find the total voltage of batteries when installed as a single,double...

java programming
Your boss at Ruritania Weather Center (RWC) has asked you to write a small program for center. The specification are as follows: a. the program asks a user to enter a number between 1 and 12 inclusive representing the months January to December. Once this number has been ...

Programming
please Help... Write a pseudo code that prompt the driver to enter the miles at the before taking the car and miles when returning the car.the program must him to enter the fuel consumed that day.the must be able to determine the fuel consumption for that vehicle i.e so much ...

programming
please Help... Write a pseudo code that prompt the driver to enter the miles at the before taking the car and miles when returning the car.the program must him to enter the fuel consumed that day.the must be able to determine the fuel consumption for that vehicle i.e so much ...

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

Linear Programming Homework Problem
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 per share. Your goal is to maximize the return on ...

Is My Pseudocode Correct? - Programming
I am supposed to make a pseudocode for a fat gram calculator. These are the instructions: Design a program that asks for the number of fat grams and calories in a food item. Validate the input as follows: - Make sure the number of fat grams and calories are not less than 0 - ...

programming
I am supposed to make a pseudocode for a fat gram calculator and I want to know if my code is correct. This is the instructions: Design a program that asks for the number of fat grams and calories in a food item. Validate the input as follows: - Make sure the number of fat ...

Linear Programming
A Company wishes to assign six of its workers to six different jobs (one worker to each job and vice versa). The rating of each worker with respect to each job on a scale of 0 to 10 (10 being a high rating) is given by yhe following table: Job 1 Job 2 Job 3 Job 4 Job 5 Job 6 ...

c programming
a student designed a program to accept the age of an employee and then compute the employees retirement year and display the same in a statement on the screen required. a) write out the pseudo-code for the program above b) write the algorithm, c) flowchart d) write the program...

Intro to Programming PT1420
What will the following pseudo code program display? Module main ( ) Declare Integer x = 1 Declare Real y = 3.4 Display x, “ “, y Call changeUs (x, y) Display x, “ “, y End Module Module changeUs ( Interger a, Real b) Set a = 0 Set b = 0.0 Display a, “ “, b

computer science programming
Elements – sequence-series outputting Write a program that prints the following elements: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, (hereto referred to as elements) etc., up till a user-entered value. The program should not print more than 10 numbers per line. The last line ...

Computer programming
How to build a simple game in java that will allow a player to attempt to guess a randomly generated number between 0 and 10. The player can continue guessing the number until they get it right. The game should be able to do these things: 1. Game should remember each choice ...

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

math
hello im having problems with my math 1 Wells College in Aurora,New York was previously an all -girls college.In 2005,the college began to allow boys to enroll. By 2012, the ratio of boys to girls was 3 to 7. if there were 200 more girls then boys in 2012, how many boys were ...

Basic programming principles
What would be the answer of the following: (only type in your answer at the answer space provided) Result a = 5 b = 7 Answer = 15 Do while answer <= 47 Answer = answer + a – b a = a + 6 b = b – 1 loop end

Basic programming principles
The user wants to display a message a fixed number of times, if you know the message and the number of times (number) it must be displayed what would be the for statement, will this be correct or incorrect ONLY indicate correct or incorrect at your answer space. for i = 1 to ...

Basic programming principles
The for next statement is used to display the consecutive numbers from 1 to 10K = 1 For I = 1 to 10 Display k, “ “K = k + 1 Next I The output will be 10 9 8 7 6 5 4 3 2 1 Will the above statement output be correct or incorrect

Basic programming principles
If the value of K is equal to 6, increase the value of A by 5%, if the value of K is equal to 4, decrease the value of A by 8, if the value of K is equal to 7, add the value of B to the value of A, otherwise decrease the value of A by 12%Will the following statement be correct...

Basic programming principles
Piet earns R20 per hour, if he works more than 30 hours then he receives an extra R8 per hour, will the following statement be correct or incorrect (only type in correct or incorrect at your answer space)If hoursworked > 30 then Salary = salary + (hoursworked – 30) + 8

Basic programming principles
Study the following codeC = A * B + 7 mod 3 If A > C then Display “A has a higher value that C” B = A – C Else Display “A is equal to or less than C”B = C – AEndifDisplay “the value of B is now “, BDisplay “the value of C is now”, C What would be ...

Basic programming principles
Piet earns R20 per hour, if he works more than 30 hours then he receives an extra R8 per hour, will the following statement be correct or incorrect (only type in correct or incorrect at your answer space) If hoursworked > 30 then Salary = salary + (hoursworked – 30) + 8

Basic programming principles
Is the following true or false? A * 3 >= B – 14 \ 3 AND F OR C <= D + 3 Where A = 5, B = 7, C = 12, D = -4, E = TRUE and F = FALSE

Basic programming principles
Is the following true or false? b + c <> (d + e) * 4 where b = 4, c 20, d = 4 and e = 17

PROGRAMMING
Create a C program that contains a function that computes the final price for a sales transaction and return that value to a calling method. The function requires three arguments: product price, salesperson commission rate and customer discount rate. A product final price is ...

PROGRAMMING
1. Make a C program that will input two integers and then to enter an option as follows: • 1 = to add the two integers. • 2 = to subtract the second integer from the first. • 3 = to multiply the integers • 4 = to divide the first integer by the second integer. Display ...

PROGRAMMING
Make a C program that will generate the output below using the function that will pass the value into the function. 1 4 16 25 36 49 64 81 100

PROGRAMMING
Make a C program that accepts an integer value at the main method from the keyboard and in turn passes the value to a function that squares the number( multiplies is by itself) and to another function that cubes the number ( multiplies by itself twice). The main method ...

computer science
Mr Ali has given a test to his class. He would like to have the average score for the class as well as the highest and lowest scores. Write a pseudocode to calculate and display these values. Then convert your pseudocode into a program by using any programming language of your...

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

PRINCIPLE OF PROGRAMMING LOGIC & DESIN
Draw a flowchart and write a pseudocode of a program that allows the user to input their income amount The tax structure for the year where as follws Income is less than M27.730 per annum[M2.310.83 per month]does not pay tax between M27.730 per annum [M2.310.83per annum]and ...

programming
You are to write a short C program. The program will input two numbers: 1) number of miles to ship a package, and 2) the weight of the package. You are to computer the price to ship the package. The formula is as follows. If the weight of the package is <= 10 pound this the...

programming
write a programe which calculate the number of five subjects also show the average and grade of the desire total.

programming
create a program using java that calculates the current grade in a classroom. the program should ask for 5 grades as well as the total point value per grade available.

JAVA PROGRAMMING
Create a java program that will calculate the current grade in a classroom. The program should ask for 5 grades as well as total point value per grade available.

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

programming
write a program that performs a survey tally on vehicle. The program should prompt for the next person until a sentinel value of -1 is entered to terminate the program. Each person participating in the survey should choose their favorite from the following list-toyota,nissan,...

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