A new London-based challenger bank called Wolving is launching in a few short months: Python and Java Coding Assignment, Penn, Malaysia

University  University of Pennsylvania (Penn)
Subject Python and Java Coding

The marking scheme for this task is on Canvas, make sure you check back regularly as you work through the assessment.

  • Python

A new London-based challenger bank called Wolving is launching in a few short months. They are in the process of building their website and have asked you to develop a program for prospective customers to show them how their savings could grow over time.

Interest is usually paid every year; however, the bank has asked that you incorporate compound interest to highlight their unique offerings when compared to competitors.

The idea behind compound interest is that the interest you earn each year is added to your principal (starting amount) so that the balance doesn’t just grow, it grows at an increasing rate. This is one of the most useful concepts in finance.

It is the basis of everything from personal saving plans to long-term growth in the stock market and accounts for the effects of inflation. It is thought to have originated in the 17th century and can be thought of as ‘interest on interest’.

  • Java

You will create a program that converts a decimal to HEX, OCT, and Binary. Your program should ask the user first what type of conversion they want to do. The conversions should be done in separate functions and should return a String.

1. Print the following menu:

  • To convert a decimal to HEX, please type “1” and hit enter.
  • To convert a decimal to OCT, please type “2” and hit enter.
  • To convert a decimal to Binary, please type “3” and hit enter.

2. After the user has chosen an option, they should be then prompted to type in the decimal number. For this program, we will be using an 8-bit binary system, so you do not need to worry about any number greater than 127 and lower than -128. These should be the limits that you check at the beginning, if the decimal value does not fit in between those thresholds, print a sensible error message to the user (give them an explanation of why the error has occurred). Once an appropriate value has been inputted, your program should call one of three functions; convert to hex, convert to oct or convert to binary. To create your functions, you can use the following code below to help you make a start:

  • String ToHex(int decimal number){//do the conversion

//return HEX value which has been derived from the

//decimal number – Remember, this needs to be a string}

  • String ToOct(int decimal number){//do the conversion

//return Oct value which has been derived from the

//decimal number – Remember, this needs to be a string}

  • String Tobin(int decimal number){//do the conversion

//return Binary value which has been derived from the

//decimal number – Remember, this needs to be a string}

Are You Searching Answer of this Question? Request Malaysian Writers to Write a plagiarism Free Copy for You.

Get Help By Expert

Looking for an affordable way to get a top-quality assignment on Python and Java Coding? Get expert help from malaysiaassignmenthelp.com. we have a panel of native writers who can provide your assignments according to your university guideline at an affordable price.

Answer

Recent Solved Questions

Online Exam & Assignment Writing Services

11770+ Orders Delivered

4.9/5
5 Star Rating

Confidential & Secure Assignment Help For

Group Assignment Help

Online Exam -Test & Quiz

Cheapest Price Quote

Diploma & Certificate Levels

Semester & FYP Papers

Summative & Individual

GBA & Reflective

Last Minute Assistance

Sample Assignment Download

DQS156 Principles Of Economics Assignment Example UiTM Malaysia
The course will provide a basic introduction to economics and focus on student learning by applying the central ideas used in economic analysis. It is also aimed at providing students…
Economics
CEV523 Solid Waste Management And Air Pollution Control UITM Assignment Sample Malaysia
CEV523 Solid Waste Management and Air Pollution Control is a course at Universiti Teknologi MARA (UiTM)! In this course, you will learn about the importance of managing solid waste and…
Management

UP TO 15 % DISCOUNT

Instant Paper Writing Services by Native Malaysia Writers

Plagiarism Free Solutions
100% Original Work
24*7 Online Assistance
Native PhD Experts
Hire a Writer Now

Get Assistance for Assignments, online Exam, and Projects Writing