ajprincess
  • ajprincess
Can someone plzzz check this code?
Computer Science
  • Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
SOLVED
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
chestercat
  • chestercat
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
ajprincess
  • ajprincess
#include using namespace std; int main() { string word[5]; int i; for(i=0; i<5; i++) { cout<<"Enter the word"<>word[i]; } for(i=1; i<6; i++) { cout<
anonymous
  • anonymous
did you #include ?
ajprincess
  • ajprincess
The question is Write a C++ program to enter "Object Oriented Programming Using C++" using keyboard and display it in the console as the following style 1.Object 2.Oriented 3.Programming 4.Using 5.C++

Looking for something else?

Not the answer you are looking for? Search for more explanations.

More answers

ajprincess
  • ajprincess
No. I didn't include it.
anonymous
  • anonymous
Also, since you loop from i=1 to 6 in the second loop, you will be referencing memory outside the array. If you make it from i=0 to 4 (i.e. i=0; i<5) it will work
anonymous
  • anonymous
http://ideone.com/6b8mp
ajprincess
  • ajprincess
Perfect nw. Thanxxxxxxxxxxxx a lt.

Looking for something else?

Not the answer you are looking for? Search for more explanations.