
Originally Posted by
dhruv227
══════════════════════════2═[↕]═╗
║{ ▲
║clrscr() ▒
When posting code, please post just the code, which means leave out the character graphics. Are you using the old Borland C++ IDE? Also, use [code] tags rather than [quote] tags.

Originally Posted by
dhruv227
i made a program in c++ and getting around 4 errors, can someone find out the problem and help me rectify it, thanks
It's rather hard to address an error when you don't state what it is.
In addition to what ah-blabla mentions, you forgot to terminate two statements with a semicolon (the clrscr() and final output statement) and you're missing a closing parentheses in the first if's test.
Code:
{
clrscr();
float d,t,interest;
cout<<"Enter the deposit";
cin>>d;
cout<<"Enter the Time Period in months";
cin>>t;
if ((d<2000)&&(t>=24))
{ interest=5; }
else if ((d>=2000)&&(d<=6000)&&(t>=24))
{ interest=7; }
else if ((d>=6000)&&(t>=12))
{ interest=12; }
else if (t>=60)
{ interest=10; }
else
{interest=3; }
cout<<"The interest on "<<deposit
<<" and time period of "<<time
<<" months is ";
getch();
}
Speaking of what ah-blabla mentions, you're doing yourself no favors in abbreviating "deposit" and "time" as "d" and "t".