- Write a program that reads a series of integers until the user enters 3 successive negative ones or 4 successive positive ones (Zeros should be ignored and skipped as they have no effects at all). The program then should display the number of changes (from positive to negative and vice versa).
hassansayed 0 Newbie Poster
corby -4 Junior Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
<M/> 170 Why so serious? Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.