Computer Science, asked by sumit864338, 1 year ago

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 rizaularyan
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