User Profile

Collapse

Profile Sidebar

Collapse
tricubix
tricubix
Last Activity: Oct 1 '07, 01:08 PM
Joined: Sep 25 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • tricubix
    replied to Nested Loops
    in C
    hi savage, thanks for the reply.

    Ok, for now if i use printf, what i need to put in the printf command?? is that number, line or column?...
    See more | Go to post

    Leave a comment:


  • tricubix
    started a topic Nested Loops
    in C

    Nested Loops

    Hi friends, newbie here, appreciate your help to convert this program into C languages. I'm really-really beginner into C world

    [CODE=cpp]#include <iostream.h>

    #define MAX 10


    int main()
    {
    int number, line, column;

    for( line = 1; line <= MAX; line++ )
    {
    for( column = MAX; column >= line; column-- )
    cout << ' ';
    ...
    See more | Go to post
    Last edited by Ganon11; Oct 1 '07, 01:22 PM. Reason: Please use the [CODE] tags provided.

  • tricubix
    replied to do..while statement
    in C
    what can i say that... 4 power to the left no.

    4 power to 0 (left no) equal to 1
    4 power to 1 (left no) equal to 4
    4 power to 2 (left no) equal to 16
    bla..bla..bla.. .ect..

    i hope you can understand that..TQ...
    See more | Go to post

    Leave a comment:


  • tricubix
    replied to do..while statement
    in C
    hi ilikepython, your note look great, but i still need your favour. As you provide me the coding i can't see what i have to put under the printf?? Really need your help as i really2 confuse right now. TQ in advanced...
    See more | Go to post

    Leave a comment:


  • tricubix
    started a topic do..while statement
    in C

    do..while statement

    Hi friends, I'm a newbie into C/C++ world. So i hope you can help me with this question. I need to do a program using do..while statement in C languages to produce the following output


    0 1
    1 4
    2 16
    3 64
    4 256
    5 1024
    6 4096

    i have done something with this program and i only manage to get the following output

    0 0
    1 1
    2 4
    ...
    See more | Go to post
    Last edited by sicarie; Sep 27 '07, 01:00 PM. Reason: Code tags

  • tricubix
    started a topic Nested Loops, generate pyramids of digits
    in C

    Nested Loops, generate pyramids of digits

    Hi friends,

    Need your help. I want to generate the following pyramids but get confuse as i'm just a newbie for C Programming

    Here is the pyramid

    1
    232
    34543
    4567654
    567898765

    i hope that i can get the statement in C Programming...
    Looking forward for all of your favourable reply..

    Regards//amir @ ...
    See more | Go to post
No activity results to display
Show More
Working...