Find Jobs
Hire Freelancers

C++ Program - MS DOS Console

$30-5000 USD

Concluído
Publicado há aproximadamente 20 anos

$30-5000 USD

Pago na entrega
This project consists in producing the C++ source code for a DOS application as described below. The programmer should use meaningful variable names, extensively comment the code and provide source code that can be compiled using MS Visual C++ 6.0. Again this is a DOS console application not a Windows application. You can not use classes and should avoid any sophisticated or tricky techniques when coding. Code should be simple, well do cumented and effective. C++ Program Description A bank asks you to write their customers a little program that helps them to calculate their mortgage payments. Your program should have a menu that asks the customers what type of calculation they want to perform, and based on the input, the program should ask and receive the necessary data, call the respective function, and then display the result in a nicely formatted way. Orient yourself at the code sample and output below, i.e. use a switch statement and functions as shown, and have your menu look the same. Variables used: a = annual payment amount, P = initial loan amount, and r is the loan interest rate expressed as a decimal, n = number of years. P= a*[(1 + r)n - 1] / [(1 + r)n*r] // for 1 a = [P*(1 + r)n*r]/[(1 + r)n - 1] // for 2 ## Deliverables C++ Program Description A bank asks you to write their customers a little program that helps them to calculate their mortgage payments. Your program should have a menu that asks the customers what type of calculation they want to perform, and based on the input, the program should ask and receive the necessary data, call the respective function, and then display the result in a nicely formatted way. Orient yourself at the code sample and output below, i.e. use a switch statement and functions as shown, and have your menu look the same. Variables used: a = annual payment amount, P = initial loan amount, and r is the loan interest rate expressed as a decimal, n = number of years. P= a*[(1 + r)n - 1] / [(1 + r)n*r] // for 1 a = [P*(1 + r)n*r]/[(1 + r)n - 1] // for 2 Note ??" user enters a, r, n for P or P, r, n for a Mortgage Program: ====================================== Please select from the following menu: 1 ??" How much house can I afford? 2 ??" What will my yearly payments be? => **where (this is an example only; do not use p,a,r,n !!!!** switch(choice) { … case 1: cout << “Please enter annual payment amount??; cin >> a; … p = calculateInitialLoanAmount(a, r, n); cout << “You can afford a house up to $?? << p << end; cout << “(Disclaimer: see a specialist when buying a house)??; … Note: Please also address the following issues: - How does your program respond if I select choice “5?? ? - Did you protect against division by 0? - Do you unnecessarily repeat the same lines of code? To submit: - Listing - Screenshot for run with 1: $10000/year, 30 years, 7.5% (result ~$118100) - Screenshot for run with 2: $250000 loan, 20 years, 7.2% (result ~$23966) 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement). I have had an excellent relationship with all RentaCoder developers that I have worked with. If you do a good job, finish it on time and keep me informed at all times, I will do the same. I am sure developers will enjoy working with me. ## Platform This program MUST be written in C++. It MUST compile in MS Visual C++ 6.0. It MUST not use classes or other advanced C++ techniques. It MUST be a DOS based application. Code should be simple, well documented, with commented and with meaningful variable names.
ID do Projeto: 3113949

Sobre o projeto

13 propostas
Projeto remoto
Ativo há 20 anos

Quer ganhar algum dinheiro?

Benefícios de ofertar no Freelancer

Defina seu orçamento e seu prazo
Seja pago pelo seu trabalho
Descreva sua proposta
É grátis para se inscrever e fazer ofertas em trabalhos
Concedido a:
Avatar do Usuário
See private message.
$2 USD em 2 dias
5,0 (98 avaliações)
7,0
7,0
13 freelancers estão ofertando em média $31 USD for esse trabalho
Avatar do Usuário
See private message.
$4,25 USD em 2 dias
5,0 (151 avaliações)
6,2
6,2
Avatar do Usuário
See private message.
$17 USD em 2 dias
5,0 (54 avaliações)
5,2
5,2
Avatar do Usuário
See private message.
$8,50 USD em 2 dias
5,0 (12 avaliações)
4,9
4,9
Avatar do Usuário
See private message.
$9,35 USD em 2 dias
5,0 (126 avaliações)
4,7
4,7
Avatar do Usuário
See private message.
$4,25 USD em 2 dias
5,0 (22 avaliações)
4,3
4,3
Avatar do Usuário
See private message.
$25,50 USD em 2 dias
5,0 (42 avaliações)
3,7
3,7
Avatar do Usuário
See private message.
$12,75 USD em 2 dias
5,0 (19 avaliações)
3,5
3,5
Avatar do Usuário
See private message.
$21,25 USD em 2 dias
4,6 (9 avaliações)
3,4
3,4
Avatar do Usuário
See private message.
$4,25 USD em 2 dias
4,9 (14 avaliações)
2,9
2,9
Avatar do Usuário
See private message.
$25,50 USD em 2 dias
5,0 (11 avaliações)
2,8
2,8
Avatar do Usuário
See private message.
$255 USD em 2 dias
4,5 (6 avaliações)
1,4
1,4
Avatar do Usuário
See private message.
$17 USD em 2 dias
5,0 (1 avaliação)
0,5
0,5

Sobre o cliente

Bandeira do(a) UNITED STATES
Fort Wayne, United States
5,0
18
Membro desde jun. 18, 2002

Verificação do Cliente

Obrigado! Te enviamos um link por e-mail para que você possa reivindicar seu crédito gratuito.
Algo deu errado ao enviar seu e-mail. Por favor, tente novamente.
Usuários Registrados Total de Trabalhos Publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Carregando pré-visualização
Permissão concedida para Geolocalização.
Sua sessão expirou e você foi desconectado. Por favor, faça login novamente.