Question: /* * File: main.cpp * Author: YOUR NAME HERE * Created on January DATE AND TIME HERE * Purpose: Cross one-side or the other */

 /* * File: main.cpp * Author: YOUR NAME HERE * Created

/* * File: main.cpp * Author: YOUR NAME HERE * Created on January DATE AND TIME HERE * Purpose: Cross one-side or the other */

//System Libraries Here #include using namespace std;

//User Libraries Here

//Global Constants Only, No Global Variables //Like PI, e, Gravity, or conversions

//Function Prototypes Here

//Program Execution Begins Here int main(int argc, char** argv) { //Declare all Variables Here unsigned short x; char shape; //f-> forward b->backward x->cross //Input or initialize values Here cout>x>>shape; //Draw the shape

//Exit return 0; }

PLEASE CODE IT IN C++ LANGUAGE

Input a number [1-501 representing the size of the shape and then a character [x,b, f] which represents the shape i.e. x-cross, b-backward slash, or f-forward slash. Here are 4 examples which give the 2 inputs with the shape of the result directly below Note: Even number outputs are different from odd Prompt the user with the following cout

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!