Hi shingo43,

To print a number (as you already know):

int number = 10;

printf ( "Number is %d\n"m number );

For each of the others:

%c One character

%s One string.

%d One decimal number.

%u One unsigned decimal number.

%x One Hexadecimal number.

%f One floating-point number.

Paul

To print a number (as you already know):

int number = 10;

printf ( "Number is %d\n"m number );

For each of the others:

%c One character

%s One string.

%d One decimal number.

%u One unsigned decimal number.

%x One Hexadecimal number.

%f One floating-point number.

Paul