US department store chain JC Penney Company has swung into a second quarter profit following its US$1m net loss in the same period last year, despite sloping sales.