write C++ program to print the sum and average of 1 to 10 using for loop?
Loafer -1 Newbie Poster
jaskij commented: Don't ask others to write your school assignments for you. -1
Recommended Answers
Jump to Postdo you know how to write a for loop? If not, then here is a tutorial
Jump to Postadapt the program above that allows the input of the nominator and denominator of a "top have" fraction and outputs the fraction inthe simplest form.this is done by dividing both values by their gcd. this output is carried out in a function called simplify.
All 7 Replies
WaltP 2,905 Posting Sage w/ dash of thyme Team Colleague
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
DJSAN10 28 Posting Whiz in Training
Eagletalon 34 Junior Poster in Training
Bartek onufryk 0 Newbie Poster
Eagletalon 34 Junior Poster in Training
WaltP 2,905 Posting Sage w/ dash of thyme Team Colleague
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.