Search:

Type: Posts; User: jian

Search: Search took 0.00 seconds.

  1. Thread: Passing In Value

    by jian
    Replies
    4
    Views
    964

    Thank you :-)

    Thank you :-)
  2. Thread: Passing In Value

    by jian
    Replies
    4
    Views
    964

    Passing In Value

    I'm trying to pass in a value of 3 into the function. Pls help.

    http://img14.imageshack.us/img14/1778/83284975.png

    Uploaded with ImageShack.us



    #include<stdio.h>
  3. Thread: Recursion

    by jian
    Replies
    5
    Views
    1,115

    I got it now, all I have to do is change the...

    I got it now, all I have to do is change the numbers to 'n'. Somehow I got confused along the way.
  4. Thread: Recursion

    by jian
    Replies
    5
    Views
    1,115

    Recursion

    #include<stdio.h>

    int Fibonacci(int 2)

    {
    if(1==0)

    return 0;

    else if(1==1)
  5. Replies
    6
    Views
    1,760

    Thank you. I manage to solve my problem.

    Thank you. I manage to solve my problem.
  6. Replies
    6
    Views
    1,760

    Reading From a text file

    My program has runtime error and I do not know what is the problem, below are my text file followed by my coding:

    student.txt:

    10wad00800|kong meng|3.80
    10wad00900|jen sen|3.20


    ...
  7. Thank you all. Below is the continuation of my...

    Thank you all. Below is the continuation of my program:



    small=array[0][0];
    large=array[0][0];

    for(i=0;i<2;i++)
    {
    for(j=0;j<4;j++)
  8. I can't figure the if statements out.

    I can't figure the if statements out.
  9. 2 dimensional array and comparing largest and smallest

    Hi I need help, below are the questions but I can't think of the third one, please help:


    Declare a two-dimentional array that contains 2 rows and 4 columns.
    Obtain input from the user and store...
  10. Replies
    2
    Views
    1,057

    Thank you, I have just change my codes to: ...

    Thank you, I have just change my codes to:



    #include<stdio.h>

    int displayMenu();
    void addition();
    void subtraction();
    void looping(int);
  11. Replies
    2
    Views
    1,057

    Can't run, dunno what is the problem

    Hi I am just a beginner in programming. Please help as I can't run the program.



    #include<stdio.h>

    void displayMenu();
    void addition();
    void looping();
  12. Replies
    2
    Views
    684

    Modifiying something

    How do I modify this program below to allow me to enter an employee name and it will show their details in the output.

    #include<stdio.h>
    void main()
    {
    int i;

    struct Employee{
    char...
  13. Replies
    7
    Views
    1,188

    I got what I wanted! Yay! #include...

    I got what I wanted! Yay!

    #include<stdio.h>
    void main()

    {
    struct {
    int hours;
    int minutes;
  14. Replies
    7
    Views
    1,188

    #include void main() { struct {...

    #include<stdio.h>
    void main()

    {
    struct {
    int hours;
    int minutes;

    }TIME;
  15. Replies
    7
    Views
    1,188

    I have no reference to help me.

    I have no reference to help me.
  16. Replies
    7
    Views
    1,188

    Struction problem.

    #include<stdio.h>
    void main()

    {
    struct {
    int hours;
    int minutes;

    }TIME;
Results 1 to 16 of 18