Welcome to Dream.In.Code
Getting C++ Help is Easy!

Join 132,210 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 914 people online right now. Registration is fast and FREE... Join Now!




arrays

 
Reply to this topicStart new topic

arrays, arranging

b_micabel
post 15 Feb, 2008 - 07:00 PM
Post #1


New D.I.C Head

*
Joined: 15 Feb, 2008
Posts: 1

#include<conio.h>
#include<iostream.h>
main()
{
clrscr();
int base,area,legth;
cout<<"enter length\n";
cin>>length;
cout<<"enter base\n";
cin>>base;
area=base*length;
cout<<"area\n";
cout<<area<<endl;
getch();
return 0;
}
User is offlineProfile CardPM

Go to the top of the page

Jingle
post 15 Feb, 2008 - 07:03 PM
Post #2


D.I.C Head

**
Joined: 20 Oct, 2007
Posts: 249


My Contributions


what is the problem why do you need help?

what compiler and OS are you using?

also <iostream.h> is depreciated it is suggested to use
CODE

#include <iostream>
using namespace std;

unless of course your compiler is to old like the one I use at school.
In which case I suggest you upgrade if possible.

This post has been edited by Jingle: 15 Feb, 2008 - 07:05 PM
User is offlineProfile CardPM

Go to the top of the page

Reply to this topicStart new topic
Time is now: 11/21/08 08:09PM

Live C++ Help!

C++ Tutorials

Reference Sheets

C++ Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month