create program

Can anyone give me example of c++ with branch, loop, function, and array one dimension in one program?
Read this:

http://www.cplusplus.com/doc/tutorial/

and you will certainly be able to do so
Topic archived. No new replies allowed.