Question: Please write a C++ project with Visual Studio. Instructions Summary The number of lines that can be printed on a paper depends on: The paper
Please write a C++ project with Visual Studio.

Instructions Summary The number of lines that can be printed on a paper depends on: The paper size The point size of each character in a line Whether lines are double-spaced or single-spaced The top and bottom margins and the left and right margins of the paper Assume that all characters are of the same point size, and all lines are either single-spaced or double-spaced. Note that 1 inch -72 points. Moreover, assume that the lines are printed along the width of width is 8.5 inches, then the maximum length of a line is 8.5 inches. Instructions Write a program that calculates the number of characters in a line and the number of lines that can be printed on a paper based on the following input from the user: 1. The length and width, in inches, of the paper 2. The left, right, top, and bottom margins 3. The point size of a line 4. An 's' or 'S' if the lines are single-spaced, or a 'd' or 'D' if the lines are double-spaced (If the lines are double-spaced, then double the point size of each character)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
