April 1, 2015

Homework Help: Computers: Programming Languages

Recent Homework Questions About Programming Languages

Post a New Question | Current Questions

Computer Programming using python
Assume s is a string of lower case characters. Write a program that counts up the number of vowels contained in the string s. Valid vowels are: 'a', 'e', 'i', 'o', and 'u'. For example, if s = 'azcbobobegghakl', your program ...
Thursday, October 24, 2013 at 10:27am

The American Academy of Pediatrics (AAP) recommends that kids 2-5 years old watch no more than (on average) 1.6 hours a day of quality programming. A researcher selected a sample of 101 kids in the neighborhood and asked their parents how many hours per day they allow their ...
Friday, October 4, 2013 at 12:32pm

programming c#
how do I Write a two class application that has a one-dimensional array as a data member. The array stores temperatures for any given week. Provide constructors for instantiating the class and methods to return the highest temperature, lowest temperature, average temperature, ...
Wednesday, October 2, 2013 at 10:23am

Grades are assigned on the standard 90, 80, 70, 60 scale. You are to write an algorithm which will receive a student name and a percentage grade and display the letter grade to be awarded
Thursday, September 26, 2013 at 2:46am

where are the errors the pseudocode debugging exercise // This application reads student typing test data // including number of errors on the test, and the number // of words typed per minute. Grades are assigned based // on the following table: // Errors // Speed 0 1 2 or ...
Sunday, September 15, 2013 at 3:01am

Compute a new sorted list that represents the intersection of the two given sorted lists....
Friday, September 13, 2013 at 12:13am

computer programming
. Design an application that displays the number of square feet in a house. Declare and initialize the length and width of the house to 37 and 22, respectively. Go into your source code and change the initialization values. Rerun the application
Thursday, September 12, 2013 at 8:32am

Show how you would read the status of 100 students and then print the total number of students who are married, single, widowed, divorced.
Monday, September 9, 2013 at 10:57am

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. ...
Wednesday, September 4, 2013 at 9:33pm

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 ...
Sunday, September 1, 2013 at 7:19pm

Find Bugs in the pseudocode start Declarations num category num SIZE = 5 num QUIT = 9 num sales[SIZE] = 0, 0, 0, 0, 0 string HEAD1 = "Sales" string HEAD2 = "Category Number of Sales" output "Enter category ", QUIT, " to quit " input ...
Friday, August 30, 2013 at 8:42pm

Researchers conducted a survey of parents of 66 kindergarten children. The parents were asked whether they played games with their children. The parents were divided into two groups: working class and middle class. The researchers wanted to know if there was an association ...
Friday, August 23, 2013 at 9:08pm

programming c
Write a c program that will declare two dimensional array called of 5 row and 5 colum. The user will enter student marks for 25 student caculate and print the minimum and maximum average marks those students.
Monday, August 19, 2013 at 10:52am

java programming
write a java program using arrays function for hotel bill calculation?
Sunday, August 18, 2013 at 1:30am

Agent Help please...C++ Programming
Write a program that adds the sum of the given number. Sample Output: Enter the range of number to be added: 5 The sum of 1 to 5 is 15
Wednesday, August 14, 2013 at 6:27pm

programming Visual Command Prompt
This is the question that I have to do can someone please help?! QUESTION 2 - MANDATORY The file savings.txt contains the names and savings of 3 Bank customers in the last four months. Month1 Month2 Month3 Month4 Dennis Daly 480 620 57 73 Brid Jones 82 61 550 65 Mary Henry 49 ...
Wednesday, August 14, 2013 at 3:34pm

Computer Programming
Write a C++ program in which you declare variables that will hold an hourly wage, a number of hours worked, and a withholding percentage. Prompt the user to enter values for each of these fields. Compute and display net weekly pay, which is calculated as hours times rate, ...
Monday, August 12, 2013 at 9:44am

Chocolate Delights Candy Company manufactures several types of candy. Design a flowchart using Visual Logic for the following: A program that accepts a candy name (for example, “ chocolate-covered blueberries”), price per pound, and number of pounds sold in the ...
Sunday, August 11, 2013 at 3:45pm

programming concepts
Write a menu driven program using a conditional structure.
Saturday, August 3, 2013 at 1:20am

object oriented programming
Write a program that takes as input the salesperson’s name, expected weekly sales and the number of hours worked then outputs the wages paid under each plan
Sunday, July 14, 2013 at 10:57pm

