Answer to Question #79500 in C++ for salman ahmed

Question #79500
Write a program that takes a number n and finds and adds separately the sum of all the even numbers
and odd numbers in two different variables upto that number and at the end prints the product of those
two number
Input: 10.
so
=> even(2,4,6,8,10) sum of even is = 30.
=>odd(1,3,5,7,9) sum of odd is = 25
25*30
Output: 750.
1
Expert's answer
2018-07-30T20:18:24-0400
Dear salman ahmed, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS