I keep getting this error, how do I fix it?

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

I keep getting this error, how do I fix it? 

View
Git
Project
Build
Debug
Test
Analyze
Tools
Extensions
Window
Help
Sevar
- Debug
Any CPU
Prog Task 1 POE
Continue
雪 $,
X Stack Frame: Prog_Task_1_POE.Homeloan.Determinelc
56] Prog Task 1 POE.exe
O Lifecycle Events
Thread: [9472] Main Thread
x Expense.cs
Program.cs
E
, Prog_Task_1_POE.HomeLloan
DetermineLoan0
Console.Writeline("Enter Number Of Months(between 240 and 360) in Which The Loan Will Be Paid: ");
double months = Convert. ToInt32(Console.ReadLine());
int f =
propertyPrice - depositAmt;
%3D
double x = months / 12;
double i =
interestAmt / 100;
double a =
f*(1 + (i * x));
double monthlyPayment
= a / months;
Exception Unhandled
if (monthlyPayment > (monthlyIncome / System.NullReferenceException: 'Object reference not set to an
{
Console.Writeline ("Your Loan Appl
}
instance of an object.'
I
chargeArray was null.
View Details Copy Details Start Live Share session..
double totalExpenses
for (int y=0; y<6; y++)
{
totalExpenses += chargeArray[y]:
}
monthlyPayment
> Exception Settings
double moneyAvailable
monthlyIncome
totalExpenses;
1.1
Ln: 45
Ch: 21
SPC
CRLF
issues found
www w v X Call Stack
Name
P-t→ Search Depth: 3
Prog Task 1 POE.dlI!Prog_Task_1_POE.HomeLoan.Determinelo
Prog Task 1 POE.dll!Prog_Task_1_POE.Program.Main(string[] an
Value
Туре
{Prog_Task_1_POE.Homeloan}
Prog_Task_1_POE..
Transcribed Image Text:View Git Project Build Debug Test Analyze Tools Extensions Window Help Sevar - Debug Any CPU Prog Task 1 POE Continue 雪 $, X Stack Frame: Prog_Task_1_POE.Homeloan.Determinelc 56] Prog Task 1 POE.exe O Lifecycle Events Thread: [9472] Main Thread x Expense.cs Program.cs E , Prog_Task_1_POE.HomeLloan DetermineLoan0 Console.Writeline("Enter Number Of Months(between 240 and 360) in Which The Loan Will Be Paid: "); double months = Convert. ToInt32(Console.ReadLine()); int f = propertyPrice - depositAmt; %3D double x = months / 12; double i = interestAmt / 100; double a = f*(1 + (i * x)); double monthlyPayment = a / months; Exception Unhandled if (monthlyPayment > (monthlyIncome / System.NullReferenceException: 'Object reference not set to an { Console.Writeline ("Your Loan Appl } instance of an object.' I chargeArray was null. View Details Copy Details Start Live Share session.. double totalExpenses for (int y=0; y<6; y++) { totalExpenses += chargeArray[y]: } monthlyPayment > Exception Settings double moneyAvailable monthlyIncome totalExpenses; 1.1 Ln: 45 Ch: 21 SPC CRLF issues found www w v X Call Stack Name P-t→ Search Depth: 3 Prog Task 1 POE.dlI!Prog_Task_1_POE.HomeLoan.Determinelo Prog Task 1 POE.dll!Prog_Task_1_POE.Program.Main(string[] an Value Туре {Prog_Task_1_POE.Homeloan} Prog_Task_1_POE..
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY