Search:

Type: Posts; User: Magmadragoon

Search: Search took 0.00 seconds.

  1. Replies
    13
    Views
    16,018

    Almost near completion

    The instructor had us do the assignment with the multiple files. Just still can't figure out how to mark each called number with an asterisk on the card.
  2. Replies
    13
    Views
    16,018

    When the random number value is the same as the...

    When the random number value is the same as the one already on the Bingo card the number on the card doesn't change.
  3. Replies
    13
    Views
    16,018

    I see what I was doing I was initially putting...

    I see what I was doing I was initially putting the function MyRandom in the main function causing the error. Then for assigning Randomn I was calling low, high instead of setting the bounds for the...
  4. Replies
    13
    Views
    16,018

    I have no errors just when I run the program the...

    I have no errors just when I run the program the random number is over a thousand when I want it to be between 1 and 75
  5. Replies
    13
    Views
    16,018

    I think the problem is with randomn =...

    I think the problem is with randomn = myRandom(low, high);
  6. Replies
    13
    Views
    16,018

    Did more work on it

    With putting the random number generator I had linking errors due to code from card.c calling myRandom. So I just kept the way I had before. Still trying to find a way so I can call a random number,...
  7. Replies
    13
    Views
    16,018

    With that code placed in the main I get errors of...

    With that code placed in the main I get errors of invalid operands to binary %
  8. Replies
    13
    Views
    16,018

    Having problem with a program for Bingo

    Currently having problems with random number generator for the bingo program. It only gets one random number and it doesn't change each time it goes through the while loop. The if function doesn't...
  9. Thanks nonoob and CommonTater

    Thanks nonoob and CommonTater
  10. New code

    Rewrote the program, now I keep getting invalid lvalue in assignment on line 162 and 163. Also get a error that says 'for' loop initial declaration used outside of C99 mode.


    #include <stdio.h>...
  11. Trying to figure what I'm doing wrong in this program

    I trying to do a program that allows you to enter 5 numbers in an array. Then it takes the values of the array calculates the sum, average, and median of the values. Then shows the values you enter...
  12. Replies
    5
    Views
    1,095

    Try putting in a for statement for triangle part...

    Try putting in a for statement for triangle part now the square is affected by the triangle function.


    // Program is to let users enter a number that is odd between 5 and 60. The triangle is 1/2...
  13. Replies
    5
    Views
    1,095

    Is there a way this can be converted to print out...

    Is there a way this can be converted to print out a triangle


    int main()

    {
    int number, i, width, height;

    printf("Insert an odd number (4-60):\n");
    scanf("%d", &number);
  14. Replies
    5
    Views
    1,095

    Another program working on

    I'm trying to work on this program in choosing an odd number between 5 and 60 and showing a square with a triangle on top of it. Currently getting linker error from the function


    // Program is...
  15. Thanks for the help

    Thanks for the help
  16. Finally figured it out // Program is to...

    Finally figured it out


    // Program is to convert number scores into Grade Scores using if and elseif statements


    #include <stdio.h>
    #include <conio.h>
  17. I think the more and more I work on it I get...

    I think the more and more I work on it I get confused. Score is returned in the int getScore(void). Then when it goes through main that function score becomes the value of the getscore(). Should I...
  18. Now I get kind of the same results as before the...

    Now I get kind of the same results as before the integers are out of scope and it never calls the void Show Grade Function




    // Program is to convert number scores into Grade Scores using if...
  19. The program compiles and runs but doesn't give...

    The program compiles and runs but doesn't give the data I want whenever I enter any data it comes up A2686752





    // Program is to convert number scores into Grade Scores using if and elseif...
  20. Now getting errors with too few arguements in...

    Now getting errors with too few arguements in function convertGrade and showGrade



    // Program is to convert number scores into Grade Scores using if and elseif statements


    #include...
  21. Having problem with a program for Calculating Grades

    I've been working on this program and wondering why I can't get it to work. Any insight on the issue can be helpful.


    // Program is to convert number scores into Grade Scores using if and elseif...
Results 1 to 21 of 21