Sunday
April 20, 2014

Homework Help: Computers: Programming Languages

Recent Homework Questions About Programming Languages

Post a New Question | Current Questions

programming
perl code: foreach my $i (1..100) { my $status = <STDIN>; chomp $status; $count{$status}++; } print "STATUS COUNT\n"; foreach my $key (sort keys %count) { print "$key: $status{$key}\n"; }
Monday, September 9, 2013 at 11:33am

programming
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

programming
Well, beside the fact that the there's no indication of reading or writing anywhere... The program's goal is to sort-merge two files into one, yet the program opens only one input file (and one output file). The program cannot accomplish the goal; it will not do what ...
Thursday, September 5, 2013 at 6:38am

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

programming
checkBoth() has a glaring logic error. detailLoop() need to consider what happens if you come to the end of one file before its room?Name is greater than that of the other. Avoiding an infinite loop would be a good idea.
Monday, September 2, 2013 at 7:33am

programming
gee, how about entering your code in an IDE and (a) fix any syntax errors (b) step through the execution if your output is wrong.
Sunday, September 1, 2013 at 7:22pm

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

programming
Two bugs found. There are two "while" bit only one "endwhile", and also one "if" but two "endif". Thus it appears that the second "endif" should be an "endwhile". Also, you have "while category = QUIT" when ...
Friday, August 30, 2013 at 10:42pm

programming
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

Pseudocode
Hi, I am a computer programmer and would be glad to assist you with this question. Do you have any ideas on how to get started? What programming language are you writing in?
Sunday, August 25, 2013 at 3:34pm

statistics
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
int scores(5,5); ...
Monday, August 19, 2013 at 1:51pm

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
#include <iostream> using namespace std; int main() { int n,t,i; cout << "Enter the range of numbers to be added: "; cin >> n; for (t=0,i=1; i<=n ; i++) {t+=i;} cout << "The sum of 1 to " << n << " is " <&...
Wednesday, August 14, 2013 at 8:32pm

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

CIS
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
Can you show us your pseudocode as a start?
Monday, July 15, 2013 at 7:31am

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
You have made the arrays die1...die4 to do two things: 1. as a counter (accumulator) for the frequency, and 2. as the value of the face. This is an impossible task, and that explains why the total adds up to more than a million. I suggest you make the following changes: 1. Add...
Sunday, July 14, 2013 at 7:13pm

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
Your code seems to be in reasonable shape, except that it does not yet implement the algorithm to find the maximum revenue. So the current revenue is 600*50=30,000$ a month. Your program will increase the rent by $40 steps and recalculate the revenue. When the revenue starts ...
Wednesday, July 10, 2013 at 5:39am

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
I suggest you give it a try and post any difficulties you encounter. Programming is not as hard as it seems once you get started.
Tuesday, July 9, 2013 at 6:17am

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

What?
Is this a computer programming class you're taking? If so, you'd best put Computer Programming in the subject line. No one here will know what "vba" stands for.
Monday, July 8, 2013 at 9:48am

Vba
First, the concept of sub programs is to isolate a particular calculation and make a "black box" which returns a "complicated" answer without having to worry about how it is done. On the other hand, the UI (user-interface) belongs to a separate element of ...
Monday, July 8, 2013 at 7:48am

VBA Programming
First off, why use strings to specify a numeric (Double) value for interest? I learned VBA a while ago, but I think that If 1000000 < loan < 4000000 Then interest = .10 is invalid syntax. Try If (1000000 < loan) and (loan < 4000000) Then interest = .10 Or, you ...
Friday, June 28, 2013 at 4:29pm

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
Oops - make that If Not IsNumeric(s) Then ... to handle the error case.
Friday, June 28, 2013 at 5:59am

VBA programming
IsNumeric(s) returns true or false. It's up to you to handle each case. If IsNumeric(s) then MsgBox(msg) else do other stuff end if
Friday, June 28, 2013 at 5:59am

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

math
This seems to be a programming challenge. While this can probably be worked out in mathematical terms, it is easily shown by exhaustive search that the 3-digit number is 199, where the minimum quotient is 199/19 =10.47 approximately.
Thursday, June 20, 2013 at 7:14am

Computers -- programming??
If you really want an expert to help you, be sure to follow directions and type your subject in the School Subject box. Any other words, including obscure abbreviations, are likely to delay responses from a teacher who knows that subject well.
Monday, June 17, 2013 at 6:40pm

Programming
If you need debug help, please 1. specify the compiler/language 2. supply error messages you got when the programme was executed or compiled. 3. indicate if it is a compilation, execution or logical error. This one looks fishy: output "Enter student name or ", QUIT...
Sunday, June 16, 2013 at 3:14pm

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

Programming Logic
if transferAmt=<balanceChecking than withdraw the transferAmt from checking and deposit into savings else display "unable to complete transfer, enter new amount" input newTransferAmt
Saturday, June 15, 2013 at 7:02pm

Visual Basic 2008 Programming
Here is what I got to work but I used 2 seperate lists Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim num As Double = 1 Dim Init_Inv As Integer = 1000 Do Until num = 10 Init_Inv = Init_Inv * 1.05 Compound.Items....
Wednesday, June 12, 2013 at 5:03pm

