cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
Arrays
Arrays
Dec 9, 2014 at 11:23am UTC
meifly
(3)
Write a pseudocode that will ask for 10 words and output the word in alphabetical order.
Hi.! i'm a newbie. Hope you can help me coz i have no idea how to do that problem.
Dec 9, 2014 at 11:28am UTC
mutexe
(2372)
create an array of std::string
http://www.cplusplus.com/doc/tutorial/arrays/
set up a loop to iterate 10 times
http://www.cplusplus.com/doc/tutorial/control/
each iteration as the user for a word and put it in the array.
http://www.cplusplus.com/doc/tutorial/basic_io/
Get that working first. Worry about sorting later.
edit: oops i've just noticed you want pseudocode . You can construct that from the above links.
Last edited on
Dec 9, 2014 at 11:29am UTC
Topic archived. No new replies allowed.