Skip to main content

All Questions

Tagged with
2 votes
2 answers
612 views

Fast OrderBook Implementation - Follow Up

Following up from: Fast OrderBook Implementation Here is the updated version (I've also implemented some extra functionality) ==> Order.hpp <== ...
jpf's user avatar
  • 63
-1 votes
1 answer
912 views

Compound interest calculator homework [closed]

I am a beginner at coding Java and am having a tough time understanding what is wrong with this code. This is an assignment I had posted about earlier and I also went to a Java tutor at my school for ...
Tori's user avatar
  • 1
3 votes
1 answer
413 views

Student project that calculates the return on an investment

This is a simple student project that calculates the return on an investment with a given investment amount, number of years invested, and annual interest rate. I know this is pretty basic, but I'm ...
Joshua Ferrell's user avatar
2 votes
3 answers
204 views

Mortgage calculator for homework

I needed to create a mortgage calculator for an intro to CS class. As part of the assignment, with an interest rate of 6% needs to change to 7% after 3 years hence that ...
Jonathan Hall's user avatar
5 votes
2 answers
10k views

Minimum number of coins to make change

I am new to programming and I am taking CS50 2014 online through iTunes University. This is the change-making problem in Problem Set 1: Write a program that first asks the user how much change is ...
Brandon 's user avatar
3 votes
1 answer
1k views

Payroll Program using 3 types of pass-by

This program is a payroll using calculate two types of employee. Two overloaded functions for two type of employee (hourly and salaried). There must be one pass-by-value, one pass-by-reference, and ...
Jin Nguyen's user avatar
2 votes
1 answer
3k views

Calculating Payroll

I have written the code as best that I know how but I am unsure that the questions asked are being fulfilled. Any advice to improve this code would really help me. Question asked: Create a new ...
SwishGavigan18's user avatar
2 votes
4 answers
10k views

Calculate employee wage

This is for a class assignment. The objective is to write a program that will take in user input for employee information and print the wage based on hours worked. Please review my code. ...
Gardener's user avatar
23 votes
3 answers
3k views

Isn't this Interest-ing?

This is the fifth project in my CS1 class. It's a bit more drab than my past projects, so my titles are getting worse unfortunately. :( Write a program that ...
syb0rg's user avatar
  • 21.8k
5 votes
3 answers
1k views

Dollar value of coins and calculating interest compounded annually

I've made this program to do a few integer calculations. Do the methods for converting the numbers look good? Do you have any other basic tips? ...
Overclock's user avatar
  • 123
6 votes
1 answer
90k views

Bank ATM program in Python

For homework, I have to code a program in Python that effectively simulates a bank ATM. ...
MaxxB's user avatar
  • 305
11 votes
4 answers
8k views

Payroll calculator

First I tried to fetch this program as close to pseudo code where I must follow all imported items, all method definitions, and all defined variables; anything else was my choice. After I created ...
HelpNeeder's user avatar
4 votes
1 answer
3k views

Money class for handling calculations with coins

The code follows the requested format of the output exactly for my assignment. But, for my own personal reference, is there a better way that I could have done anything? Are there any additional tips? ...
Caleb's user avatar
  • 85
5 votes
2 answers
28k views

Cash-withdrawal from an ATM

I'm seeking review comments (design, performance, etc.) based on the problem statement: Write a CashWithDrawal function from an ATM which based on user specified amount dispenses bank notes. ...
JavaGreenhorn's user avatar