Java programming- simulation of rolling dice
This is what i have so far. I'm supposed to simulate the 4 dice tossed 1 million times . (so a total of 4 million) I'm trying to get the first die(If I can figure out the first one then I can figure out the other 3. So the trouble I am having is that I cant get the ...
Sunday, July 14, 2013 at 5:59pm

Computer Programming
I'm trying to create a vba code that solves this problem: 50 apartment units rent for 600 a month, for each 40 dollar increase in rent a unit becomes unoccupied. I want to find the max profit and number of units at that number. Sub Rent() Dim Rent As Variant Dim increase ...
Tuesday, July 9, 2013 at 8:49pm

Computer Programming
A babysitter takes care of 20 kids. When taking care of all the kids she gets paid $50 per kid. However, for every $5 more she charges, a kid leaves. How many kids should she babysit to max her profit? I want to write a code that asks user to enter the charge per kid when ...
Monday, July 8, 2013 at 11:22pm

VBA Programming
I'm trying to create a macro that asks for a loan between 1 dollar and 5 million, and returns different interest rates based on the amount of the loan. For some reason when I type in different loan amounts it automatically makes my rate ".1", when it should be ...
Friday, June 28, 2013 at 4:13pm

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 ...
Friday, June 28, 2013 at 1:19am

Java Programming
I need to create a pseudocode for the follwing application: Write Java-like pseudocode to specify the logic for the following program application: Write an application that prompts an employee for an hourly pay rate and hours worked. Compute gross pay (hours times rate), ...
Thursday, June 27, 2013 at 11:58am

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[...
Sunday, June 16, 2013 at 11:29am

Java Programming
I'm new to Java and I'm not sure how to write the source code for this problem I got in class... Write a java program using the while and if statement that will accept ten student grades and that will display the sum of the grades, the student average, and the ...
Monday, June 10, 2013 at 4:55pm

what are the simplest methods to understand C++ programming language?
Thursday, June 6, 2013 at 5:48am

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 ...
Tuesday, June 4, 2013 at 2:31pm

You have the final sales figures for the four quarters in 2010 for Bennets Used Auto Sales, and you are to design a program that asks for the sales figures, computes the total sales for the year, and calculates and displays the average quarterly sales for the year. using ...
Saturday, June 1, 2013 at 10:53pm

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 ...
Saturday, June 1, 2013 at 8:21pm

C programming
Build a program that allows a user to select one of the following four menu options: enter new integer value, print pointer address, print integer address, and print integer value. For this program you will need to create two variables: one integer data type and one pointer. ...
Saturday, June 1, 2013 at 1:42pm

a) Define a Cat class. A Cat has name. Define two constructors, one with no argument and another with the name as its argument. Initialize the name to a default value Unknown for the zero-argument constructor. b) Create a main class. In main class, create two objects as an ...
Monday, May 20, 2013 at 1:29pm

Programming Logic
How do I write case logic pseudocode and visual logic nested if-then-else flow charts for atm check balances, making remote photo capture check deposits, and perform balance transfers?
Tuesday, May 14, 2013 at 4:03pm

