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.
Type: Posts; User: Magmadragoon
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.
When the random number value is the same as the one already on the Bingo card the number on the card doesn't change.
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...
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
I think the problem is with randomn = myRandom(low, high);
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,...
With that code placed in the main I get errors of invalid operands to binary %
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...
Thanks nonoob and CommonTater
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>...
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...
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...
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);
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...
Thanks for the help
Finally figured it out
// Program is to convert number scores into Grade Scores using if and elseif statements
#include <stdio.h>
#include <conio.h>
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...
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...
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...
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...
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...