Search:

Type: Posts; User: Ninjabelly

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    8,531

    okay i tried: void printAttitude(int a) {...

    okay i tried:


    void printAttitude(int a)
    {
    if (a==1)
    printf("disagree\n");
    if (a==2)
    printf("no opinion\n");
    if (a==3)
  2. Replies
    3
    Views
    8,531

    Parameter return question

    Here is the question:


    Write the definition of a function printAttitude , which has an int parameter and returns nothing. The function prints a message to standard output depending on the...
  3. Replies
    1
    Views
    2,668

    Array problem

    Write the definition of a function printArray , which has two parameters. The first parameter is an array of int s and the second is an int , the number of elements in the array. The function does...
  4. Replies
    10
    Views
    1,240

    Oh! that make's sense! Thank you!

    Oh! that make's sense! Thank you!
  5. Replies
    10
    Views
    1,240

    print 9 numbers instead.

    print 9 numbers instead.
  6. Replies
    10
    Views
    1,240

    Okay, thanks, i tried to change it to 9, but...

    Okay, thanks,
    i tried to change it to 9, but that didn't work either, do i have to change more of the code than just that line? sorry, i just dont understand arrays and files very much and this was...
  7. Replies
    10
    Views
    1,240

    okay here is what i have now, ill correct the *'s...

    okay here is what i have now, ill correct the *'s next, but when i execute this code:



    #include<stdio.h>
    #include <stdlib.h>


    //function proto types
    int findLargest(int *array);
  8. Replies
    10
    Views
    1,240

    here i what i have so far: #include...

    here i what i have so far:


    #include <stdio.h>


    int Largest(int*[]);
    int Average(int*[]);
    int Sorted(int*[]);
  9. Replies
    10
    Views
    1,240

    Help, Arrays, indirection, etc.

    Hi i have a programming assignment with the following directions:
    Develop a program to meet the following requirements:

    1. Must use at least two functions, not including Main

    2. Must use...
  10. Sorry, i didn't know. But no i didn't copy the...

    Sorry, i didn't know. But no i didn't copy the code, i'm in the same class as him and we had to create a txt file that the first part of the code opens(our professor gave us that), so mine not...
  11. Does anyone know why the txt file failed to open?...

    Does anyone know why the txt file failed to open? i have a similar assignment.
Results 1 to 11 of 11