this is what i now have.
although the aperture does not work,
it comes with a segmentation fault.
is what im doing correct or am i on the wrong track.
atm im not testing the aperture,
just getting the input.
Code:
#include <stdio.h>
#include <string.h>
int main(int argc, char ** argv)
{
// Mainline Variable Declarations
FILE * output = stdout;
FILE * input = stdin;
float exposuretime;
float aperture;
char aperturef;
fprintf(output,"please enter exposure time: ");
fscanf(input,"%f",&exposuretime);
fprintf(output,"please enter aperture value: ");
fscanf(input,"%f",&aperture);
fscanf(input,"%s",&aperturef);
fprintf(output,"the exposure time is: %f\n ",exposuretime);
fprintf(output,"the aperture value is %s%f\n ",aperturef, aperture);
}