ComputerScienceExpert

(11)

$18/per page/

About ComputerScienceExpert

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Applied Sciences,Calculus See all
Applied Sciences,Calculus,Chemistry,Computer Science,Environmental science,Information Systems,Science Hide all
Teaching Since: Apr 2017
Last Sign in: 9 Weeks Ago, 2 Days Ago
Questions Answered: 4870
Tutorials Posted: 4863

Education

  • MBA IT, Mater in Science and Technology
    Devry
    Jul-1996 - Jul-2000

Experience

  • Professor
    Devry University
    Mar-2010 - Oct-2016

Category > Programming Posted 08 May 2017 My Price 9.00

a program that performs three basic tasks

The following programming problem can be solved by a program that performs three basic tasks (Input Data, Process Data, Output Results) along with selection and repetition coding techniques. Starting with the program you created in Programming Project 1 and using RAPTOR, design a suitable program to solve this problem.

Problem Statement

A finance company provides loans for motorcycles at different rates depending on how much the total loan amount is and how many payments will be made on the loan. Using the information in the table below, write a program that will calculate the monthly payment based on user inputs of loan amount and number of monthly payments. The user will NOT input the percentage rate, as this will be determined by the program code based on user input of loan amount and number of payments. The output will display the loan amount, number of payments, monthly payments and the interest rate of the loan. Use a loop to allow users to enter as many sets of data as desired. At the end of each loop, ask the user if he or she would like to Exit the program (Y for Yes or N for No). If yes, clear the variables and repeat the input, processing and output loop. If no, exit the program.

Problem Statement

Amount of Loan# ***** PaymentsInterest Rate Applied

$500 - $ 2,5006-128%

13-3610%

37-4812%

$2,501 - $10,0006-127%

13-368%

37-486%

$10,001 or above6-125%

13-366%

37-487%

If the user enters data that is "out of bounds" (loan amount/number of payments below or above minimum/maximum in table), display an error message explaining the situation to the user and ask for the loan amount or number of payments (whichever one was out of bounds) again. Message Example: "We do not finance loans below $500."

You MUST use Modular Programming techniques by using Sub Modules (Sub Charts in RAPTOR) in your program. Your "main" module should not be very large.

Begin with the program you created in Programming Project 1. Modify the program so that it completes the additional tasks.

Other Requirements:

Test and debug your Program: Create sample input data, run the program, then check your answers with a calculator or Excel. If something did not match up, then fix your program.

Program must execute and produce correct output.

 

 

