Hi. I need this in C++ please.
Posted: Mon Jul 11, 2022 9:54 am
Hi. I need this in C++ please.
3.19 LAB: Count odd numbers Write a program that takes in four positive integers and outputs the number of odd numbers. (Hint: use the modulo operator to determine if a number is odd) Ex: If the input is: 1 2 3 4 the output is: 2 Ex: If the input is: 19 19 19 19 the output is: 4 397536.2649058.qx3zqy7
3.19 LAB: Count odd numbers Write a program that takes in four positive integers and outputs the number of odd numbers. (Hint: use the modulo operator to determine if a number is odd) Ex: If the input is: 1 2 3 4 the output is: 2 Ex: If the input is: 19 19 19 19 the output is: 4 397536.2649058.qx3zqy7