Yurttas/PL/IL/C/F-mar11/02/03/00/05/count 05.c
Jump to navigation
Jump to search
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 count_05.c
14*/
15
16
17#include <string.h>
18
19#include "count.h"
20
21int main(int argc, char *argv[]) {
22
23 char* s;
24
25 int k;
26
27 s = get_string();
28
29 k = strlen(s);
30
31 put_string_count(s,
32 k);
33
34}