Write a program named alphaapp

Assignment Help PL-SQL Programming
Reference no: EM133508585

Introduction to Programming

Problem Specification:
Alpha's Murals is a company that paints interior and exterior murals for both business and residential customers. Write a program named AlphaApp that performs the following tasks:

Task 1: Display your personal information including your last name, first name and your student ID. Make these surrounded by a border composed of asterisks.

Task 2: The application prompts the user to enter the number of orders for interior and exterior murals. This number has to be between 0 and 30 (inclusive).Otherwise, the program prompts the user to re-enter the number.

Task 3: Display the number of orders of interior and exterior murals. Compute and display the expected revenue for each type of mural and the total revenue from both types. Interior murals cost $500.00 each, and exterior murals cost $750.00 each.

Note that all revenues should be displayed using currency format.

Task 4: Display a statement based on the following conditions:

- If the number of exterior muralsordered is greater than the number of interior murals,the program should display "Exterior murals are becoming more attractive!", else, the program displays "Interior murals are becoming popular!".

- If the number of the orders are equal, then display "Both types are equally preferred!"

Task 5: The user is prompted to input information for interior mural orders. Each interior mural order includes customer name and mural code: L for landscape, S for seascape, A for abstract, and O for others. Make sure that all the entered codes are valid (L, S, A or O), and, if not, prompt the user to re-enter the correct code. The number of orders should be the same as the number of interior murals ordered in Task 2.

After the data entry for all the customers is complete, display a count of the number of customers ordering each type of interior mural.
Then, continuously prompt the user for a mural code until the user enters a sentinel value. For each code entry, display a list of the customersorderingthattype of mural, or display a message that the code is not valid, and re-prompt the user for a valid mural code.

Reference no: EM133508585

Questions Cloud

Concepts of the experiential family theory application : Apply all concepts of the Experiential Family theory application, consider concepts of individuality, individuation, and self-expression.
Which education of indigenous people was transmitted : Indicate the two ways through which education of indigenous people was transmitted. What awards of social life did preicolonial education embrace.
Traditional project management methodologies : Discuss the differences in critical path, critical chain, agile, and traditional project management methodologies
What topic did you find easiest to learn in this course : What topic did you find easiest to learn in this course? - What was the most challenging topic or aspect of the course?
Write a program named alphaapp : IFN555 Introduction to Programming, Queensland University of Technology - Write a program named AlphaApp that performs the given tasks
Describe your strategy for handling risks in your project : describe your strategy for handling risks in your project. - list at least seven negative risks and three positive risks for your project.
Knowledge and skills relevant to focus of work : What experience, knowledge and skills relevant to the focus of work in your internship and your expected role during your placement do you already have?
Functionality of the multi-team system at medpharma : What could be the potential implications of the ongoing tension between BioChem and PharmacoDynamics on the overall project outcome.
What you think of as being most important to kylie jenner : Explain what you think of as being most important to Kylie Jenner's success; is it the products she sells or her creative marketing techniques? Why?

Reviews

Write a Review

PL-SQL Programming Questions & Answers

  Create a database model

Create a database model and Submit the table creation statements for the Database Model.

  Write pl-sql procedures and functions

Write PL/SQL procedures and functions to populate and query that database

  Sql questions

Write a query to display using the employees table the EMPLOYEE_ID, FIRST_NAME, LAST_NAME and HIRE_DATE of every employee who was hired after to 1 January, 1995.

  Run the lab_03_01.sql script

Run the lab_03_01.sql script in the attached file to create the SAL_HISTORY table. Display the structure of the SAL_HISTORY table.

  Write sql queries

Write a query to display the last name, department number, and salary of any employee whose department number and salary both match the department number and salary of any employee who earns a commission.

  Explaining sql insert statement to insert new row in cds

Write down a SQL insert statement to insert new row in "CDS" table.

  Write down name of actors in ascending order

Write down actors (or actress, your choice, but not both) who have won at least two (2) Academy Awards for best actor/actress. Provide the actor name, movie title & year. Order the result by actor name."

  What is an sql injection attack

What is an SQL injection attack? Explain how it works, and what precautions must be taken to prevent SQL injection attacks.What are two advantages of encrypting data stored in the database?

  Determine resonant frequency in series rlc resonant circuit

Given the series RLC resonant circuit in the figure, operating at variable frequency, determine: The resonant frequency ω o ,  The circuit’s quality factor Q , The cut-off frequencies, f 1  & f 2  and the bandwidth BW

  Query that uses cube operator to return lineitemsum

Write summary query which uses CUBE operator to return LineItemSum (which is the sum of InvoiceLineItemAmount) group by Account(an alias for AccountDesciption).

  Query to show customers were missing for existing orders

As DBA, your manager called a meeting and asked why there are so many orders for customers that don't exist in the customer table. Write query which would shows which customers were missing for existing orders. Use a join or a subquery.

  Sql query into a relational algebra statement

Turn this SQL query into a relational algebra statement? SELECT Request.reqfor, Ordering.invamt, Ordering.invnbr, Ordering.invdat

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd