68 245
Assignments Done
99%
Successfully Done
In November 2018

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.
Expert's answer
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 first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions