is this what you mean?

[CODE]

include <stdio.h>

int x,y;

main()
{
for ( x = 0; x < 10; x++, printf( "\n" ) )

    for ( y = 0; y < (x*2-1); y++ )

        printf( "X" );

return 0;

}
[/CODE]

commented: Man, 185 posts and you're still giving away homework solutions? Get it together, man! -2
commented: Did you read the comments on the other post? +0

Espanol, German, English
I hope you have an idea now.

[CODE]Espanol:

define('NAVBAR_TITLE', 'Mi Cuenta');
define('HEADING_TITLE', 'Datos de Mi Cuenta');

define('OVERVIEW_TITLE', 'Resumen');
define('OVERVIEW_SHOW_ALL_ORDERS', '(ver todos mis pedidos)');
define('OVERVIEW_PREVIOUS_ORDERS', 'Pedidos Anteriores');

define('MY_ACCOUNT_TITLE', 'Mi Cuenta');
define('MY_ACCOUNT_INFORMATION', 'Ver o modificar datos de mi cuenta.');
define('MY_ACCOUNT_ADDRESS_BOOK', 'Ver o modificar mis direcciones.');
define('MY_ACCOUNT_PASSWORD', 'Modificar mi contraseña de acceso.');

define('MY_ORDERS_TITLE', 'Mis Pedidos');
define('MY_ORDERS_VIEW', 'Ver los pedidos que he realizado.');

define('EMAIL_NOTIFICATIONS_TITLE', 'Notificaciones por E-Mail');
define('EMAIL_NOTIFICATIONS_NEWSLETTERS', 'Subscribirse or no a los boletines.');
define('EMAIL_NOTIFICATIONS_PRODUCTS', 'Ver o modificar mis notificaciones de productos.');

German:
define('NAVBAR_TITLE', 'Ihr Konto');
define('HEADING_TITLE', 'Ihre persönlichen Daten');

define('OVERVIEW_TITLE', 'Übersicht');
define('OVERVIEW_SHOW_ALL_ORDERS', '(alle Bestellungen anzeigen)');
define('OVERVIEW_PREVIOUS_ORDERS', 'Bisherige Bestellungen');

define('MY_ACCOUNT_TITLE', 'Ihr Konto');
define('MY_ACCOUNT_INFORMATION', 'Meine Kontoinformationen anzeigen oder ändern');
define('MY_ACCOUNT_ADDRESS_BOOK', 'Adressbucheinträge anzeigen oder ändern');
define('MY_ACCOUNT_PASSWORD', 'Mein Passwort ändern');

define('MY_ORDERS_TITLE', 'Meine Bestellungen');
define('MY_ORDERS_VIEW', 'Meine bisherigen Bestellungen anzeigen');

define('EMAIL_NOTIFICATIONS_TITLE', 'E-Mail Benachrichtigungen');
define('EMAIL_NOTIFICATIONS_NEWSLETTERS', 'Newsletter abonnieren oder abbestellen.');
define('EMAIL_NOTIFICATIONS_PRODUCTS', 'Meine Produktbenachrichtigungen anzeigen oder ändern.');

English:
define('NAVBAR_TITLE', 'My Account');
define('HEADING_TITLE', 'My Account Information');

define('OVERVIEW_TITLE', 'Overview');
define('OVERVIEW_SHOW_ALL_ORDERS', '(show all orders)');
define('OVERVIEW_PREVIOUS_ORDERS', 'Previous Orders');

define('MY_ACCOUNT_TITLE', 'My Account');
define('MY_ACCOUNT_INFORMATION', 'View or change my account information.');
define('MY_ACCOUNT_ADDRESS_BOOK', 'View or change entries in my address book.');
define('MY_ACCOUNT_PASSWORD', 'Change my account password.');

define('MY_ORDERS_TITLE', 'My Orders');
define('MY_ORDERS_VIEW', 'View the orders I have made.');

define('EMAIL_NOTIFICATIONS_TITLE', 'E-Mail Notifications');
define('EMAIL_NOTIFICATIONS_NEWSLETTERS', 'Subscribe or unsubscribe from newsletters.');
define('EMAIL_NOTIFICATIONS_PRODUCTS', 'View or change my product notification list.');[/CODE]

if you are worried about bots or some automated system you put a graphics verification in your page. You use "PHP Contact form with image verification"

When you build a form in your web page, you are susceptible to being spamed by automated systems. In order to make sure that the one who completes the form is human, you can use the system with image verification. (from hotscripts)

commented: Most of this post is irrelevant and directly copied from hotscripts.com. It shows that the post has no regard to intelligently add to a solved form, but only indicates that the user wishes to increase his/her post number. +0

