Very quick program help

I want to write a program that asks for my name and then prints out the first three letters of my name in a diagonal downward line like:

L
F
C

How can I do this?

Thanks for any help given.

Comments

  • The "LFC" should be diagonally...sorry.

  • : I want to write a program that asks for my name and then prints out the first three letters of my name in a diagonal downward line like:
    :
    : L
    : F
    : C
    :
    : How can I do this?
    :
    : Thanks for any help given.
    :
    :
    [code]
    char strYourName [32] = "Whatever";
    int chAsciiBlank = ' ';

    printf ("%c", strYourName [0]);
    printf ("%c%c", chAsciiBlank, strYourName [1]);
    printf ("%c%c%c", chAsciiBlank, chAsciiBlank, strYourName [2]);
    [/code]
  • Hi,

    I need that in 68000 language (or anything nearest).
  • : Hi,
    :
    : I need that in 68000 language (or anything nearest).
    :
    [blue]Ooops! I did it in "C"... that what's happen when I go to get some coffee in the middle of the post and then I forget about the meaning... Anyhow, did you try the 68000 board?[/blue]
  • : : I would like to knw what codes (pls provide if possible)to use for programming an RS232 chip to combine with a microprocessor inorder to monitor the acceleration, braking, roughness of road and connering of a car. Also how would the results be displayed.

    Thanks.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories