how to print the sum of odd and even numbers taking upper and lower limit from user
tamana
0
Newbie Poster
Recommended Answers
Jump to Post[boilerplate_help_info]
Posting requests for help must be well thought out if you want help quickly and correctly. Your post did not meet the criteria for quality help. You may get some posts, but are they going to be useful? Check your post with these checkpoints - what …
Jump to Postint odd = 0; int even = 0; // now prompt for some values not shown here // I'll leave that up for you to figure out. // print the values printf("odd = %d, even = %d\n", odd,even);
All 7 Replies
tamana
0
Newbie Poster
WaltP
2,905
Posting Sage w/ dash of thyme
Team Colleague
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
tamana
0
Newbie Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
ilearnz001
1
Newbie Poster
Lerner
582
Nearly a Posting Maven
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.