Recent Homework Questions About Programming Languages
object oriented programming
Write a program that takes as input the salespersons 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 5:59pm
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 ...
Tuesday, July 9, 2013 at 8:49pm
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.
Monday, July 8, 2013 at 11:22pm
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 6:43am
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 6:20am
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:13pm
Oops - make that If Not IsNumeric(s) Then ... to handle the error case.
Friday, June 28, 2013 at 1:19am
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
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 6:36am
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:11pm
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 11:29am
if transferAmt=<balanceChecking than withdraw the transferAmt from checking and deposit into savings else display "unable to complete transfer, enter new amount" input newTransferAmt
Tuesday, May 14, 2013 at 4:03pm