Code:
#include <stdio.h>
#include <math.h>
int main(void)
{
double volts, init, ending, increment;
fputs("What is the voltage?", stdout);
scanf("%lf", &volts);
fputs("What is the initial resistance?", stdout);
scanf("%lf", &init);
fputs("What is the ending resistance?", stdout);
scanf("%lf", &ending);
fputs("What is the increment resistance?", stdout);
scanf("%lf", &increment);
printf("case\t" "voltage\t" "Initial Resistance\t" "Ending resistance\t" "Increment Resistance\n"
"1 \t" "5 \t" "1.001 \t" "1.010 \t" ".001 \n");
return 0;
}
kinda like this? i added spaces after the numbers so that they'd line up. i guess that's a big chunk outa my assignment... but now i need to figure out what equations i'm supposed to implement for the variables that i'm ignoring...