SIGH

this is a simple explanation on char *str[100];

To declare an array of pointers to characters.

char *str1[100];

char *letters[100];

char message = "the quick brown fox";
char *message = "the quick brown fox";

What is a pointer?
Pointer = is a numeric variable with a value that is the address of another variable.

Meaning every letter or character has a single pointer and single value on that statement.

BWAHAHAHAHAHAHA!!!

ok to cut it short THERE IS NO LUCK in Programming.
if the code works!
there is a hidden explanation on that.

Thank you David Sinkula nice to meet you. :-)

Next time don't say the code of others are garbage...

IF YOU CONSIDER THAT IT WAS ONLY A MATTER OF LUCK! THEN YOU DO NOT HAVE THE RIGHT TO BE IN THE COMPUTER WORLD BECAUSE ANY ANALYTICAL WORKS DOESN'T DEPEND ON LUCK!

thank you have a nice day.

commented: You're clearly a troll, and dumber than a box of rocks as well. Luck counts for 0% in programming -3
commented: You're an idiot. -4

do you know passing a multidimensional array to a function using a pointer?
you give me an example and you will see that that is not a luck!

meaning it is not a garbage.

In computer there is no such thing as LUCK! if the code is working. have you try what I post? Is it working or not? Are you the compiler of that code?

  [CODE=c]
   *(array) == array[0]

  *(array+1) == array[1]

  *(array+2) == array[2]

  *(array+n == array[n][/CODE]

can you explain that why they are equal.

are you familiar with Pointers to Pionters?

** the two asterisk is pointers to pointers

BWAHAHAHAHAHAHA!

Hi Dave Sinkula?

May be you do not know that.
[CODE=C]
(array) == array[0]
(array+1) == array[1]
(array+2) == array[2]
(array+n == array[n]
[/CODE]

putting * in str[100] is not a luck.

What's wrong with that. BWAHAHAHAHAHAHA!

Try that an you will see...

TAKE NOTE!!!!! An array name without brackets is a pointer to the array's first element.

Meaning an array name s a pointer. BWAHAHAHAHAHA!!!

POOR DAVE BWAHAHAHAHAHA!

how come it is declaring no where? BWAHAHAHAHAHA!!!

[B]it is just an array of pointers to characters. [/B]

char *str[100];

Am I right? BWAHAHAHAHAHAHA!

commented: It is human to err, but stupid to maintain the error. -1

it is not a garbage run it.
both codes are working.

the difference in first code there is int main() return is (0) in the second code I remove the return value int in main and put return 0;

and some correction on his pointers.

are you called that as a garbage?

next time friend you think before you write. :-)

commented: ignorance is not a bliss, but rather an embarrasment -1
commented: Next time - you think before you write and show some respect dufus. +0

this one will solve your problem.

[CODE=c]

include <stdio.h>

int main()
{
char str1[100];
char
str2[100];

printf("Enter 1st string\n");
scanf("%s",&str1);

printf("Enter 2nd string\n");
scanf("%s",&str2);

printf("1st string is %s\n", str1);
printf("2nd string is %s\n", str2);

return (0);
}[/CODE]

This one also will solved your problem.
[CODE=c]

include <stdio.h>

main()
{
char str1[100];
char
str2[100];

printf("Enter 1st string\n");
scanf("%s",&str1);

printf("Enter 2nd string\n");
scanf("%s",&str2);

printf("1st string is %s\n", str1);
printf("2nd string is %s\n", str2);

return 0;
}[/CODE]

die — Equivalent to exit()

//exit program normally

exit;
exit();
exit(0);

//exit with an error code
exit(1);
exit(0376); //octal

I haven't try die(1) or die(0376) try it! :-)

str ='T'; // behaviour is undefined
because there is no variable type in front.
[code=c]
char
str = "T";
[/code]

i will give you my code:
and try to adopt it on your code

[code]

include <stdio.h>

void clear_kb(void);

main ()
{
int age;
char name [20];
/ prompt for user's age. /
puts("Enter your age.");
scanf("%d", &age);

/* clear stdin of any extra characters. */

clear_kb();

/ now prompt for user's name. /
puts("Enter your first name.");
scanf("%s", name);

/ Display the data. /

printf("your age is %d,\n", age);
printf("your name is %s.\n", name);
return 0;
}

void clear_kb(void)
{ char junk[80];
gets(junk);
}

[/code]

commented: Well said. +11
commented: Next time, try to read a thread before replying -2
commented: get this shit out of here -1
commented: gets() is not an option -1