Instructions: Please submit your homework in PDF format mentioning your full name...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Instructions: ● ● ● ● Please submit your homework in PDF format mentioning your full name and university ID. A unique program should be written for each question in addition to the output screenshot. Each line of code must be well commented. Question 1: (2 marks) Write a C++ program to check whether a quadrilateral is valid or not, when the four angles of the quadrilateral are entered by the user. A quadrilateral is valid if the sum of all the four angles is equal to 360 degrees. <insert your program here> <insert a screenshot of the output here> ● Homework #1 The output should be expressive, informative and user-friendly. In the case of two identical submissions, a score of zero (0) will be assigned to both submissions. In addition, a report will be sent to the Academic Integrity Office. The deadline for submitting the homework is October 1, 2023. ● Question 2: (3 marks) Write a C++ program to calculate the monthly telephone bills as per the following rule: Minimum AED 100 for upto 100 minutes. Plus AED 0.80 per minute for the next 50 minutes. Plus AED 0.60 per minute for the next 50 minutes. Plus AED 0.50 per minute for any call beyond 200 minutes. <insert your program here> <insert a screenshot of the output here> Instructions: ● ● ● ● Please submit your homework in PDF format mentioning your full name and university ID. A unique program should be written for each question in addition to the output screenshot. Each line of code must be well commented. Question 1: (2 marks) Write a C++ program to check whether a quadrilateral is valid or not, when the four angles of the quadrilateral are entered by the user. A quadrilateral is valid if the sum of all the four angles is equal to 360 degrees. <insert your program here> <insert a screenshot of the output here> ● Homework #1 The output should be expressive, informative and user-friendly. In the case of two identical submissions, a score of zero (0) will be assigned to both submissions. In addition, a report will be sent to the Academic Integrity Office. The deadline for submitting the homework is October 1, 2023. ● Question 2: (3 marks) Write a C++ program to calculate the monthly telephone bills as per the following rule: Minimum AED 100 for upto 100 minutes. Plus AED 0.80 per minute for the next 50 minutes. Plus AED 0.60 per minute for the next 50 minutes. Plus AED 0.50 per minute for any call beyond 200 minutes. <insert your program here> <insert a screenshot of the output here>
Expert Answer:
Answer rating: 100% (QA)
It appears you are looking for assistance with writing two C programs as described in your homework ... View the full answer
Related Book For
Income Tax Fundamentals 2019
ISBN: 9781337703062
37th Edition
Authors: Gerald E. Whittenburg, Steven Gill
Posted Date:
Students also viewed these programming questions
-
Within the retail framework, what are the scope of activities that take place in a distribution center? What is considered to be "floor-ready" merchandise? What tasks are completed at the...
-
1. Insert a module and create a subroutine named Receipt(). Excel 2. Place a button with the name "Generate Receipt" that would link to this subroutine when clicked. Do the following parts from 3 to...
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
Which is false? The Chinese government is reluctant to let the yuan appreciate against the US dollar because: Appreciation of the yuan would increase the price of real estate for young Chinese...
-
Imagine a small electron-sensitive probe of volume 1.00 pm3 inserted into an H+2 molecule-ion in its ground state. Calculate the probability that it will register the presence of an electron at the...
-
Calculate Vo in the circuit of Fig. 10.74. soo ki 100 30 FIG. 10.74 Proble 1S
-
A full-sized automobile has a frontal area of \(24 \mathrm{ft}^{2}\), and a compact car has a frontal area of \(13 \mathrm{ft}^{2}\). Both have a drag coefficient of 0.5 based on the frontal area....
-
Part One: In 2012, Robin Prough opened Robins Roses, a small shop selling floral arrangements. On December 31, 2013, her accounting records show the following: Sales...
-
what ways does Process Safety Management contribute to the development of a safety culture within an organization? Examine the challenges and strategies for fostering a proactive safety mindset among...
-
In receiving terminals of petrochemical plants, some of the liquid natural gas (LNG) storage Tanks are designed to be in ground, to avoid receiving radiation from the sun and also being protected...
-
Strategic leaders are located in different areas and levels of the firm. Discuss the role of strategic leaders in fulfilling the mission and vision of the firm. Include ethical intentions and...
-
Identify two derivatives that you could use to hedge against a potential change in the market base interest rates. In your answer, you need to explain in what circumstances you would use these...
-
Graphically solve this including steps of inputting this into word x + 4y = -8 and 3x + 4y = 0
-
Cake Queen needs to raise $6 million for expansion and decides to issue long-term bonds. The financial manager hires an investment banking firm to help design the bond issue and underwrite it. The...
-
Company A has been paying a $2 dividend each year to its common stockholders for the last 10 years. The company announces today stockholders will see the dividend grow by 4% three years from now. The...
-
What is the amount invested in a bank for 864 days, and simple interest of 9.1 per cent per annum is charged, the total amount at the end of the period will be 1369.1?
-
Explain File System Consistency.
-
Complete the equations for the following equilibria and calculate Keq where the Keq expression includes [HO]. Be sure to enter Keq in proper scientific notation. (a) ammonia (acting as a base) reacts...
-
Margaret, age 65, and John, age 62, are married with a 23-year-old daughter who lives in their home. They provide over half of their daughters support, and their daughter earned $4,100 this year from...
-
Ken (birthdate July 1, 1987) and Amy (birthdate July 4, 1989) Booth have brought you the following information regarding their income, expenses, and withholding for the year. They are unsure which of...
-
Which of the following gifts is a deductible contribution? a. A gift of $100 to a homeless person b. A $500 gift to the Democratic National Committee c. $1,000 spent on church bingo games d. A $200...
-
Thor Industries manufactures Airstream and other recreational vehicles (RVs). In In June 2023, an article in the Wall Street Journal stated that the inventories of RVs held by Thor dealers had risen...
-
An article in the New York Times in early 2009 stated that even though The the U.S. economy was in a recession, and movie ticket sales had increased by 17.5 percent. In contrast, during 2020, ticket...
-
An article on barrons.com observed that the U.S. dollar has been droppingand thats good news for the stock market and companies that get a large chunk of their sales from overseas. a. What does the...
Study smarter with the SolutionInn App