What is the difference between the sum of odd numbers and the sum of even numbers from 1 to 50? Hint: The difference between two consecutive numbers is always 1.

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter6: Looping
Section: Chapter Questions
Problem 11RQ
icon
Related questions
Question
What is the difference between the sum of odd numbers and the sum of even numbers from 1 to 50? Hint: The difference between two consecutive numbers is always 1.
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT