Question: Custom Fill Multiplication Table Overview In this assignment, the student will write a program that displays a multiplication with user provided dimensions and spatial division

Custom Fill Multiplication Table

Overview

In this assignment, the student will write a program that displays a multiplication with user provided dimensions and spatial division characters.

When completing this assignment, the student should demonstrate mastery of the following concepts:

Prompting and User Input

Looping Logic

Conditional Logic

Advanced Console IO Formatting

Intuitive Design

Assignment

Write a program that displays a multiplication table based on user provided specifications. The program should get a number of rows, a number of columns, and two fill symbols from the user. The program will display a multiplication table starting at 1 and going up to the number of rows of columns specified. The fill symbols selected will be used to divide the columns from one another and provide separation from the column labels and the primary content of the table. Your format should resemble the provided output as closely as possible. You must use at least once instance of a double-nested loop. You must get the information about the fill characters first (handle the phantoms appropriately). Please see the following examples to gain clarity on the way the program should behave:

Custom Fill Multiplication Table Overview In this assignment, the student will writea program that displays a multiplication with user provided dimensions and spatial

This is the base code for this assignment:

#pragma warning(disable:4996) #include #include int main() { // Declare variables. int requestedRows = 0; int requestedCols = 0; // Prompt the user for the number of rows and columns. printf("Please enter the number of rows desired: "); scanf("%d", &requestedRows); printf("Please enter the number of columns desired: "); scanf("%d", &requestedCols); // USER THE INPUTS THE DRAW THE TABLE (NESTED LOOPS). // Draw the columns labels. printf("%3s", ""); // print the upper-left blank // print the columns labels for (int i = 1; i e user mareldesktoplwork stuofsproskos 111 01, 0h, 03)-class example code project fold. Lease enter the firnt fill symbol and press enter: t Please enter the second fill synbo1 and press onter: Please enter the nunber of colunns: 5 Please enter the nunber of rows: 6 111 2 3 41 5 11 11 2 3 41 5 2 21 4 6 8 18 31 31 69 12 15 41 41 8: 12 16 28 5i 51 101 15 20 25 61 61 121 181 24 38 Press any key to continue Example #2 cluserslmarkieldesktoplwork stuff sproghcis 111 (01, 02h, 03)b-class example codelproject fold. le Please enter the first fill symbo1 and press enter: Please enter the second fill synbol and press enter: Please enter the nunber of colunns: 3 Please enter the nunber of rows:? 11 1 21 3 2 2 46 3 3 69 4i 4 8 12 5i 5I 18 15 6i 6i 12 18 1 71 14 21 Press any key to continue

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!