Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. storygeek

    not calculating, not making output file, not correcting

    #include <stdio.h> #include <stdlib.h> #include <math.h> double calcdown (double n1, double n2); double calcfinanced (double f1,double f2); double calcmonthly (double y1); double in (double g1,double g2); void write3val (double h1, double h2, double h3, double h4, double h5, double h6, double...
  2. storygeek

    A blank program

    #include <stdio.h> #include <math.h> main() { float x,/*current value input*/ max, min, sum, mean, sum_of_squares, variance; int count; if (scanf("%f", &x) == EOF ) /* EMPTY? */ printf( "0 data items read\n"); else { max = min = sum = x...
  3. storygeek

    A blank program

    Situation: I typed down a code that's supposed to calculate statistics of the population with given values. There's no errors but when I run it I get a blank empty screen. I typed in the values but it still wouldn't work. Vertically and horizonally. And Horizonally split up with commas...
  4. storygeek

    using division

    Thanks salem and lionelhill. I didn't know that the c compiler recognize didn't () as a distributive parenthesis so I had to put a * to times it.
  5. storygeek

    using division

    /* tax homework*/ #include <stdio.h> main() { float income, net, totalco, avgp, totp, tax; int count, ans, id; printf ("Press 1 to run taxpayer anaylsis or any other key to stop program"); scanf ("%d", &ans); while (ans == 1) { printf ("Taxpayer Id?"); scanf ("%d", &id); printf ("Taxpayer's...

Part and Inventory Search

Back
Top