prog.c: In function ‘main’:
prog.c:16:9: error: ‘ount’ undeclared (first use in this function)
while (ount < input);
^~~~
prog.c:16:9: note: each undeclared identifier is reported only once for each function it appears in
prog.c:16:16: error: ‘input’ undeclared (first use in this function)
while (ount < input);
^~~~~
prog.c:19:14: warning: spurious trailing ‘%’ in format [-Wformat=]
scanf("d%", &value);
^
prog.c:19:12: warning: too many arguments for format [-Wformat-extra-args]
scanf("d%", &value);
^~~~
prog.c:23:14: error: ‘cont’ undeclared (first use in this function)
count = cont +1;
^~~~