Search:

Type: Posts; User: anarcho

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    2,069

    a little c language problem...

    the following program has an output of:

    2 4 16

    how can i make it appear like this:

    2 4 16 256

    this is the program:
  2. Replies
    10
    Views
    3,339

    Binary to Decimal help...

    i cant figure out how i should write a c program regarding this problem...

    when i enter a binary number,say 101101, the result would be the decimal equivalent of 45...

    it goes like this,

    1 ...
  3. well thanks for posting people... btw,our...

    well thanks for posting people...
    btw,our instructor told us we won't use loop,if and then,and the likes...
    only %,/,-
    thanks to all...
  4. thanks steve cao,it's working here's my...

    thanks steve cao,it's working

    here's my program

    # include <stdio.h>
    main()
    {
    int num, x;
    clrscr();
    printf("Enter a number");
  5. please help me create a program using modulus%

    that when i enter a number ,for example 575,
    the results would be like this...

    500: 1
    100: 0
    50: 1
    20: 1
    10: 0
    5: 5
    1: 0
Results 1 to 5 of 5