Main.java:12: error: illegal character: '#'
#include<iostream>
^
Main.java:13: error: ';' expected
using namespace std;
^
Main.java:14: error: ';' expected
int main()
^
Main.java:17: error: not a statement
cout<<"enter the principle value:";
^
Main.java:18: error: not a statement
cin>>p;
^
Main.java:20: error: not a statement
cout<<"enter the interest rate in decimal form:";
^
Main.java:21: error: not a statement
cin>>r;
^
Main.java:23: error: not a statement
cout<<"the amount of time: ";
^
Main.java:24: error: not a statement
cin>>t;
^
Main.java:27: error: not a statement
cout<<"the interest rate will be: "<<i;
^
10 errors