by Eligiusz Narutowicz<eligiuszdotnaru@[EMAIL PROTECTED]
>
May 8, 2008 at 01:35 PM
"Bill Cunningham" <nospam@[EMAIL PROTECTED]
> writes:
> I have had several complaints by some people who wish to help me and
I
> wish to get the problem straight. I wrote this small utility myself and
> added some indentation and I wonder if it is acceptable. It does make
source
> easier to read.
>
> #include <stdio.h>
> #include <stdlib.h>
>
> int main(int argc, char **argv) {
> if (argc!=3) {
> fprintf(stderr,"usage error\n");
> return -1;
> }
> double x,y;
> x=strtod(argv[1],NULL);
> y=strtod(argv[2],NULL);
> printf("%.2f\n",y/x);
> return 0;
> }
>
> Is this a good example of a properly indended program?
>
> Bill
You are a very good troll I think! :-)