Search:

Type: Posts; User: TyrioN

Search: Search took 0.01 seconds.

  1. Thread: getchar

    by TyrioN
    Replies
    5
    Views
    1,719

    Thanks

    Thanks Guys you are a lifesavers
  2. Thread: getchar

    by TyrioN
    Replies
    5
    Views
    1,719

    can fgets() stop chars from being entered i...

    can fgets() stop chars from being entered

    i need for only numbers to be entered

    Thats why i changed from scanf to get char
  3. Thread: getchar

    by TyrioN
    Replies
    5
    Views
    1,719

    getchar

    Hello

    im trying to write a program that is required to use the getchar method.

    the variables (there is two) is of type int and float.

    is the coding for it

    int a = (getchar() != '\n');
  4. Replies
    2
    Views
    963

    Maths Programing

    Hello

    Im trying to write a programe that requies something to the power os something. for example

    (1+x/100)^n

    in java there is a class called Math.pow(a,x)
    which does a^x
    Is there such a...
  5. Replies
    1
    Views
    5,264

    Float Decimal Places

    Hello All.


    Im new to C and need some help.
    How do u set a float point variable to print to tqo decimal places.
    is it:

    printf("Bla Bla Bla %f, number);
    do i put say .2%f
Results 1 to 5 of 5