# Instructions:The following programming problem can be solved by a program that performs three basic tasksâInput Data, Process Data, and Output…

Instructions:The following programming problem can be solved by a program that performs three basic tasks—Input Data, Process Data, and Output Results. Use RAPTOR to design a suitable program to solve this problem.

Problem Statement

James wants to buy a motorcycle. Help James compute the monthly payment on a loan, given the loan amount, the annual percentage rate of interest, and the number of monthly payments. The program should allow James to input the loan amount, interest rate, and how many payments he wants to make. It should then compute and display the monthly payment.

You will need the following variables:

Payment
LoanAmt
InterestRate
MonthlyRate
NumberMonths

You will need the following formulas:

MonthlyRate = InterestRate/1200

Note: When the user enters InterestRate as a percentage, it must be divided by 100 to make it a decimal (i.e., 18% = 18/100 = 0.18). The InterestRate offered by motorcycle dealers is an annual rate, so this must be divided by 12 to get the MonthlyRate. The MonthlyRate formula given above combines the two steps (i.e., annual rate of 18% = 18/100 = 0.18 and the monthly rate is 0.18/12 = 0.015 or 18/(100*12) = 18/1200.

Payment = LoanAmt * MonthlyRate *
(1 + MonthlyRate)^NumberMonths ÷
((1 + MonthlyRate)^NumberMonths – 1)

Note: The Payment formula given above must be entered carefully and exactly as shown.

Other Requirements:

• Documentation: Use the “Comments” feature to document each symbol in the flowchart. You do this by right-clicking the symbol and selecting “Comment.” Be sure to identify the data type of each variable used. Be sure to explain what each formula does. Be sure to explain what each of the other symbols in the flowchart does in a comment.
• 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.
• See the Programming Project Rubric for grading principles.
• Extra Credit: Use a Sub Module (Sub Chart in RAPTOR) to Declare and Initialize the variables used in the program.

Submission Instructions:

• You must submit a Flowchart (from RAPTOR) file. Your RAPTOR file will be the .rap file created when you save your project.
• Name the RAPTOR file (replacing LastName and FirstInitial with YOUR name):  LastName_FirstInitial_Program1.rap (example: Smith_J_Program_1.rap).
• Attach your file to your assignment submission upload. If you find that you made an error and want to resubmit before the due date, you may do so. However, only the LAST file uploaded by the due date will be graded.
Scroll to Top
The text passage provides a programming problem statement and instructions for designing a program to calculate the monthly payment on a loan for buying a motorcycle. It includes the necessary variables, formulas, and requirements for the program.
no_question

the passage does not contain a direct mathematical question or an answer to a mathematical question. instead, it provides a problem statement and instructions for creating a program to solve a mathematical problem.
Given a text passage, determine:
    1. If it contains a mathematical question (including word problems or calculations)
    2. If an answer to that mathematical question is provided in the text

First, describe the content structure you found in 1-2 sentences.

Then provide your analysis in the following format:
TYPE: <one of the following values>
- NO_QUESTION
- SINGLE_QUESTION
- SINGLE_QUESTION_WITH_ANSWER
- MULTIPLE_QUESTIONS
- MULTIPLE_QUESTIONS_WITH_ANSWERS
system
# Instructions:The following programming problem can be solved by a program that performs three basic tasksâInput Data, Process Data, and Output…

Instructions:The following programming problem can be solved by a program that performs three basic tasks—Input Data, Process Data, and Output Results. Use RAPTOR to design a suitable program to solve this problem.

Problem Statement

James wants to buy a motorcycle. Help James compute the monthly payment on a loan, given the loan amount, the annual percentage rate of interest, and the number of monthly payments. The program should allow James to input the loan amount, interest rate, and how many payments he wants to make. It should then compute and display the monthly payment.

You will need the following variables:

Payment
LoanAmt
InterestRate
MonthlyRate
NumberMonths

You will need the following formulas:

MonthlyRate = InterestRate/1200

Note: When the user enters InterestRate as a percentage, it must be divided by 100 to make it a decimal (i.e., 18% = 18/100 = 0.18). The InterestRate offered by motorcycle dealers is an annual rate, so this must be divided by 12 to get the MonthlyRate. The MonthlyRate formula given above combines the two steps (i.e., annual rate of 18% = 18/100 = 0.18 and the monthly rate is 0.18/12 = 0.015 or 18/(100*12) = 18/1200.

Payment = LoanAmt * MonthlyRate *
(1 + MonthlyRate)^NumberMonths ÷
((1 + MonthlyRate)^NumberMonths – 1)

Note: The Payment formula given above must be entered carefully and exactly as shown.

Other Requirements:

• Documentation: Use the “Comments” feature to document each symbol in the flowchart. You do this by right-clicking the symbol and selecting “Comment.” Be sure to identify the data type of each variable used. Be sure to explain what each formula does. Be sure to explain what each of the other symbols in the flowchart does in a comment.
• 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.
• See the Programming Project Rubric for grading principles.
• Extra Credit: Use a Sub Module (Sub Chart in RAPTOR) to Declare and Initialize the variables used in the program.

Submission Instructions:

• You must submit a Flowchart (from RAPTOR) file. Your RAPTOR file will be the .rap file created when you save your project.
• Name the RAPTOR file (replacing LastName and FirstInitial with YOUR name):  LastName_FirstInitial_Program1.rap (example: Smith_J_Program_1.rap).
• Attach your file to your assignment submission upload. If you find that you made an error and want to resubmit before the due date, you may do so. However, only the LAST file uploaded by the due date will be graded.
Scroll to Top
user
The text passage provides a programming problem statement and instructions for designing a program to calculate the monthly payment on a loan for buying a motorcycle. It includes the necessary variables, formulas, and requirements for the program.

TYPE: NO_QUESTION

The passage does not contain a direct mathematical question or an answer to a mathematical question. Instead, it provides a problem statement and instructions for creating a program to solve a mathematical problem.