a9c996fd56e6d311020fbec02eee335d63fe2f7c
[svn/Cll1h/.git] / demos / lists / float-list-ordered.c
1 #include "cll1.h"
2
3 def_mem(Node)
4 {
5 float f;
6 list(Node);
7 };
8
9 program
10 {
11 Node one,all=NULL;
12
13 repeat(20)
14 {
15 one=get_mem(Node);
16 printf("Enter float: \n");
17 scanf("%f", &(one->f));
18 insert(one,all,order_by_num,f);
19 }
20
21 for_each(one,all)
22 {
23 printf("The float you entered is %f\n",one->f);
24 }
25 }
This page took 0.275487 seconds and 3 git commands to generate.