#####����############# System.Int32#####m_value############����##############System.Boolean#####m_value
#########����############# System.Int32#####m_value############����##############main######����######## ####=raptor, Version=4.0.6.4, Culture=neutral,
PublicKeyToken=null######raptor.Subchart_Kinds#####value__################����##
###### ####=raptor, Version=4.0.6.4, Culture=neutral, PublicKeyToken=null ####QSystem.Drawing, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a######raptor.Oval#####_serialization_version#_FP
_text_str#_name
_proximity _head_height#_head_width#_head_heightOrig#_head_widthOrig#_connector_length#_x_l
ocation#_y_location
_Successor#_parent
_is_child#_is_beforeChild#_is_afterChild
_full_text#_height_of_text _char_length#_rect#_comment_created_guid
_changed_guid##########################raptor.Component+FootPrint#############ra
ptor.Parallelogram###########System.Drawing.Rectangle#####System.Guid#System.Gui
d########
##########Start######Oval
###$###6###<###Z###
###�####### ####
####
########���#System.Drawing.Rectangle#####x#y#width#height############�#######(##
####
#���#System.Guid#####_a#_b#_c#_d#_e#_f#_g#_h#_i#_j#_k######################���K�
J C���#�Dra#���������K�J
C���#�Dra######raptor.Component+FootPrint#####left#right#height##########J###J##
#�#########raptor.Parallelogram#####_prompt
_is_input
_new_line#_input_expression#_serialization_version#_FP
_text_str#_name
_proximity _head_height#_head_width#_head_heightOrig#_head_widthOrig#_connector_length#_x_l
ocation#_y_location
_Successor#_parent
_is_child#_is_beforeChild#_is_afterChild
_full_text#_height_of_text _char_length#_rect#_comment_created_guid
_changed_guid#################################raptor.Component+FootPrint########
#####raptor.Parallelogram###########System.Drawing.Rectangle#####System.Guid#Sys
tem.Guid##########"Enter value of Loan Amount"####### ########p#####Parallelogram
###$###6###<###Z###
###�###?### ####
############������n###@###l###'###
#�������<1gn]B���Gl##������#��y/�\@���
��u�# #######J###J###_#################,"Enter value of interest rate in
percentage"#######
##########r ####
###$###6###<###Z###
###�###l### ####
############������n###m###l###'###
#��������M�#�JL�IXu��m#������##7P�YF�}�&;#�H#########J###J###2#########raptor.Parallelogram#####_prom
pt
_is_input
_new_line#_input_expression#_serialization_version#_FP
_text_str#_name
_proximity _head_height#_head_width#_head_heightOrig#_head_widthOrig#_connector_length#_x_l
ocation#_y_location
_Successor#_parent
_is_child#_is_beforeChild#_is_afterChild
_full_text#_height_of_text _char_length#_rect#_comment_created_guid
_changed_guid#################################raptor.Component+FootPrint########
#####raptor.Rectangle###########System.Drawing.Rectangle#####System.Guid#System.
Guid##########"Enter number of years"#######
##########y ####
###$###6###<###Z###
###�###�### ####
############������n###�###l###'###
#������^y�#K�}A����
%�#���������M"hD�9#9�n>�#########J###J#############raptor.Rectangle#####_seriali
zation_version#_FP
_text_str#_name
_proximity _head_height#_head_width#_head_heightOrig#_head_widthOrig#_connector_length#_x_l
ocation#_y_location
_Successor#_parent
_is_child#_is_beforeChild#_is_afterChild
_full_text#_height_of_text _char_length#_rect#_comment_created_guid
_changed_guid#_kind###########################raptor.Component+FootPrint########
#####raptor.Rectangle###########System.Drawing.Rectangle#####System.Guid#System.
Guid#raptor.Rectangle+Kind_Of############ #####$####n:=12*y#%### Rectangle
###$###6###<###Z###
###�###�### &###
############������|###�###Q###'###
#��������:�L#G����2#������###‫מ‬O�n�mB����##�8#���#raptor.Rectangle+Kind_Of#####va
lue__###################J###J###�####&###########
+####,####MonthlyRate:=r/1200 %###
###$###6###<###Z###
###�###�### .###
############������n###�###l###'###
#��������a�F�#J��ZԦgb##������#
#t�V@�#=u��4E#������#####+#######J###J###�####.####raptor.Rectangle#####_seriali
zation_version#_FP
_text_str#_name
_proximity _head_height#_head_width#_head_heightOrig#_head_widthOrig#_connector_length#_x_l
ocation#_y_location
_Successor#_parent
_is_child#_is_beforeChild#_is_afterChild
_full_text#_height_of_text _char_length#_rect#_comment_created_guid
_changed_guid#_kind###########################raptor.Component+FootPrint########
#####raptor.Parallelogram###########System.Drawing.Rectangle#####System.Guid#Sys
tem.Guid#raptor.Rectangle+Kind_Of############
3####4###DPayment:=(p*MonthlyRate*((1+MonthlyRate)^n))/
(((1+MonthlyRate)^n)-1) %###
###$###6###<###Z###
###�### ### 6###
############������S###!###�###'###
#������웞 ��#K��iI#��G#�������x:����@�E����#C#������#####3#######J###J###~####6####raptor.
Parallelogram#####_prompt
_is_input
_new_line#_input_expression#_serialization_version#_FP
_text_str#_name
_proximity _head_height#_head_width#_head_heightOrig#_head_widthOrig#_connector_length#_x_l
ocation#_y_location
_Successor#_parent
_is_child#_is_beforeChild#_is_afterChild
_full_text#_height_of_text _char_length#_rect#_comment_created_guid
_changed_guid#################################raptor.Component+FootPrint########
#####raptor.Oval###########System.Drawing.Rectangle#####System.Guid#System.Guid#
####;########### <####=####"Monthly Payment is" +Payment ####
###$###6###<###Z###
###�###M### ?###
############������n###N###l###'###
#��������&~�ӦSB�Y�����#���������;#lT�E�#�i�G�#<#######6###6###Q####?
####raptor.Oval#####_serialization_version#_FP _text_str#_name
_proximity _head_height#_head_width#_head_heightOrig#_head_widthOrig#_connector_length#_x_l
ocation#_y_location
_Successor#_parent
_is_child#_is_beforeChild#_is_afterChild
_full_text#_height_of_text _char_length#_rect#_comment_created_guid
_changed_guid##########################raptor.Component+FootPrint###############
####System.Drawing.Rectangle#####System.Guid#System.Guid######## C####D####End
####
###$###6###<###Z#######�###z###
############��������###�###%######
#�������8y�L_#�F�\�##[�"#�������8y�L_#�F�\�##[�"#C###############$#########����#
#########################����######## ####=raptor, Version=4.0.6.4, Culture=neutral,
PublicKeyToken=null######raptor.logging_info#####_serialization_version#_count#_
user0 _machine0#_date0#_kind0#_user1
_machine1#_date1#_kind1#_user2
_machine2#_date2#_kind2#_user3
_machine3#_date3#_kind3#_user4
_machine4#_date4#_kind4#_user5
_machine5#_date5#_kind5############################
#raptor.logging_info+event_kind#####raptor.logging_info+event_kind####
#raptor.logging_info+event_kind#####raptor.logging_info+event_kind####
#raptor.logging_info+event_kind####
#raptor.logging_info+event_kind######################End_User######END_USERPCvf�Ԧ_
Ԧ#���#raptor.logging_info+event_kind#####value__################End_User######EN
D_USER-PC��8�b
Ԧ#������#####
####End_User#
####END_USER-PC[#=&c
Ԧ#������##### ####End_User#####END_USER-PCJe>�c
Ԧ#������##########End_User######END_USER-PCP�Ʀc
Ԧ#������##########End_User######END_USER-PCYd!�c
Ԧ#������##########����##############System.Boolean#####m_value#########����#####
#########System.Guid#####_a#_b#_c#_d#_e#_f#_g#_h#_i#_j#_k######################�
B�I�BXM��##��##

Answers

(11)
Status NEW Posted 08 May 2017 06:05 AM My Price 9.00

-----------

Not Rated(0)