Coding Practice Platform
Home
Plus Minus
C++
Given an array of integers, calculate the ratios of its elements that are positive, negative, and zero. Print the decimal value of each fraction on a new line with 6 places after the decimal.
Your Logic:
Submit and Reveal Answer