Search:

Type: Posts; User: archriku

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    14
    Views
    7,595

    oh but if like that then my code don't have...

    oh but if like that then my code don't have array.. using array is one of the requirement of the question..

    Q:* the accountant is able to type in the entire daily sales ammount into the program
    ...
  2. Replies
    14
    Views
    7,595

    so where i modified the code?i dont really...

    so where i modified the code?i dont really understand by sentence.. can u point where should i modified?
  3. Replies
    14
    Views
    7,595

    but then this will come out in exam said by my...

    but then this will come out in exam said by my teacher..


    *formula = average = day 1 sales+......+ day n sales / n
  4. Replies
    14
    Views
    7,595

    unknown size array

    #include<stdio.h>

    main(void)
    {
    int days = 0,count;
    float x[unknown size], average, sum;
    printf("how many days?");
    scanf("%d", &days);

    for ( count = 0; count < days; count++) {
  5. Thread: modified

    by archriku
    Replies
    3
    Views
    1,511

    modified

    how do i change the fuction below using pointer method to return back the value of x and y?


    void exchange(int x,int y)
    {
    int temp;
    temp = x;
    x = y;
    y = temp;
    return ;
  6. Replies
    13
    Views
    1,428

    oh okey thx i get it already=]

    oh okey thx i get it already=]
  7. Thread: Question

    by archriku
    Replies
    10
    Views
    1,147

    can u help me with...

    can u help me with swapping?http://cboard.cprogramming.com/c-programming/115644-printing-backward.html#post860497 thx
  8. Replies
    13
    Views
    1,428

    # include void swap(int i,int j) {...

    #
    include<stdio.h>
    void swap(int i,int j)
    {
    int t; //eg. t = number[0] = 3
    t = i; number[0] = number [4] = 1
    i = j; number[4] = t = 3 //
    j = t;
    }
  9. Thread: Question

    by archriku
    Replies
    10
    Views
    1,147

    if this? (false || true) && false

    if this? (false || true) && false
  10. Replies
    13
    Views
    1,428

    yes i haven learn the swap fuction.. so do i...

    yes i haven learn the swap fuction.. so do i really need to use swap?this question maybe come out in exam.. i really need to know how to do it.. pls help me
  11. Thread: Question

    by archriku
    Replies
    10
    Views
    1,147

    can u show me an example of return a false value?

    can u show me an example of return a false value?
  12. Replies
    13
    Views
    1,428

    #include void swap(int *i,int*j) {...

    #include<stdio.h>
    void swap(int *i,int*j)
    {
    int t;
    t = i;
    i = j;
    j = t;
    }
  13. Thread: Question

    by archriku
    Replies
    10
    Views
    1,147

    i dont have the correct answer.. i choose Q1 B...

    i dont have the correct answer.. i choose Q1 B Q2a.. plz explain Q1 for me thx
  14. Replies
    13
    Views
    1,428

    how to i swap the value?i cant change the int num

    how to i swap the value?i cant change the int num
  15. Replies
    13
    Views
    1,428

    yes i know... but i have no idea how the code...

    yes i know... but i have no idea how the code already... u know how ?
  16. Thread: Question

    by archriku
    Replies
    10
    Views
    1,147

    Question

    Q1.Which 1 will return a false value?

    a) true && true || false
    b) false || true
    c) (false || true) && true
    d) (false || true) || true


    Q2.what is a post test loop?
  17. Replies
    13
    Views
    1,428

    printing backward

    i given a question:

    write a sample code to reverse the content to 12543


    {
    int num[5] = {3,4,6,2,1};

    ADD YOUR SAMPLE CODE HERE
  18. Thread: array

    by archriku
    Replies
    8
    Views
    1,964

    ic.. so how do i set the %29[^\n] to infinite...

    ic.. so how do i set the %29[^\n] to infinite length?
  19. Thread: array

    by archriku
    Replies
    8
    Views
    1,964

    #include #include void...

    #include<stdio.h>
    #include<string.h>

    void readinput(int i);
    void writeoutput(int i);

    typedef struct {
    char name[80];
    char matrix[80];
    int age;
  20. Thread: array

    by archriku
    Replies
    8
    Views
    1,964

    thx Change the format string of your "%s" to...

    thx Change the format string of your "%s" to "%29[^\n] <-- this thing works..

    btw can u tell me why i cant put %s? izzit %s a string?
  21. Thread: array

    by archriku
    Replies
    8
    Views
    1,964

    #include void readinput(int i); void...

    #include<stdio.h>

    void readinput(int i);
    void writeoutput(int i);

    typedef struct {
    char matrix[30];
    char name[30];
    int age;
    char sex[4];
  22. Thread: array

    by archriku
    Replies
    8
    Views
    1,964

    array

    quick question something about array..

    when i put name[30].. what it actually means?the 30.. izzit i can have 31 character inside it?.. if so when i type name like name: john ian something then...
  23. Replies
    23
    Views
    4,763

    -other tread-

    -other tread-
  24. Replies
    23
    Views
    4,763

    okey thx alot i found out my problem d.. thx...

    okey thx alot i found out my problem d.. thx bracket wasted my time=[
  25. Replies
    23
    Views
    4,763

    plz state out my problem can?i cant find it thats...

    plz state out my problem can?i cant find it thats y i post it up here..
Results 1 to 25 of 77
Page 1 of 4 1 2 3 4