Mortgage Calculator

Need help please

Page 1 of 1

8 Replies - 2163 Views - Last Post: 13 July 2008 - 09:09 AM Rate Topic: -----

#1 vbstar  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 9
  • Joined: 06-June 08

Mortgage Calculator

Posted 11 July 2008 - 04:17 PM

My name is Roger

I am creating a mortage calculator when I run the code I am getting a lot of errors I also want to input exception handlers so that I do not get runtime errors when someone runs the program. Here is what I got;
I am very new to java so any help you can give me I appreciate.

Here are the errors I am getting;

C:\java\MortgageCalc.java:25: ')' expected
	double[] annualInterest = (5.35,5.5,5.75);
								   ^
C:\java\MortgageCalc.java:25: <identifier> expected
	double[] annualInterest = (5.35,5.5,5.75);
									^
C:\java\MortgageCalc.java:25: illegal start of type
	double[] annualInterest = (5.35,5.5,5.75);
									   ^
C:\java\MortgageCalc.java:25: <identifier> expected
	double[] annualInterest = (5.35,5.5,5.75);
										^
C:\java\MortgageCalc.java:25: ';' expected
	double[] annualInterest = (5.35,5.5,5.75);
											^
C:\java\MortgageCalc.java:26: ')' expected
	 int[] numOfYears = (7,15,30);
						  ^
C:\java\MortgageCalc.java:26: <identifier> expected
	 int[] numOfYears = (7,15,30);
						   ^
C:\java\MortgageCalc.java:26: illegal start of type
	 int[] numOfYears = (7,15,30);
							 ^
C:\java\MortgageCalc.java:26: <identifier> expected
	 int[] numOfYears = (7,15,30);
							  ^
C:\java\MortgageCalc.java:26: ';' expected
	 int[] numOfYears = (7,15,30);
								^
C:\java\MortgageCalc.java:31: ';' expected
		int term i;
				^
C:\java\MortgageCalc.java:31: <identifier> expected
		int term i;
				  ^
