Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Colombo
Red Hat Certified System Administrator (RHCSA) - RHEL 10
Sanjeewani95
Updated:
Friday at 7:43 PM
NURSING , CAREGIVER , HOTEL & BEAUTY COURSES
IVA Para Medical Campus
Updated:
Thursday at 9:24 AM
Handmade Character Soft Toys Peppa Pig Family
anil1961
Updated:
Wednesday at 9:58 PM
Ad icon
Video Content Creator
pramukag
Updated:
Jun 28, 2026
Ad icon
QA Engineer Intern
pramukag
Updated:
Jun 28, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
Education
Thread for Programming and Realeted Topics
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="rclakmal" data-source="post: 5581468" data-attributes="member: 98858"><p>Ah thanks friend ,</p><p> Actually this was a problem in a another site....and i saw two parts of this problem </p><p>1. To output average </p><p>2. To output no of larger numbers </p><p></p><p>Then i thought it would be better to have separated for loops for that .</p><p>But now i think after looking @ it again ,as i have used meaningful variable names it is OK to have a single for loop for both parts.</p><p></p><p>If the compiler takes it as a single for loop ,then the compiling time won't increase no ? But as u suggest it is nice to code like that.Thanks again !!!!!!!</p></blockquote><p></p>
[QUOTE="rclakmal, post: 5581468, member: 98858"] Ah thanks friend , Actually this was a problem in a another site....and i saw two parts of this problem 1. To output average 2. To output no of larger numbers Then i thought it would be better to have separated for loops for that . But now i think after looking @ it again ,as i have used meaningful variable names it is OK to have a single for loop for both parts. If the compiler takes it as a single for loop ,then the compiling time won't increase no ? But as u suggest it is nice to code like that.Thanks again !!!!!!! [/QUOTE]
Insert quotes…
Verification
Hath warak paha keeyada? (hatha wadikireema paha)
Post reply
Top
Bottom