Question: Thanks in Advance ELEN 1301 Programming Assignment #7 Specified on the web site. Due date: (Due at the end of the day.) Please submit: 1.

Thanks in Advance
 Thanks in Advance ELEN 1301 Programming Assignment #7 Specified on the

ELEN 1301 Programming Assignment #7 Specified on the web site. Due date: (Due at the end of the day.) Please submit: 1. A flowchart of your program. (3 pts) 2. Copy of your C++ program with a heading comment (with proper spacing and indentation). You must (5 pts) use a loop technique and show the location number at the top of the output (2 pts) 3. Copy of a screenshot of your program. ELEN 1301 Programming Assigrument #7. Name : Your name. Student ID : Your student ID# Due date Due date Purpose of the program : Generate a random walk track with the location number indicated at the top of the output. Section 1 : Use loops, division, and modulo (modulus division) to show the location at the top of the output. (2 pts) Section 2 : Start with the location 4e and use a random number to move the "** left/right/stay for 40 times. Fill the rest with ".". (3 pts) (See the output example.) 7 #include tinclude using namespace std; int main() { int loc - 40, i, j, k, srand(time(NULL)); // This is an example program that generates the location value 40 times. for (i = 0; i

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!