Απάντηση στο 6ο θέμα

import gr.aueb.dds.BIO;

class Detag {
        public static void main(String args[]) {
                int c;
                boolean print = true;

                while ((c = BIO.readChar()) != -1) {
                        if ((char)c == '<')
                                print = false;
                        if (print) 
                                BIO.print((char)c);
                        if ((char)c == '>')
                                print = true;
                }
        }
}