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
එක පැකේජ් එකයි මාසෙටම 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
Ad icon
koko account
DasunEranga
Updated:
May 27, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
Education
C/C++ Coding challenges
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: 8308082" data-attributes="member: 21500"><p><strong>Write a C++ program for the following......</strong></p><p><strong></strong></p><p><strong>It reads a sequence of positive integers. It stores it</strong></p><p><strong>in an array, then it prompts the user to enter an</strong></p><p><strong>integer, and then rotates clockwise the content of the</strong></p><p><strong>array a corresponding number of positions. The contents</strong></p><p><strong>the array are printed out whenever it changes.</strong></p><p><strong></strong></p><p><strong></strong></p><p><strong>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</strong></p><p><strong>and if the number 1 is now entered, the array becomes 2,3,4,5,1</strong></p></blockquote><p></p>
[QUOTE="hasiwebmail, post: 8308082, member: 21500"] [B]Write a C++ program for the following...... 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[/B] [/QUOTE]
Insert quotes…
Verification
Haya warak paha keeyada? (haya wadi kireema paha)
Post reply
Top
Bottom