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
Pure VPN - Up to 27 Months
vgp
Updated:
Today at 8:10 AM
එක පැකේජ් එකයි මාසෙටම Unlimited Internet. තාමත් DATA CARD දාන්න සල්ලි වියදම් කරනවද? අඩුම මිලට අපෙන්.
sayuru bandara
Updated:
Tuesday at 12:30 PM
Ad icon
ඉන්ටර්නෙට් එකෙන් හරියටම සල්ලි හොයන්න සහ Success වෙන්න කැමතිද? 🚀 (E-Money & Success Stories)
siri sumana
Updated:
Saturday at 11:44 PM
Gemini AI PRO 18 months Offer
Hawaka
Updated:
May 27, 2026
Ad icon
koko account
DasunEranga
Updated:
May 27, 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
Awruddata maasa keeyada?
Post reply
Top
Bottom