Search:

Type: Posts; User: umair_crash

Search: Search took 0.01 seconds.

  1. Replies
    12
    Views
    2,321

    you are really confusing me

    you are really confusing me
  2. Replies
    12
    Views
    2,321

    1. It is indented except for main() 2. include...

    1. It is indented except for main()
    2. include the stdio.h and stdlib.h
    3.HUH??
    4.we learnt that the centre of the screen is at x=40, and 1 position is removed for every star. That is 2 for every...
  3. Replies
    12
    Views
    2,321

    Here is my version. main(){ int stars,...

    Here is my version.

    main(){
    int stars, rows, space;
    for(rows=1; rows<=10; rows++){
    for(space=40; space>0; space-=2)
    printf("\xFF");
    for(stars=1; stars<=rows; stars+=2)
    printf("*");...
  4. Replies
    12
    Views
    2,321

    A nested loop as specified. the outer manages...

    A nested loop as specified.
    the outer manages the space between column one and the asterixs and the inner manages the stars.

    I get


    *

    ***
  5. Replies
    12
    Views
    2,321

    Problem in Nested Loops

    I know this kind of seems easy at first, but the answer is simply avoiding me.
    I ave to make a DOS based console application that gives the following output, centre of screen.
    PLEASE HELP!!...
Results 1 to 5 of 5