its hard i am c retarded and i is my counter for the for loop right??
Type: Posts; User: clezzie
its hard i am c retarded and i is my counter for the for loop right??
so how would i have the for counter loop put each value into the array??
damn this ........ is not click for me...would it be easier to have some type of restrction like say 1-10 then check and point to the spot i want the number to go into the array??
i believe you tabstop..lol but can you help me then?? how would i scan each number into the assigned spots of the array?? i thought that was the correct way to do it
ohhhhhh snap i didnt notice i was missing the scanf...so your telling me i cant point to a whole array but just to a slot??? and total resistance in parallel is...
ohhh i did not notice that its repeatative cuz of the if else...i will change that, and yes i this to read the resistance and do the calulations, its supposed to read into the pointer n the pointer...
ok guys wrote up some code but its not doing what i need it to do can i get help now?? and i use miracle c the compiler sucksssssssssss
#include <stdio.h>
#include <stdlib.h>
#include <math.h>...
yea sum wut but i dont kno how i would have the space allocation come from a user input
ok i understand i just need to kno do i start off using 1 dimensional arrays?? like how would i get a user input say 5 then allocate 5 spaces for 5 interger numbers??
so heres the deal i have no code right now but i have sort of an idea i just need guidance...we are learning arrays and pointers now so how would i start this?? heres the homework
Design a...
is there a way i can do it wit out arrays?? we havent learned that yet
can any 1 help me wit my output??
heres the new code
int main()
{
//Define Varibles int and floats
int gone,gtwo,gthree,gfour,gfive,gsix,gseven,geight,gnine,gten,counter,avg,sum;
ok im having problems again this is wut the hw says: Design a program in C which will compute the total grade as well as the average grade received by a student for 10 quizzes. Each quiz grade is out...
makes total sense now thanks,im going 2 rewrite n get bck 2 u
i dont think my prof wants arrays but i think it would be best if i use it also im tryin 2 say if the number enter is negative then dont do the else...is there a general way i can say that??
Ok so heres the deal. I need the program to print in two columns, one with the number of quizzes two wit the grade from each quiz, and then at the end i need the average to print, here is the code so...
tabstop theres no formula i never ever learned this ............i went to my ta and he said this ........ was hard
ok i think i understand the Newton Raphson...correct me if im wrong...so i will take an initial guess and plug it in and it will keep looping until i get to the orignal answer. my thing is how would...
so your telling me once i learn that my program will be a while loop??
Find on the next page an outline for a C program that solves two nonlinear equations
f1(x,y) = 0
f2(x,y) = 0
for x and y using the Newton-Raphson method.
Complete this program and obtain...
it did work i have dev c++ but i dont know how to compile c programs in it...i would write the code save it as a c file but it wont compile or anything....and i have to put getchar at the end of the...
i fixed the ch to char it ran and its good now thanks
there are no compile errors it just wont compile....is there a free c compiler out there?? thats better then miracle c?
hey guys can some one look over my code....it wont compile im using miracle c...can you guys tell me if its the code or the compiler....thanks
#include <stdio.h>
#include <math.h>
int...