3. Write a program to take
to take an integer array and
calculate the
sum of its even and odd
elements separately
Answers
Answered by
1
In Foxpro
Explanation:
clear
clearset talk off
set safety off
input"Enter the Number--------->" to a
if (a%2=0)
?"The Number is even. "
else
?"The Number is odd. "
endif
Similar questions
Social Sciences,
6 months ago
Math,
6 months ago
Economy,
1 year ago
Math,
1 year ago
Physics,
1 year ago
Math,
1 year ago
India Languages,
1 year ago