Download View/Open - Calhoun: The NPS

Transcript
APPENDIX
B:
DATA CONVERSION
PROGRAM
This
is
a reproduction of the
the PC-486 in the Avionics lab.
naatrix of
ffffxbl
floating point
C
language program that currently resides on
The purpose
tinclude <stdio.h>
tinclude <math.h>
void main (void)
C
float num;
int n;
int m;
int length;
int start;
char namein[20];
nameout [20]
of the
program
is
to take as input a
ASCII numbers, and rewrite the
an integer format.
char-
IN "C"
;
FILE *fpl,*fp2;
65
first
column
into