Can you help me?

can you analyze this?
Problem no.1
#include<iostream.h>
#include<conio.h>

int main ()
{
clrscr();
cout<<"Hello, World!";
getch();
return 0;
}

Problem no.2
#include<iostream.h>
#include<conio.h>
//sample program

int main()
{
clrscr();
int age;
age = 16;
cout<<"My age is"<<age;
getch();
return 0;
}

Uh are you having some issue...?
All I can tell you is clrscr() isn't really necessary and I believe it's not standard? Could be wrong though.
And your missing a space in your output on program 2.
The only thing I see is the space issue, when you say analyze do you mean say what the code will produce, or find a problem? You're question is unclear...
Topic archived. No new replies allowed.