Home Work (11-02-2013)

posted Feb 11, 2013, 12:42 AM by Salah Ibrahim   [ updated Feb 11, 2013, 12:43 AM by Karwan Jacksi ]
write a c++ program, to read 20 numbers,
the program will create 4 files :
            - one for odd.
            - one for even.
            - one for positive.
            - one for negative.

examples : 
            5 -> stored in odd and positive files.
            -3 -> stored in odd and negative files.
            0 -> stored in even and positive files.
            2 -> stored in even and positive files.
            -88 -> stored in even and negative files.

Comments