im thinking it should be taking the values inserted by the user then printing them into that function correct
Type: Posts; User: xxxixpats
im thinking it should be taking the values inserted by the user then printing them into that function correct
#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
void GetValues(int x[], int *pN);
int FindBig(int x[], int n);
int FindSml(int x[], int n);
float FindAvg(int x[], int n);
void main()
{
im still gettiing the same error
how would i set I specific to something. Sorry I'm new to programing
I'm not sure whats going on im getting a run time error and im not really sure how to fix it. I have included a print screen image of the the error in the attachments.
#define...
Okay thank You Im getting a run time error, but i gtg to bed thank you for the help
oops, Im not sure how I would word it so it only prints the statment as many times as the user inputs
its taking the value given by the user setting it to one
then printing the statement...
it should only be prints the second print statement as many times as the users number of values
#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
void GetValues(int x[], int *pN);
int FindBig(int x[], int n);
int FindSml(int x[], int n);
float FindAvg(int x[], int n);
void main()
{
Okay I got all the Errors away thank you, but Now it prints this code continuously. Its supposed to stop after it prints the number of values inputed
for(*pN=1; *pN<=100; *pN++)
{...
I dont understand I wrote the functions here:
myBig = x[0];
mySml = x[0];
if(x[i]>myBig)
{
myBig = x[i];
return myBig;
}
BTW Thank you for all your help, im new to programing and don't really understand arrays that well.
#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
void GetValues(int x[], int *pN);
int...
I fixed Something Now I'm Only Getting 1 Error
#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
void GetValues(int x[], int *pN);
int FindBig(int x[], int n);
int FindSml(int x[], int...
I looked at the link and i'm not sure if I fixed it right. I put i into the scanf which should tell the PC to scan the Values.
#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
void...
I fixed it but Know im getting a whole new set of errors
New Code
#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
void GetValues(int x[], int *pN);
int FindBig(int x[], int n);
int...
Can Anyone Help Me Figure Out What I'm Doing Wrong. If you cost post the correction or and example I would appreciate it greatly. I have posted all the criteria to the assignment below.
Assignment...
okay TY
well this is my first ever program class, so im kind of confused with what im supposed to write...
Arrays confuse me, so i don't really know what im supposed to do.
I supplied the actual...
Here is all the Error Messages I am getting
Error 5 error LNK1120: 4 unresolved externals
Error 1 error LNK2019: unresolved external symbol "float __cdecl FindAvg(int * const,int)"...
I don't know why this isn't working PLZ need help.
Assignment:
Write a program which prompts the user to enter the number of values to process
(a maximum of 100). Next prompt, and allow the...
I tried that It wont work.
Can anyone help me write this program in C. Im drawing a blank right now and cant figure out what Im Supposed to do. I know that the User is supposed to input a number of values then input each value...
Can anyone help me write this program in C. Im drawing a blank right now and cant figure out what Im Supposed to do. I know that the User is supposed to input a number of values then input each...