1. The number of lines that can be printed on a paper depends on the paper...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
1. 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 margin, 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 with the width of the paper. For example, if the length of the paper is 11 inches and width is 8.5 inches, then the maximum length of a line is 8.5 inches. Write a c# .net 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: a. The length and width, in inches of the paper b. The top, bottom, left, and right margins c. The point size of a line d. If the lines are double-spaced, then double the point size of each character Provide a proper GUI for the user. 2. Neil and Heubert are looking to buy a house in a new development. After looking at various models, the three models they like are Colonial, Split-entry and Single-story. The builder gave them the base price the finished area in square feet of the three models. They want to know the model(s) with the least price per square foot. Write a c# .net program that accepts as input the base price and the finished area in square feet of the three models. The program outputs the model(s) with the least price per square foot. Provide a proper GUI for the user. 1. 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 margin, 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 with the width of the paper. For example, if the length of the paper is 11 inches and width is 8.5 inches, then the maximum length of a line is 8.5 inches. Write a c# .net 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: a. The length and width, in inches of the paper b. The top, bottom, left, and right margins c. The point size of a line d. If the lines are double-spaced, then double the point size of each character Provide a proper GUI for the user. 2. Neil and Heubert are looking to buy a house in a new development. After looking at various models, the three models they like are Colonial, Split-entry and Single-story. The builder gave them the base price the finished area in square feet of the three models. They want to know the model(s) with the least price per square foot. Write a c# .net program that accepts as input the base price and the finished area in square feet of the three models. The program outputs the model(s) with the least price per square foot. Provide a proper GUI for the user.
Expert Answer:
Related Book For
Business Communication Polishing Your Professional
ISBN: 9780134740225
4th Edition
Authors: Barbara Shwom, Lisa Snyder
Posted Date:
Students also viewed these programming questions
-
A company paid a dividend last year of $1.75. The expected ROE for next year is 14.5%. An appropriate required return on the stock is 10%. If the firm has a plowback ratio of 75%, the dividend in the...
-
Let A, B be sets. Define: (a) the Cartesian product (A B) (b) the set of relations R between A and B (c) the identity relation A on the set A [3 marks] Suppose S, T are relations between A and B, and...
-
Elena, a student in F-1 immigration status from Romania, is on the basketball team. She arrived in the U.S. on June 18, 2023 on a full athletic scholarship that includes $10,000 for her room and...
-
A savings account pays interest of 1.5%. Interest is calculated on the daily closing balance and paid at the close of business on the last day of the month. A depositor had a $2239 opening balance on...
-
Refer to P1-5A and add the following requirement. Prepare a letter to the president of the company, Shelly Phillips, describing the changes you made. Explain clearly why net income is different after...
-
When are Modes and States defined in a project? Why?
-
Johnson & Johnson, the worlds leading and most diversified health-care corporation, serves its customers through specialized worldwide franchises. Each of its franchises consists of a number of...
-
what You have been hired as the billing manager for Nash Medical Center and Clinics One of your responsibilities to calculate what the patient owes and what the insurance company owes, so that you...
-
How does the couple s communication style during the relationship impact how they elect to terminate the relationship?
-
The loan balance decreases from 100 at time t to 90 at time t+1. The periodic interest rate is 10%. Calculate the periodic payment (or interest and principal payments) between time t and time t+1.
-
Statement of Income: 2020 Sales $6,230.0 CoGS 3,050.0 One-time inventory adjustment 300.0 Gross Margin 2,880.0 SG&A 2,130.0 Depreciation 490.0 Op Income 260.0 Interest expense 125.0 Pre-tax Income...
-
Discuss what you understand with efficient market hypothesis and its three form as proposed by Prof. Dr. Eugene Fama, a Nobel Prize winner. Then, discuss also how you can apply efficient market...
-
Why did you raise to power ^2 ? ( [537.300/(1+6%) ^2 ]*5% -25=[537.300/1.1236]*5% -25). Look at the question B again:) (you estimate that it will take 3 years to know) 3 YERAS. If you invest in R&D,...
-
The Clements want to start improving their financial situation in anticipation of buying their dream house. What effect would it have on their net worth and cash flows if they liquidated enough of...
-
Write a report on Weslake Chemical Corporation Financial to explain financial ratios.
-
Chapter 9 Stock Valuation at Ragan Engines Input area: Shares owned by each sibling Ragan EPS Dividend to each sibling Ragan ROE Ragan required return Blue Ribband Motors Corp. Bon Voyage Marine,...
-
Determine the magnitude of force \(\mathbf{F}\) that must be applied at the end of the overhang \(C\) so that when the force \(\mathbf{P}\) is applied, displacement at \(C\) is zero. \(E I\) is...
-
The composite simply supported steel shaft is subjected to a force of \(10 \mathrm{kN}\) at its center. Determine its maximum deflection. \(E_{\mathrm{st}}=200 \mathrm{GPa}\). 200 mm A 200 mm 200 mm...
-
Determine the slope at \(A\) and the maximum deflection. \(E I\) is constant. 20 kip.ft 6 ft A 12 ft- B 6 ft 20 kip-ft
Study smarter with the SolutionInn App