Yurttas/PL/IL/C/F-mar11/04/02/00/05/io gs 05.c

 1/*
 2   Copyright(C) 1998
 3   All Rights Reserved. Salih Yurttas, ZCubes, BitsOfCode Software Systems, Inc..
 4
 5   Permission to use, copy, modify, and distribute this
 6   software and its documentation for EDUCATIONAL purposes
 7   and without fee is hereby granted provided that this
 8   copyright notice appears in all copies.
 9
10   date   : January 1, 1998.
11   authorĀ : Salih Yurttas.
12
13   io_gs_05.c
14*/
15
16
17#define MAX_NO_STRING 256
18
19int input(char *[]);
20
21void double_space(char *[],
22                  int);
23
24void output(char *[],
25            int);
26
27int main(int argc, char *argv[]) {
28
29  char *s[MAX_NO_STRING];
30
31  int n;
32
33  n = input(s);
34
35  double_space(s,
36               n);
37
38  output(s,
39         n);
40
41}