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

  How primary and foreign-key relationships are applied

At this point, you will add data to your database and validate that they loaded properly. In tabular format, include 3 rows for each table, making sure that the primary-key and foreign-key relationships are properly applied.

  Describe all system privileges found in sql server

Describe all system privileges found in SQL Server

  Develop the queries using professional principles

Design and develop the queries using professional principles and standards - Two SQL Statements that return a subset of columns and a subset of rows using the WHERE clause.

  Define the entities, attributes and draw ERD

Define the entities, attributes and draw ERD - Normalize each relation to 3NF - Lingolink has different teams to support the services of the platform

  Create qrycustomersm that selects all customers

Write the SQL below that would display all Customers whose first name begins with the letter J. Your query should display the FirstName, LastName, Phone, and MembershipStatus fields from the tblMember table.

  Give me a list of all the proposed prices

Give me a list of all the proposed prices for the next year from the l_foods table.  Sort your results by proposed_price.  (Note that proposed price, is price + price_increase.)

  Submit the table creation statements for the database model

submit the table creation statements for the database model. submit them all in a single script file.also submit a

  Explaining sql insert statement to insert new row in cds

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

  Write the t-sql to create a sql server database

You must write the T-SQL to Create a SQL Server Database. The database specifications are: The database must be called Cars.

  Write command that would enable bruno to grant select access

Write the SQL commands that would enable bruno-s to grant SELECT access to these tables to hulk hogan and undertaker.

  Available on a major operating system

Which web browser below is natively available on a major operating system? Which type of components below generates the most heat inside of a computer?

  Create a new database in sql server and run

Create a new database in SQL Server and run the following CREATE TABLE commands. Note that you must run the CREATE TABLE statements in the order presented (and load the data in the order presented) to avoid conflicts resulting from foreign key con..

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