does anyone know what is wrong with this?
int iteration;
int i,j;
double sum;
for (iteration=0;iteration<20;iteration++)
{
Type: Posts; User: flamehead144
does anyone know what is wrong with this?
int iteration;
int i,j;
double sum;
for (iteration=0;iteration<20;iteration++)
{
this is pretty stupid, but it bothers me. when i a.out, this is what i get:
Here is Homework 7:
Month 0: x[] = { 0.200 0.300 0.500} <-------
Month 1: x[] = { 0.270 0.380 0.350 }...
lol... ty so much.
so this is what i have to do:
In order to find roots for f(x) = x*x*x - x*x- 9.0*x + 8.9 in the interval
-1.0 <= x <= 5.0, create a table for x and f(x) from x=-1.0 to x=5.0 with
an increment...
ok i changed the infile = fopen so the program searches for the file and when i compile and a.out, it lists:
John Everhart
75900
Paul Evans
95700
Juan Hernandez
45100
Rwanda Jackson
88500...
no, the sales.dat is in a different directory. the file i'm creating is in my home directory and to go to the sales.dat i have to type cd ../public and type more sales.dat to view it, which is what...
would it look something like this?
#include <stdio.h>
main()
{
FILE *infile;
char text[81];
int count=0;
int tsales;
ok i was given an assignment but i have no clue how to do this. can someone please explain to me what i'm supposed to do cause i'm really lost. this is the prompt.
The sales commission for each...