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
Kandy
Welcome all my all new pet shop Bark.lk
dilumrane
Updated:
Yesterday at 12:26 PM
Windows RDP Only Rs.500 a month
Blogerwiki
Updated:
Sunday at 12:41 PM
Ad icon
V2ray VPN for Tunneling
hu KANNA
Updated:
Oct 22, 2026
FREE SEO Check & Google Maps Check for Sri Lankan Businesses | Web Design, Website Price Rs 14,900 |
LankaSolve
Updated:
Oct 20, 2026
ඕනම රටකට සෙට් වෙන CV එකක්
ErMurazor
Updated:
Oct 17, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
ElaKiri Help
Write a C++ Program...
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="hasiwebmail" data-source="post: 7365076" data-attributes="member: 21500"><p><span style="font-size: 22px">Rotating an array</span></p><p></p><p><span style="color: Red"><span style="font-size: 18px">It reads a sequence of positive integers. It stores it</span></span></p><p><span style="color: Red"><span style="font-size: 18px">in an array, then it prompts the user to enter an</span></span></p><p><span style="color: Red"><span style="font-size: 18px">integer, and then rotates clockwise the content of the</span></span></p><p><span style="color: Red"><span style="font-size: 18px">array a corresponding number of positions. The contents</span></span></p><p><span style="color: Red"><span style="font-size: 18px">the array are printed out whenever it changes.</span></span></p><p><span style="color: Red"><span style="font-size: 18px"></span></span></p><p><span style="color: Red"><span style="font-size: 18px"></span></span></p><p><span style="color: Red"><span style="font-size: 18px">For example, if the sequence was 1,2,3,4,5 and the number 3 is entered, the array becomes 3,4,5,1,2</span></span></p><p><span style="color: Red"><span style="font-size: 18px">and if the number 1 is now entered, the array becomes 2,3,4,5,1</span></span></p><p></p><p><img src="/styles/default/xenforo/smilies/default/shocked.gif" class="smilie" loading="lazy" alt=":shocked:" title="Shocked :shocked:" data-shortname=":shocked:" /><img src="/styles/default/xenforo/smilies/default/shocked.gif" class="smilie" loading="lazy" alt=":shocked:" title="Shocked :shocked:" data-shortname=":shocked:" /><img src="/styles/default/xenforo/smilies/default/shocked.gif" class="smilie" loading="lazy" alt=":shocked:" title="Shocked :shocked:" data-shortname=":shocked:" /><img src="/styles/default/xenforo/smilies/default/shocked.gif" class="smilie" loading="lazy" alt=":shocked:" title="Shocked :shocked:" data-shortname=":shocked:" /><img src="/styles/default/xenforo/smilies/default/shocked.gif" class="smilie" loading="lazy" alt=":shocked:" title="Shocked :shocked:" data-shortname=":shocked:" /></p><p></p><p><span style="font-size: 26px"><span style="color: Blue">Me program eka ona?? Katada puluwan?? C++ ??</span></span></p></blockquote><p></p>
[QUOTE="hasiwebmail, post: 7365076, member: 21500"] [SIZE="6"]Rotating an array[/SIZE] [COLOR="Red"][SIZE="5"]It reads a sequence of positive integers. It stores it in an array, then it prompts the user to enter an integer, and then rotates clockwise the content of the array a corresponding number of positions. The contents the array are printed out whenever it changes. For example, if the sequence was 1,2,3,4,5 and the number 3 is entered, the array becomes 3,4,5,1,2 and if the number 1 is now entered, the array becomes 2,3,4,5,1[/SIZE][/COLOR] :shocked::shocked::shocked::shocked::shocked: [SIZE="7"][COLOR="Blue"]Me program eka ona?? Katada puluwan?? C++ ??[/COLOR][/SIZE] [/QUOTE]
Insert quotes…
Verification
Dahaya deken beduwama keeyada?
Post reply
Top
Bottom