*Hi, I'm just 2 weeks into computer science 1. New to the world of java.
I'm working on the Monthly Mortgage Payment program and having some problems that I don't know how to fix. Any help greatly appreciated! I'm using JEdit & Terminal on imac. Thanx.*

```
import java.text.*; //for Decimal format class
public class Mortgage
{
public static void main (String[] args);
{
DecimalFormat num=new DecimalFormat (“$,###.00”); //declaring variables
double P= 100000; //mortgage Principal.
double I = 0.07; //7% mortgage Interest.
double T= 12*30; //30 years mortgage Term.
double MP = (((P*(I/12)) / (1-Math.pow((1/(1+I/12)),(T)); //Monthly Mortgage Payment
//Display variables
System.out.println(num.format(MP));
System.out.println(“The Monthly Mortgage Payment is: “+MP);
}
}
```

--------------------------------------------------------------------

Last login: Mon Feb 7 08:32:21 on console

tracy-dos-imac:~ tracydo$ cd desktop

tracy-dos-imac:desktop tracydo$ cd "lab2"

tracy-dos-imac:lab2 tracydo$ javac Mortgage.java

Mortgage.java:11: illegal character: \8220

DecimalFormat num=new DecimalFormat (?$,###.00?); //declaring variables

^

Mortgage.java:11: ';' expected

DecimalFormat num=new DecimalFormat (?$,###.00?); //declaring variables

^

Mortgage.java:11: illegal start of expression

DecimalFormat num=new DecimalFormat (?$,###.00?); //declaring variables

^

Mortgage.java:11: illegal character: \35

DecimalFormat num=new DecimalFormat (?$,###.00?); //declaring variables

^

Mortgage.java:11: illegal character: \35

DecimalFormat num=new DecimalFormat (?$,###.00?); //declaring variables

^

Mortgage.java:11: illegal character: \35

DecimalFormat num=new DecimalFormat (?$,###.00?); //declaring variables

^

Mortgage.java:11: illegal character: \8221

DecimalFormat num=new DecimalFormat (?$,###.00?); //declaring variables

^

Mortgage.java:11: not a statement

DecimalFormat num=new DecimalFormat (?$,###.00?); //declaring variables

^

Mortgage.java:17: ')' expected

double MP = (((P*(I/12)) / (1-Math.pow((1/(1+I/12)),(T)); //Monthly Mortgage Payment

^

Mortgage.java:17: ')' expected

double MP = (((P*(I/12)) / (1-Math.pow((1/(1+I/12)),(T)); //Monthly Mortgage Payment

^

Mortgage.java:21: illegal character: \8220

System.out.println(?The Monthly Mortgage Payment is: ?+MP);

^

Mortgage.java:21: ';' expected

System.out.println(?The Monthly Mortgage Payment is: ?+MP);

^

Mortgage.java:21: ';' expected

System.out.println(?The Monthly Mortgage Payment is: ?+MP);

^

Mortgage.java:21: ';' expected

System.out.println(?The Monthly Mortgage Payment is: ?+MP);

^

Mortgage.java:21: illegal character: \8220

System.out.println(?The Monthly Mortgage Payment is: ?+MP);

^

Mortgage.java:21: not a statement

System.out.println(?The Monthly Mortgage Payment is: ?+MP);

^

Mortgage.java:21: ';' expected

System.out.println(?The Monthly Mortgage Payment is: ?+MP);

^

17 errors