IT
//this is my first week of programming but here's what I have so far Begin Input myPrice myAnswer=myNumber+0.8 output myPrice output 0.8 End //I used Visual Logic to help me figure this out but I don't know how to DISPLAY the phrase: prints out for the user the ...
Wednesday, June 12, 2013 at 11:07am

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

C++
C++ is just another programming language. If you have already programmmed in other languages, switching to C++ will not be difficult. On the other hand, if you are programming for the first time, you will be learning two things at the same time: programming concepts, and the C...
Thursday, June 6, 2013 at 6:31am

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

comptuer programming
There are quite a few things to note. I believe your hour rate is multiplied by 1.5 only for those hours exceeding 40 hours. The way you're doing it, it will never get changed because the hour rate is changed AFTER you calculated the total. Don't know what you want to ...
Tuesday, June 4, 2013 at 6:21pm

comptuer programming
n i need to figure out where to put an end if statement to stop the program when employee 999 is entered
Tuesday, June 4, 2013 at 2:33pm

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

programming
What have you done so far, and how would you like us to help? Can you show us your pseudocode?
Saturday, June 1, 2013 at 10:55pm

programming
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

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

sports
ok. they are short review questions and #4 c The Internet is different from television in that the Internet (D) A.has sites that are sponsored only by corporations. B.provides users with high quality sequential programming. C.cannot give users the same quality of sports ...
Sunday, May 26, 2013 at 6:43pm

Programming
Write a program in pseudocode format: 1. Robert has a van rental company, and he wants a program that determines the total cost of renting a van from him. His customers will pay a base fee (currently set at $50), plus a charge per mile (currently $.25 a mile). 2. Carly gets ...
Friday, May 24, 2013 at 10:46pm

programming - C++ or Java?
The instructions are quite clear as to what to do. I suggest you read through your teacher's notes or instructions and give an attempt. Programming is learned by actually writing and compiling code. Copying or reading alone will not help you solve your next problem. You&#...
Monday, May 20, 2013 at 1:58pm

programming
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

Computer Science
Depending on the complexity of the game, it takes proficiency in the language, which means lots of late nights leaning and practising programming on different projects. In short, you have to like it so that it is not work, but fun.
Monday, May 20, 2013 at 7:08am

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

programming
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

programming
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

programming
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

Programming
Design a program that asks for the length and width of two rectangles. The program should tell the user which rectangle has the greater areas are the same.
Wednesday, April 24, 2013 at 10:29pm

Java programming
i was also searching for the answer and i found this. lol. I guess we r from the same class :D
Wednesday, April 24, 2013 at 3:07am

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

programming
#include stdio.h #include conio.h void main( ), (
Friday, April 19, 2013 at 7:25am

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

Java programming
HAHA NOOB.
Thursday, April 18, 2013 at 12:02pm

Java programming
HAHAHAHA.
Thursday, April 18, 2013 at 12:01pm

programming
Math
Wednesday, April 17, 2013 at 12:10pm

programming
Here's a little perl program that handles the job: sub Ceil { my $x = shift; int($x+.9999); } print "Numeric grades for midterm and final: "; my ($m,$f) = split /[,\s]/,<STDIN>; $avg = Ceil(($m+2*$f)/3); $grade = qw(F F F F F F D C B A A)[int($avg/10)]; ...
Wednesday, April 17, 2013 at 11:41am

programming (C#)
write a program that read the size and element of string from key board and display element with maximum length
Wednesday, April 17, 2013 at 1:33am

programming (C#)
write a program that read the size and element of string from key board and display element with maximum length
Wednesday, April 17, 2013 at 1:31am

programming (C#)
write a program that read the size and element of string from key board and display element with maximum length
Wednesday, April 17, 2013 at 1:30am

programming (C#)
write aprogram that read the size and element of string from key board and display element with maximum length
Wednesday, April 17, 2013 at 1:29am

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

programming
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 12:10pm

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
I do not think your sum of matrix A and matrix B is correct I get 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 4 5 4 in flow chart form: do 1 from n = 1 to 3 do 1 from m = 1 to 3 1 output (n,m) = inputA(n,m) + ...
Sunday, April 14, 2013 at 3:24pm

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
thank you..:)
Sunday, April 14, 2013 at 2:45pm

Java programming
Oh, all the doubles have to be lower case.
Sunday, April 14, 2013 at 2:41pm

Java programming
double[] score = {8, 7, 8.5, 9.5, 7, 5, 10}; Double min = 10; //the highest possible score is 10 Double total = 0; for(int i = 0; i < score.length; i++) { total += score[i]; if(score[i] < min) { min = score[i]; } } total -= min; System.out.println("Total = " + ...
Sunday, April 14, 2013 at 2:39pm

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

programming
int a,b; cout<<"enter the value of a:"; cin>>a; cout<<"enter the value of b:"; cin>>b; if(a>b) cout<<"largest value is:"<<a<<endl; else cout<<"smallest value:"<<b<<endl;
Saturday, April 13, 2013 at 8:10am

C++ programming
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 ...
Saturday, April 13, 2013 at 8:04am

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

programming
Here we are pleased to provide help in debugging, review your pseudocode, etc. However, we expect you to give your input as to what you have learned, (Java, C++, i/o, hello world!, etc.), what your first draft would look, what difficulties you might be having. We can then help...
Thursday, April 11, 2013 at 6:45am

programming
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

c++ programming
LOL I ARE SO COOL
Tuesday, April 2, 2013 at 2:50pm

programming
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

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