Skip to main content

All Questions

4 votes
2 answers
545 views

Geektrust coding challenge: simulating a marketplace for loans

This is the my solution to a coding challenge in Geektrust. The question is linked here. A shortened version would be as follows. The aim is to simulate a marketplace for banks to lend money to ...
SATW's user avatar
  • 43
4 votes
1 answer
470 views

C++ bond mathematics calculator

I have written a program in C++ that processes financial bond mathematics, making extensive use of the valarray class, so that mathematical functions and operations ...
Giogre's user avatar
  • 331
1 vote
1 answer
188 views

Simple calculation of sector coefficients using PHP

Function This class extends the key class, called EQ, and does basic calculation based on minutely data. It then calculates weight coefficients (e.g., [0, 1]) for ...
Emma's user avatar
  • 3,527
5 votes
2 answers
5k views

OOP bank account program in Python 3

Python beginner here. Building an OOP bank account program with SQLite and starting to struggle a bit with its design. From a design standpoint I have a file (bank) which calls ATM. ATM simulates an ...
anfield's user avatar
  • 173
1 vote
1 answer
314 views

Python 'Cashflow' object

In the code shown below, I have created 3 classes. The first of these are an 'Payment' class and a 'Annuity' class, which allow the user to create objects representing individual or recurring payments ...
M Smith's user avatar
  • 147
7 votes
2 answers
2k views

Bank Management System

I'm new to C++ and wrote this Bank Management System app. It's one of the projects that everyone does as a beginner. This app runs perfectly so far. I tried to use OOP and encapsulation in this app. ...
A J's user avatar
  • 478
6 votes
1 answer
2k views

Bank saving account class in Python (pandas)

I am setting up a kids bank account class to teach them how to save, and myself how to write a class in Python. The original idea was to create a pandas DataFrame that will show how the money gains ...
manandearth's user avatar
4 votes
1 answer
6k views

Basic Internet banking application

I programmed in Java before, but I feel that I lack the "true way" of programming (OOP concepts, design, algorithm), so I started to learn all of these but I need your opinions and suggestions so I ...
Alexandru Cosmin's user avatar
0 votes
2 answers
392 views

How to use PHP Visibility method?

At my new job, with new young developers, we are seriously discussing improving code structure and performance. (They keep more than 80 lines of code in a method). However I've read more tutorials, ...
Heng Sopheak's user avatar
0 votes
1 answer
59 views

Acquiring payment service ID

I have a utility class, called Bills, that extracts some information from a billId and a ...
Parham Doustdar's user avatar
7 votes
3 answers
6k views

Money class with overloaded operators

I have program that uses a Money class which has several constructors for different methods of input and overloaded operators to add, subtract, and compare values. ...
Austin's user avatar
  • 125
5 votes
3 answers
2k views

Case Study - Basic sales tax

The solution was to be assessed, not just on completing the task but also on code quality and design, presence of testing, robustness, maintainability etc. Problem Statement Scenario Basic ...
vish1990's user avatar
  • 165
6 votes
2 answers
2k views

Bank ATM program in Ruby

After reading a bunch of Ruby tutorials, I decide to write fake ATM bank software. I've tried to use OOP design and just want to know if I'm on the right road. ...
junior stephane's user avatar
60 votes
11 answers
14k views

Sales tax calculator, rejected for being not OOP

I applied for an Application Developer position. They require all their applicants to complete 1 of 3 programming assignments. I picked one for sales tax calculation. It was quite simple. Write ...
John's user avatar
  • 617
6 votes
3 answers
93k views

Savings account class and test program

My code is complete. It runs properly and produces the correct output. I did calculations by hand to check and then ran the program and it gives me the same result. I just want a second opinion. Are ...
user21563966's user avatar

15 30 50 per page