C:\java\MortgageCalc.java:60: ')' expected
			jbttn.addActionListener(new ActionListener(); {
														^
C:\java\MortgageCalc.java:63: illegal start of expression
			 public void actionPerformed(ActionEvent evt); {
			 ^
C:\java\MortgageCalc.java:63: illegal start of expression
			 public void actionPerformed(ActionEvent evt); {
					^
C:\java\MortgageCalc.java:63: ';' expected
			 public void actionPerformed(ActionEvent evt); {
										^
C:\java\MortgageCalc.java:63: ';' expected
			 public void actionPerformed(ActionEvent evt); {
														^
C:\java\MortgageCalc.java:64: ';' expected
						 i = 0
							  ^
C:\java\MortgageCalc.java:69: ')' expected
			jbttn.addActionListener(new ActionListener(); {
														^
C:\java\MortgageCalc.java:71: illegal start of expression
			 public void actionPerformed(ActionEvent evt); {
			 ^
C:\java\MortgageCalc.java:71: illegal start of expression
			 public void actionPerformed(ActionEvent evt); {
					^
C:\java\MortgageCalc.java:71: ';' expected
			 public void actionPerformed(ActionEvent evt); {
										^
C:\java\MortgageCalc.java:71: ';' expected
			 public void actionPerformed(ActionEvent evt); {
														^
C:\java\MortgageCalc.java:77: ')' expected
			jbttn.addActionListener(new ActionListener(); {
														^
C:\java\MortgageCalc.java:79: illegal start of expression
			 public void actionPerformed(ActionEvent evt); {
			 ^
C:\java\MortgageCalc.java:79: illegal start of expression
			 public void actionPerformed(ActionEvent evt); {
					^
C:\java\MortgageCalc.java:79: ';' expected
			 public void actionPerformed(ActionEvent evt); {
										^
C:\java\MortgageCalc.java:79: ';' expected
			 public void actionPerformed(ActionEvent evt); {
														^
C:\java\MortgageCalc.java:117: ';' expected
			public void start()
							   ^
C:\java\MortgageCalc.java:123: class, interface, or enum expected
			public void actionPerformed(ActionEvent divide)
				   ^
C:\java\MortgageCalc.java:128: class, interface, or enum expected
			appMonthlyPayment.setText( "" );
			^
C:\java\MortgageCalc.java:130: class, interface, or enum expected
			term = Integer.parseInt(appTerm.getText());
			^
C:\java\MortgageCalc.java:131: class, interface, or enum expected
			interest = Double.parseDouble(appTerm.getText());
			^
C:\java\MortgageCalc.java:132: class, interface, or enum expected
			principal - Double.parseDouble(appPrinciple.getText());
			^
C:\java\MortgageCalc.java:134: class, interface, or enum expected
			monthlyInterest = annualInterest[i]/(12*100);
			^
C:\java\MortgageCalc.java:135: class, interface, or enum expected
			int totalNumOfMonths = numOfYears[i]*12;
			^
C:\java\MortgageCalc.java:136: class, interface, or enum expected
			monthlyInterest = interest/(12*100);
			^
C:\java\MortgageCalc.java:137: class, interface, or enum expected
			denominator = Math.pow(1 + monthlyInterest, -(term*12());
			^
C:\java\MortgageCalc.java:138: class, interface, or enum expected
			denominator = 1 - denominator;
			^
C:\java\MortgageCalc.java:139: class, interface, or enum expected
			monthlyPayment = principal * (monthlyInterest / denominator);
			^
C:\java\MortgageCalc.java:141: class, interface, or enum expected
			monthlyPatment = (double)(principal*(monthlyInterest / (1-(Math.pow((1+monthlyInterest),(numOfMonths*-1))))));
			^
C:\java\MortgageCalc.java:142: class, interface, or enum expected
			return mothlyPayment;
			^
C:\java\MortgageCalc.java:144: class, interface, or enum expected
			double getMonthlyPrincipal,monthlyPayment,remainingPrinciple;
			^
C:\java\MortgageCalc.java:145: class, interface, or enum expected
			return monthlyPayment - (remainingPrinciple * monthlyInterest);
			^
C:\java\MortgageCalc.java:147: class, interface, or enum expected
			appMonthlyPayment.setText( "Payment = " + monthlyPayment);
			^
C:\java\MortgageCalc.java:149: class, interface, or enum expected
				 }
				 ^

46 errors

I need to use this code as an applet on a web page so I dont know if I am approaching this all wrong and if I have to compile it like any other class file because that is what I did?


[ //Imports from java API 
  import java.awt.*;
  import java.awtFlowLayout.*;
  import java.awt.event.*;
  import java.swing.event.*;
  import java.swing.SwingConstants.*;
  import java.text.*;
  import java.util.*;
  import java.lang.*;
  import java.swing.border.*;
  import java.swing.JOptionsPane.*;
  import java.util.InputMismatchException.*;
  import java.util.Scanner.*;
  
  
  
  
  public class MortgageCalc extends JFrame implements ActionListener { // Creates Mortgage Calculator
  
  /*Creates Arrays for interest and term, declaration of variables for monthlypayment,monthlyinterest,denominator,
    numofmonths,getmortgageamount,principal,interest*/
    double[] annualInterest = (5.35,5.5,5.75);
	 int[] numOfYears = (7,15,30);
	 
	 double[] monthlyPyment,monthlyInterest,denominator,numOfMonths,getMortageAmount;
	   double principal;
		double interest;
		int term i;
		float paymentdue;
		
	JLabel title = new JLabel( "Calculate Your Mortgage" );// Create label with name
	JLabel title = new JLabel( "Please enter the Principle rate then select the term with rate of your loan" );
	   JTextField appPrincipal = new JTextField(10);
		JTextField appTerm = new JTextField(2);
		JTextField appInterest = new JTextField(5);
		
	JTextField appMonthlyPayment = new JTextField(10);
	   JLabel ErrorMsg = new JLabel("");
		
		Font bigFont = new Font("Garamond", Font.BOLD, 18); //Select Font & attribute & size
		
		public void init(){
		
		  Container con = getContentPane();
		  con.setLayout(new BorderLayout());
		
	JPanel TopLabel = new JPanel();
	    TopLabel.setLayout(new FlowLayout());
		   title.setFont(bigFont);
			con.add("North",title);
			
	JPanel MainForm = new JPanel();	
	MainForm.setLayout(new GridLayout(0,3));
	JLabel label1 = new JLabel( "Term",SwingConstants.RIGHT);
	MainForm.add(label1);
	      JButton jbttn = new JButton( "7 Years at 5.35%"	);
			jbttn.addActionListener(new ActionListener(); {
					   	}
			// This adds buttons and responds to the users click				
			 public void actionPerformed(ActionEvent evt); {
			             i = 0
							 MainForm.add(i);
							 
							 }
			JButton jbttn = new JButton( "15 Years at 5.5%" );
			jbttn.addActionListener(new ActionListener(); {
			}
			 public void actionPerformed(ActionEvent evt); {
			             i = 1;
							 MainForm.add(i);
							 
							 }
			JButton jbttn = new JButton( "30 Years at 5.75%" );
			jbttn.addActionListener(new ActionListener(); {
			}
			 public void actionPerformed(ActionEvent evt); {
			             i = 2;
							 MainForm.add(i);
							 
							 }
			//Labels for Principal, Interest Rates, Results and their position
			JLabel label2 = new JLabel( "Principle", SwingContants.RIGHT );
			             MainForm.add(label2);
							 
		                MainForm.add(appPrincipal); 
							 
			JLabel label3 = new JLabel( "Interest Rates", SwingConstants.RIGHT );
			             MainForm.add(label3);
							 
							 MainForm.add(appInterest);
							 
			
			JLabel label4 = new JLabel( "Results", SwingConstants.RIGHT );
			             MainForm.add(label4);
							 
							 MainForm.add(appMonthlyPayments);
							 
							 con.add( "West",MainForm);
							 
			
			JPanel ButtonPane1 = new JPanel();
			ButtonPanel.setLayout(new BorderLayout());
			ButtonPanel.add( "North",ErrorMsg);
			JButton Calculate = new JButton( "Calculate" );
			
			Calculate.addActionListener(this);
			
			ButtonPanel.add( "Center",Calculate);
			con.add( "South",ButtonPanel);
			appMonthlyPayment.setEditable(false);
			
			}
			
			public void start()
			
			repaint();
			
			}
			
			public void actionPerformed(ActionEvent divide)
			
			{
			
			DecimalFormat decimalPlaces - new DecimalFormat( "0.00" );
			appMonthlyPayment.setText( "" );
			
			term = Integer.parseInt(appTerm.getText());
			interest = Double.parseDouble(appTerm.getText());
			principal - Double.parseDouble(appPrinciple.getText());
			
			monthlyInterest = annualInterest[i]/(12*100);
			int totalNumOfMonths = numOfYears[i]*12;
			monthlyInterest = interest/(12*100);
			denominator = Math.pow(1 + monthlyInterest, -(term*12());
			denominator = 1 - denominator;
			monthlyPayment = principal * (monthlyInterest / denominator);
			
			monthlyPatment = (double)(principal*(monthlyInterest / (1-(Math.pow((1+monthlyInterest),(numOfMonths*-1))))));
			return mothlyPayment;
			
			double getMonthlyPrincipal,monthlyPayment,remainingPrinciple;
			return monthlyPayment - (remainingPrinciple * monthlyInterest);
			
			appMonthlyPayment.setText( "Payment = " + monthlyPayment);
			
			     }
				  
			}				 


Mod edit: Added code tags (to errors as well) to reduce white space :)

Is This A Good Question/Topic? 0
  • +

Replies To: Mortgage Calculator

#2 pbl  Icon User is offline

  • There is nothing you can't do with a JTable
  • member icon

Reputation: 8347
  • View blog
  • Posts: 31,913
  • Joined: 06-March 08

Re: Mortgage Calculator

Posted 11 July 2008 - 04:50 PM

Ouf... a lot of mistakes....

When you code.. start by a small program, test it
and then add few elements at a time
and retest

Yu would ave seen that
panel.add("North", something); was wrong so you wouldn't have make the same error 4 times
same thing for your actionListener

import java.awt.*;
import java.awt.FlowLayout; // java.awtFlowLayout.*;
import java.awt.event.*;
import javax.swing.event.*;   //java.swing.event.*;
import javax.swing.SwingConstants;  //java.swing.SwingConstants.*;
import java.text.*;
import java.util.*;
import java.lang.*;
import javax.swing.border.*; // java.swing.border.*;
import javax.swing.JOptionPane; // java.swing.JOptionsPane.*;
import java.util.InputMismatchException.*;
import java.util.Scanner.*;

import javax.swing.*;    // for Jframe, Jlabel, JTextField, ......


public class MortgageCalc extends JFrame implements ActionListener { // Creates Mortgage Calculator

	/*Creates Arrays for interest and term, declaration of variables for monthlypayment,monthlyinterest,denominator,
numofmonths,getmortgageamount,principal,interest*/
	double[] annualInterest = {5.35,5.5,5.75}; // (5.35,5.5,5.75);
	int[] numOfYears = {7,15,30};   // (7,15,30);

	double[] monthlyPyment,monthlyInterest,denominator,numOfMonths,getMortageAmount;
	double principal;
	double interest;
	int term, i;   ////// term i;
	float paymentdue;

	// duplicate variable title (may be you can use title1 and title2)
	JLabel title = new JLabel( "Calculate Your Mortgage" );// Create label with name
	JLabel title = new JLabel( "Please enter the Principle rate then select the term with rate of your loan" );
	JTextField appPrincipal = new JTextField(10);
	JTextField appTerm = new JTextField(2);
	JTextField appInterest = new JTextField(5);

	JTextField appMonthlyPayment = new JTextField(10);
	JLabel ErrorMsg = new JLabel("");

	Font bigFont = new Font("Garamond", Font.BOLD, 18); //Select Font & attribute & size

	public void init(){

		Container con = getContentPane();
		con.setLayout(new BorderLayout());

		JPanel TopLabel = new JPanel();
		TopLabel.setLayout(new FlowLayout());
		// which title ?
		title.setFont(bigFont);
		con.add(TopLabel, BorderLayout.NORTH);   // con.add("North", TopLabel);

		JPanel MainForm = new JPanel(); 
		MainForm.setLayout(new GridLayout(0,3));
		JLabel label1 = new JLabel( "Term",SwingConstants.RIGHT);
		MainForm.add(label1);
		JButton jbttn = new JButton( "7 Years at 5.35%" );
		jbttn.addActionListener(new ActionListener() {       // no ;
//			jbttn.addActionListener(new ActionListener(); {
//			This adds buttons and responds to the users click 
			public void actionPerformed(ActionEvent evt); {
				i = 0;   // i = 0
				// cannot reference local variable MainForm in a inner class.   
				// You can not add an int to a JPanel
				MainForm.add(i);

			}
		};
		// jbttn already defined
		JButton jbttn = new JButton( "15 Years at 5.5%" );
		jbttn.addActionListener(new ActionListener() {

			public void actionPerformed(ActionEvent evt); {
				i = 1;
				MainForm.add(i);    // same problem as above

			}};


			// jbttn already defined
			JButton jbttn = new JButton( "30 Years at 5.75%" );
			jbttn.addActionListener(new ActionListener(); {
			}
			public void actionPerformed(ActionEvent evt); {
				i = 2;
				MainForm.add(i);        // same problem as  above

			}
//			Labels for Principal, Interest Rates, Results and their position

			// label2 is not defined yet
			JLabel label2 = new JLabel( "Principle", SwingConstants.RIGHT);   //SwingContants.RIGHT );

			// MainForm
			MainForm.add(label2);

			// what is addPrincipal    what type of JComponent
			MainForm.add(appPrincipal); 

			JLabel label3 = new JLabel( "Interest Rates", SwingConstants.RIGHT );
			MainForm.add(label3);

			// what is appInterest
			MainForm.add(appInterest);


			JLabel label4 = new JLabel( "Results", SwingConstants.RIGHT );
			MainForm.add(label4);

			MainForm.add(appMonthlyPayments);

			//  What is "West"
			con.add(MainForm, BorderLayout.WEST) ;   /// con.add( "West",MainForm);


			JPanel ButtonPane1 = new JPanel();
			ButtonPanel.setLayout(new BorderLayout());
			// what is "North" ?
			ButtonPanel.add(ErrorMsg, BorderLayout.NORTH);  /// ButtonPanel.add( "North",ErrorMsg);
			JButton Calculate = new JButton( "Calculate" );

			// you have to implement actionVoid(ActionEvent) in this class if you want
			// to declare that Calculate should invoke it
			Calculate.addActionListener(this);

			// what are "Center" and "South"
			ButtonPanel.add(Calculate, BordserLayout.CENTER);   /// ButtonPanel.add( "Center",Calculate);
			con.add( "South",ButtonPanel);   // same thing

			appMonthlyPayment.setEditable(false);

	}

	public void start()  {   // missing {

		repaint();

	}

	// duplicate method
	public void actionPerformed(ActionEvent divide)

	{

		// now I am lost betwwen the }}}}
		DecimalFormat decimalPlaces = new DecimalFormat("0.00");  // - new DecimalFormat( "0.00" );
		appMonthlyPayment.setText( "" );

		term = Integer.parseInt(appTerm.getText());
		interest = Double.parseDouble(appTerm.getText());
		// what is appPrinciple ?
		principal - Double.parseDouble(appPrinciple.getText());   // again = instead of -
        // monthlyInterest is an array [] of double you cannot assign to it a single double
		monthlyInterest = annualInterest[i]/(12*100);
		int totalNumOfMonths = numOfYears[i]*12;
        // monthlyInterest is an array [] of double you cannot assign to it a single double
		monthlyInterest = interest/(12*100);
		denominator = Math.pow(1 + monthlyInterest, -(term*12());
		denominator = 1 - denominator;
		// monthlyPayment is not defined
        // monthlyInterest is an array [] of double you cannot divide an array
		monthlyPayment = principal * (monthlyInterest / denominator);

		monthlyPatment = (double)(principal*(monthlyInterest / (1-(Math.pow((1+monthlyInterest),(numOfMonths*-1))))));
		return mothlyPayment;

		double getMonthlyPrincipal,monthlyPayment,remainingPrinciple;
		return monthlyPayment - (remainingPrinciple * monthlyInterest);

		appMonthlyPayment.setText( "Payment = " + monthlyPayment);

	}

} 


This post has been edited by pbl: 11 July 2008 - 04:51 PM

Was This Post Helpful? 0
  • +
  • -

#3 gl3thr0  Icon User is offline

  • D.I.C Regular

Reputation: 19
  • View blog
  • Posts: 319
  • Joined: 27-October 07

Re: Mortgage Calculator

Posted 11 July 2008 - 04:54 PM

ur code is so full of errors i dont think any1 is going to go through it all..
its all wrong..
even ur imports are wrong!
swing comes from javax.swing not java..
plus u have a bunch there u dont even use
ur arrays need to be created by using '{' and '}' not '('and')'
u have vairaiables with the same name!
ur methods often end like this ();{ instead of (){ so almost none of them work..
u need to declare i... (prolly when u declare term)
u keep calling methods fom something called MainForm.. which u created in a method so it isnt availble..
and the list goes on...
did u check this at all when u were writing it? i dont think so cuz nothing wors
Was This Post Helpful? 0
  • +
  • -

#4 vbstar  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 9
  • Joined: 06-June 08

Re: Mortgage Calculator

Posted 12 July 2008 - 05:03 PM

View Postgl3thr0, on 11 Jul, 2008 - 04:54 PM, said:

ur code is so full of errors i dont think any1 is going to go through it all..
its all wrong..
even ur imports are wrong!
swing comes from javax.swing not java..
plus u have a bunch there u dont even use
ur arrays need to be created by using '{' and '}' not '('and')'
u have vairaiables with the same name!
ur methods often end like this ();{ instead of (){ so almost none of them work..
u need to declare i... (prolly when u declare term)
u keep calling methods fom something called MainForm.. which u created in a method so it isnt availble..
and the list goes on...
did u check this at all when u were writing it? i dont think so cuz nothing wors



First off I told you I am new to java and yes I read the manual and don't ever tell me to FUCK EN read anything again, you shouldn't even be here if your help is not constructive. I don't like people that curse at me and I or anyone else it doesn't help anyone it just shows how ignorant that you are. If you dont have a constructive comment then dont comment.
Was This Post Helpful? 0
  • +
  • -

#5 Locke  Icon User is offline

  • Sarcasm Extraordinaire!
  • member icon

Reputation: 521
  • View blog
  • Posts: 5,596
  • Joined: 20-March 08

Re: Mortgage Calculator

Posted 12 July 2008 - 07:44 PM

View Postvbstar, on 12 Jul, 2008 - 05:03 PM, said:

View Postgl3thr0, on 11 Jul, 2008 - 04:54 PM, said:

ur code is so full of errors i dont think any1 is going to go through it all..
its all wrong..
even ur imports are wrong!
swing comes from javax.swing not java..
plus u have a bunch there u dont even use
ur arrays need to be created by using '{' and '}' not '('and')'
u have vairaiables with the same name!
ur methods often end like this ();{ instead of (){ so almost none of them work..
u need to declare i... (prolly when u declare term)
u keep calling methods fom something called MainForm.. which u created in a method so it isnt availble..
and the list goes on...
did u check this at all when u were writing it? i dont think so cuz nothing wors



First off I told you I am new to java and yes I read the manual and don't ever tell me to FUCK EN read anything again, you shouldn't even be here if your help is not constructive. I don't like people that curse at me and I or anyone else it doesn't help anyone it just shows how ignorant that you are. If you dont have a constructive comment then dont comment.


Agreed.
_______________________________________

How new to Java are you?

EDIT: Well vbstar, he didn't really tell you to read the manual...that's just part of his signature.

This post has been edited by Locke37: 12 July 2008 - 07:45 PM

Was This Post Helpful? 0
  • +
  • -

#6 pbl  Icon User is offline

  • There is nothing you can't do with a JTable
  • member icon

Reputation: 8347
  • View blog
  • Posts: 31,913
  • Joined: 06-March 08

Re: Mortgage Calculator

Posted 12 July 2008 - 09:15 PM

View Postvbstar, on 12 Jul, 2008 - 05:03 PM, said:

First off I told you I am new to java and yes I read the manual and don't ever tell me to FUCK EN read anything again, you shouldn't even be here if your help is not constructive. I don't like people that curse at me and I or anyone else it doesn't help anyone it just shows how ignorant that you are. If you dont have a constructive comment then dont comment.


Agreed bis

We are here on a voluntary basis to help... nobody force you to reply or even monitor that forum
If you think that somebody post is completly weird/out of scope just don't reply to it and go to another one where your comments might be constructive.

When I saw that code full of error, I hesitate to reply to it because it would be time consuming but as I had anything else to do so I corrected every line with comments. If I didn't had the time I wouldn't have post a reply to say that the code was so shitty snd that I didn't have the time to look at it.
Was This Post Helpful? 0
  • +
  • -

#7 JeroenFM  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 18
  • View blog
  • Posts: 195
  • Joined: 30-June 08

Re: Mortgage Calculator

Posted 13 July 2008 - 06:46 AM

May I suggest using an IDE with syntax highlighting such as Eclipse or Netbeans? It should highlight most of the mistakes you made while you make them.
Was This Post Helpful? 0
  • +
  • -

#8 lordms12  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 30
  • View blog
  • Posts: 339
  • Joined: 16-February 08

Re: Mortgage Calculator

Posted 13 July 2008 - 07:20 AM

View Postvbstar, on 12 Jul, 2008 - 05:03 PM, said:

First off I told you I am new to java and yes I read the manual and don't ever tell me to FUCK EN read anything again, you shouldn't even be here if your help is not constructive. I don't like people that curse at me and I or anyone else it doesn't help anyone it just shows how ignorant that you are. If you dont have a constructive comment then dont comment.

Agreed just if it was in his post but it was not, it is just his signature (I do not think it is a proper signature)
Was This Post Helpful? 0
  • +
  • -

#9 Locke  Icon User is offline

  • Sarcasm Extraordinaire!
  • member icon

Reputation: 521
  • View blog
  • Posts: 5,596
  • Joined: 20-March 08

Re: Mortgage Calculator

Posted 13 July 2008 - 09:09 AM

View PostJeroenFM, on 13 Jul, 2008 - 06:46 AM, said:

May I suggest using an IDE with syntax highlighting such as Eclipse or Netbeans? It should highlight most of the mistakes you made while you make them.


I totally agree to this. Although I find NetBeans' compile-as-you-go style kind of awkward because I don't like seeing those little lines :blink: ...I do like it because it points out any errors I make when I make them, so I don't have to remember exactly what part of the code I was on when I compile it and it gives me the error.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1