NEW YORK (AP) — A two-year slump in personal computer sales ended in the second quarter, helped by improving demand in developed markets like North America and Europe.