Write a program reads the city names and respective gas prices into 2 single-subscripted arrays in your program - one of type string, the other of type double. (We would call these "parallel arrays" - each corresponding location shows the city name and gas price for ...
Monday, May 13, 2013 at 7:17pm

draw a flowchart and write a program and pseudocode that prompts the user for a starting balance and then prints the number of years it takes to reach 100000 and also number of years it takes to reach 1000000
Wednesday, May 8, 2013 at 9:52am

Write a C++ code to count the number of characters, words, and lines entered by the user. The program stops if the user enters two dots.
Saturday, May 4, 2013 at 3:26pm

Operations Research
The Ploughman family farm owns and operates a 640-acre farm that has been in the family for several generations. The Ploughman’s always have had to work hard to make a decent living from the farm and have had to endure some occasional difficult years. Stories about ...
Monday, April 22, 2013 at 9:10pm

Java Programming
Write a program that asks the users to enter five test scores into an array
Monday, April 22, 2013 at 8:32am

Computer Programming
I am trying to put the following in Python Code. I know how to do it mathematically, but code - not sure where to start. A state creates license plates that each contain two letters followed by three digits. The first letter must be a vowel ( A, E, I, O, U ) and duplicate ...
Sunday, April 21, 2013 at 5:19pm

Java programming
can u give me some example of withdrawal money program using array to store ten information of user. including the attributes: (i) Name of the depositor (ii) Account number (iii) Type of account (iv) Balance amount And the methods: (i) Deposit (ii) Withdraw (iii) Display the ...
Thursday, April 18, 2013 at 1:05pm

Visual Basic Programming...Very Urgently!!!
Please Can someone help in proving the code about transactiopn program of images. it must have a two diffetrent form that will perform simultaneously which menas that first form will have login password to log in to use the transaction. Please your help is muchly appreciated.
Tuesday, April 16, 2013 at 10:40pm

Write a program that requests the numeric grades on a midterm and a final exam and then uses a Function procedure to assign a semester grade (A, B, C, D, OR F). The final exam should count twice as much as the midterm exam, the semester average should be rounded up to the ...
Tuesday, April 16, 2013 at 10:31pm

Java programming
List all overloading methods (including constructors) in this coding.. public class Circle { private double radius; private String colour; public Circle() { radius = 0; colour = ""; } public Circle (double r) { radius = r; } double getRadius() { return radius; } ...
Tuesday, April 16, 2013 at 11:59am

Java programming
Write a Java program that stores Customer accounts with the attributes: (i) Name of the depositor (ii) Account number (iii) Type of account (iv) Balance amount And the methods: (i) Deposit (ii) Withdraw (iii) Display the balance You need to create an array of objects to store ...
Tuesday, April 16, 2013 at 9:08am

Programming in c++
Draw a flow-chart and Write a program that asks the user to enter students grades. The program should stop reading when the use enters ‘*’. In addition, your program should print the number of students got each grade. The grades can be A, B, C, D, and F. You should ...
Monday, April 15, 2013 at 9:00am

Java programming
can anybody help me.. Multidimensional Array Use a two-dimensional array (for example of 3 by 3) to simulate the addition operation of two matrices. Sample output: the first matrix: 1 2 3 1 0 1 1 2 1 the second matrix: 1 1 1 2 2 2 3 3 3 The total of two matrices: 2 3 4 3 2 3 5...
Sunday, April 14, 2013 at 2:50pm

Java programming
– One Dimensional Array Consider this example problem: You are given 7 quiz scores of a student. You are to compute the final quiz score, which is the sum of all scores after subtracting the lowest one. For example, if the scores are 8 7 8.5 9.5 7 5 10 then ...
Sunday, April 14, 2013 at 2:32pm

Computer Programming
Hello, Any help on the following problem would be greatly appreciated. The assignment is done with .java in eclipse. I have a class and a form with a Jlist, 2 text fields to enter the check amount and the ending Balance and a calulate button. I have some aspects working, but ...
Saturday, April 13, 2013 at 4:01am

create a program that prompts the user for a number the returns the value on the main method after validation.Create a method that promts the user for input?
Thursday, April 11, 2013 at 5:45am

computer programming
how do I figure out the math problem for Excel 2010?
Tuesday, April 9, 2013 at 5:43pm

C++ programming
write a program C++ program and Use a recursive function that finds the n-th term using the following rule: tn=3tn-1+12tn-2 . please help me out!
Wednesday, April 3, 2013 at 7:16pm

Programming and Design
Draw the hierarchy chart and design the logic for a program that calculates the projected cost of an automobile trip. Assume that the user's car travels 20 miles per gallon of gas. Design a program that prompts the user for a number of miles driven and a current cost per ...
Wednesday, April 3, 2013 at 12:31am

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 results. Use a subprogram to input the numbers, a function to find the mean, and a subprogram to output the result.
Sunday, March 31, 2013 at 7:19pm

computer programming
I need help with this problem please: Create the logic for a program that accepts input values for the projected cost of a vacation and the number of month until vacation. Pass both values to a method that displays the amount you must save per month to achieve your goal. Use ...
Sunday, March 31, 2013 at 4:54pm

Design a class named Book that holds a stock number, author, title, price, and number of pages for a book. Include methods to set and get the values for each data field. Also include a displayInfo() method that displays each of the Book’s data fields with ...
Saturday, March 30, 2013 at 2:46pm

pseudocode for // This application reads 10 numbers // and sorts them, and displays the three highest numbers
Friday, March 29, 2013 at 2:41pm

// This application reads student typing test data // including number of errors on the test, and the number // of words typed per minute. Grades are assigned based // on the following table
Friday, March 29, 2013 at 2:20pm

Create the logic for a program that prompts a user for three numbers and stores them in an array. Pass the array to a method that reverses the order of the numbers. Display the reversed numbers in the main program.
Thursday, March 28, 2013 at 10:20pm

The village of Ringwood conducted a census and created records that contain household data, including income. Ringwood has exactly 75 households. Write a program into which a village statistician can enter each of the 75 household income values, and determine the mean and ...
Thursday, March 28, 2013 at 10:08pm

Write a program that displays the recommended weight, given the user’s age and height (cm). The formula for calculating the recommended weight is recommendedWeight = (height – 100 + age / 10) * 0.90 Define a service class named Height and include an appropriate ...
Thursday, March 21, 2013 at 5:18am

Java programming
can you show me where is the wrong for this program..because it contains error..i dont know where is it import java.util.Scanner; public class BMR { public static void main(String[] args, int x) { Scanner keyboard = new Scanner(; int pound, inch,...
Wednesday, March 13, 2013 at 2:43pm

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 ...
Tuesday, March 12, 2013 at 8:19pm

Programming (Visual Basic)
Im seem to be having trouble with this Exercise. Would you mind helping me please? How do i do this Visual Basic program? Instructions say: Fix the following code: Dim dblRegularPay As Double Dim dblOvertimePay As Double intRegularPay = 783.87 intOvertimePay = 105.92 lbl ....
Tuesday, March 5, 2013 at 5:21pm

I must write Analysis, IPOChart, Hierarchy Chart, Flowchart, GUI Design, Pseudocode, and Test Cases for an office supply inventory tracking program Here is the Pseudocode that i have so far: Main Module 1 Declare PensAmount As float 2 Declare PaperAmount As float 3 Declare ...
Monday, March 4, 2013 at 7:49am

Write a program that computes the cost of a long distance call. The cost of the call is determined according to the following rate schedules. a.A call made between 8:00 AM and 6:00 PM is billed at a rate of 6 rupees per minute. b.A call made before 8:00 AM or after 6:00 PM is ...
Sunday, March 3, 2013 at 5:04am

programming (C#)
Write a console-based program that accepts a user's message and determines whether it is short enough for a social networking service that does not accept messages of more than 140 characters.
Saturday, March 2, 2013 at 12:07pm

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 ...
Friday, March 1, 2013 at 11:12pm

formulate but do not solve the linear programming problem. Tracy has at most $200,000 to invest in stocks,bonds, and money-market funds. She expects anual yields of 15%, 10%, and 8%, respectively, on these investments. If Tracy wants at least $50,000 to be invested in money-...
Friday, March 1, 2013 at 3:47pm

programming logic and design
The Daily Gazette accepts classified ads in several categories. For most ads, the newspaper charges 10 cents per word for the first 50 words, and 8 cents per word for every word after that. Design a flowchart for a program that accepts data about an ad: customer name, ad ...
Wednesday, February 27, 2013 at 11:13pm

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; ...
Sunday, February 24, 2013 at 1:20am

I need to figure this problem out, I am using visual studio C#. • Powers - Write an application that displays a tables of squares and cubes of an integer from 1 to an upper limit. The user should enter the upper limit and press the calculate button. The application should...
Sunday, February 17, 2013 at 3:27pm

3. Your company needs to depreciate its assets. The accountant wants to record the purchase price, the useful life, and the estimated salvage value. Your program should be able to depreciate by the straight-line method. For example, a computer system was purchased for $25,000...
Friday, February 15, 2013 at 2:06pm

Write the following algorithms using pseudocode: 1. Calculate the net pay for an hourly employee. You will be given the name, pay rate and hours worked. You must calculate the state withholding (5%), federal withholding (18%), and Social Security (8%). You should display the ...
Friday, February 15, 2013 at 1:38pm

Declare a string variable name myName
Wednesday, February 13, 2013 at 6:19pm

Design an algorithm that accepts two values, the hourly rate and the number of hours worked by an employee. If the number of hours exceeds 40, then the excess hours should be paid at an overtime rate of twice the hourly rate. Calculate wages (including overtime, if any) due to...
Tuesday, February 12, 2013 at 8:54pm

Write a program that asks for and reads the price of a book (it may have a decimal part), multiplies it by 7% sales tax and displays both the sales tax and final price of the book on the screen.
Friday, February 8, 2013 at 7:25am

Hello All i am new in dynamics Ax when i am going to connect the C# with Dynamics Ax using logon method i am getting the following error when connecting with DynAX from the it's own server so it connects but when i want to connect it from client computer where i use ...
Tuesday, February 5, 2013 at 3:10am

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 ...
Friday, February 1, 2013 at 10:24pm

1. Develop a menu-driven program that inputs two numbers and, at the user's option, finds their sum, difference, product, or quotient
Tuesday, January 29, 2013 at 2:56pm

third edition exercise 2 an object oriented approch to programming logic and design
Sunday, January 27, 2013 at 5:09pm

Computer Programming
Draw a structured flowchart and write pseudocode that describes the process of looking up a word in a dictionary.
Wednesday, January 23, 2013 at 10:25pm

programming logic
The Banking e-Teller system allows bank customers to perform ATM transactions from their cell or smart phones. BET will allow customers to check balances, make remote photo capture check deposits, and perform balance transfers to their checking or savings account. It is time ...
Tuesday, January 22, 2013 at 4:11am

Visual Basic intro to Programming
What is the difference between the If Then ElseIF clause and a Nested If Block? Please provide examples of how you would use each.
Thursday, January 17, 2013 at 9:31pm

Visual Basic (Computer Programming)
ALGORITHM EXERCISES 1. Wilma Peterson is paid by the hour. She would like a program that both calculates and displays her weekly gross pay. For this exercise, you do not need to worry about overtime pay, as Wilma never works more than 40 hours in a week. Desk-check your ...
Wednesday, January 16, 2013 at 12:01pm

Write the following in numbers in normal decimal notation?
Tuesday, January 15, 2013 at 7:05am

Python programming
1,000 students took an online course. 1/4th of them were from Africa, 1/4th from Europe , 1/4th from South America, and 1/4th from Asia. At the end of the course, the instructor observed that of the top 100 grades, 30 belonged to students from a single geographical area. He ...
Sunday, January 13, 2013 at 2:51am

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 ...
Sunday, January 13, 2013 at 2:50am

Python programming
Consider the following class definition: class Frob(object): def __init__(self, name): = name self.before = None self.after = None def setBefore(self, before): self.before = before def setAfter(self, after): self.after = after def getBefore(self): return self.before ...
Sunday, January 13, 2013 at 2:44am

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 ...
Sunday, January 13, 2013 at 2:31am

Visual Basic (Computer)
What is programming language syntax? Why is it important?
Wednesday, January 9, 2013 at 12:33pm

Write a php program for Currency conversion. Input Currency name, Value of Input Currency, Output Currency Name Output Currency Value. 1 dollar=50 Rupee 1 Pound= 1.5 dollar 1 Pound= 80 Rupee
Wednesday, January 2, 2013 at 2:40pm

what will be the c++ source code of finding the largest value among the N numbers? translate the algorithm: 1. the largest number is: 2. the smallest number is: 3. display all the numbers inputted: 4. show the final output.
Tuesday, January 1, 2013 at 11:17pm

Write a C++ program in which you declare variables that will hold an hourly wage, a number of hours worked, and a withholding percentage. Prompt the user to enter values for each of these fields. Compute and display net weekly pay, which is calculated as hours times rate, ...
Saturday, December 22, 2012 at 3:20am

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 ...
Tuesday, December 18, 2012 at 2:58am

Programming in c++
Write a program in c++ that inputs a number [1-12] from the user and displays the month. it also asks the user whether he wants to input another number or not, if the user inputs 1 then it again inputs number, if user inputs 0 then program ends.
Sunday, December 16, 2012 at 12:04pm

Fund of programming 1
Complete the following C++ program. The program should compute and output the Celsius value corresponding to the given Fahrenheit value. //**************************************​********** // Celsius program // This program outputs the Celsius temperature // ...
Thursday, December 13, 2012 at 9:46pm

Fund of programming 1
Write a program that prints out your course schedule for a single week. Here's an example of the output for one day: Monday 9:00 Computer Science 101 Monday 11:00 Physics 201 Monday 2:00 Dance 153
Thursday, December 13, 2012 at 9:42pm

Pre Calc
1. Describe the linear programming situation for this system of inequalities. x<(or equal too)1 y>(or equal too)0 3x + y<(or equal too)5 2. Describe the linear programming situation for this system of inequalities where you are asked to find the maximum value of f(x, ...
Monday, December 10, 2012 at 6:40pm

Pages: <<Prev | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | Next>>

Post a New Question | Current Questions

Homework Help: Computers