No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I have to ask the user a question on what number they would like to search for in the list. The code compiles fine but when I run it, nothing shows up for the user to ask a question. here is the code: [code]#include<stdio.h> #include<stdlib.h> struct Node { int data; … |
|
Im just trying to read a file to see if i did the code correctly but I keep getting this error. Any help is appreciated. [CODE]#include<stdio.h> #include<stdlib.h> #include<string.h> struct Node { char name[15]; char title[15]; int year; struct Node *next; struct Node *prev; }; typedef struct Node* Box; Box build_node(FILE … |
|
I need to find the smallest index in an array, my math must be wrong because i am finding the smallest number not the smallest index. can someone check my smallestIndex method and give me some help? for example: if i put in these four numbers, 2 3 0 1, … |
|
so this program takes an input file and computes the class average and lists the students who are below average and the students with the highest score. Heres what im having trouble with: Having trouble getting the proper for loop to calculate sum, I've tried many different ways but its … |