Description
Create a Movies class that determines the cost of a ticket to a cinema,
based on the moviegoer’s age. Assume that the cost of a full-price ticket is $10. Assign the age to a private data member. Use a public member function to determine the ticket price, based on the follow- ing schedule: Age Price Under 5 Free 5 to 17 Half price 18 to 55 Full price Over 55 $2 off
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.
Explanation & Answer
Review
Review
Anonymous
Just what I needed…Fantastic!
Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4
24/7 Homework Help
Stuck on a homework question? Our verified tutors can answer all questions, from basic math to advanced rocket science!
Most Popular Content
MEAN with Cosmos DB
Complete the "Create a MongoDB app with Angular and Azure Cosmos DB (Links to an external site.)Links to an external site. ...
MEAN with Cosmos DB
Complete the "Create a MongoDB app with Angular and Azure Cosmos DB (Links to an external site.)Links to an external site." tutorial using your Azure account and submit a screenshot of your working project to the "MEAN with Cosmos DB" assignment in this module.1 - CreateThere are three "paths" shown for "Create":- Node.js- Node.js and Angular (the one I am asking you to complete)- Node.js and ReactIf you have the time and inclination, you can try all three, but for this assignment, you only need to do the "Node.js and Angular".2 - ImportYou probably do not have data to import from a MongoDB, so you might think about not reviewing this section, but this section also discusses how to find your connection string information (host, port, username, and password).3 - QueryThis section of the tutorial covers how to query data with MongoDB and provides example queries for you to use in your assignment and project.4- Distribute globallyWatch the videos, but you can minimize your cost for this assignment by limiting distribution.5 - Develop locallyIf your set up will support it, I would encourage you to download and install the Cosmos DB emulator to develop your projects and assignments, but be forewarned, there are a lot of caveats and details when using an emulator for code development, so be careful. This step is not required for this assignment.Once you have your project working, take a screenshot of a query. Make sure your screenshot includes the entire web app window so that there is enough information for me to determine that you successfully completed the assignment.I will give you my Azure account later.
Ashford University Data Sets for Functions Javascript Problems
Dataset
You will be working with two different sets of data for these functions: parks and users.
Parks is an array of obj ...
Ashford University Data Sets for Functions Javascript Problems
Dataset
You will be working with two different sets of data for these functions: parks and users.
Parks is an array of objects, similar to this:
const parks = [
{
id: 1,
name: "Acadia",
areaInSquareKm: 198.6,
location: { state: "Maine" },
},
{
id: 2,
name: "Canyonlands",
areaInSquareKm: 1366.2,
location: { state: "Utah" },
},
{
id: 3,
name: "Zion",
areaInSquareKm: 595.9,
location: { state: "Utah" },
},
];
Users is an object with a number of keys that represents each user. It looks something like this:
const users = {
"karah.branch3": {
visited: [2],
wishlist: [1, 3],
},
"dwayne.m55": {
visited: [2, 3],
wishlist: [1],
},
};
userHasVisitedAllParksInState
This function returns a boolean that represents whether or not a user has visited all parks in the parks array from a given state.
userHasVisitedAllParksInState(parks, users, "Utah", "dwayne.m55"); //> true
userHasVisitedAllParksInState(parks, users, "Utah", "karah.branch3"); //> false
IT 214 NOVA Car Rental Service MySQL Project
. You must use MySQL to implement the database you designed in Part I. Test the queries you used to create and populate th ...
IT 214 NOVA Car Rental Service MySQL Project
. You must use MySQL to implement the database you designed in Part I. Test the queries you used to create and populate the database in MySQL. After successful completion of an SQL query:Type your name at the following mysql> prompt.Take a screen shot (Alt + Print Screen) that includes the query, the confirmation message, the results (if any), and your name.Paste the screen shot in the appropriate location in your MS Word file.IMPORTANT NOTICE: If some of the tables in your database have the same names as the tables in the databases used in class (Premiere Products, Henry Books, and Alexamara Marina Group), re-name your tables. For instance, if the name of your table is CUSTOMER, change it to CUSTOMER_1. Do not delete existing tables from the databases used in class otherwise you will not be able to complete the rest of the homeworks.Part II must include:1.The title page with the course number, section number, and your name.2.The ERD of the database you designed in Part 1. If you have to make changes in the structure of the database, you must receive your professor’s approval before you implement them.3.Screen shots of the queries used to create tables and populate them with data. For each table, include the following:a.A screen shot(s) of the SQL query you used to create the table with appropriate attributes and data types together with primary keys, foreign keys, relationships and constraints.b.A screen shot(s) of the DESCRIBE table_name; command to show the structure of the table.c.A screen shot(s) of all SQL queries you used to populate the table with valid data. Each table must contain a minimum of 3 records.d.A screen shot(s) of the SELECT * command to show the resulting table with all the valid data inserted.Paste all screen shots from parts a-d for each table together in one place.4.Screen shots of SQL queries you used to retrieve data from the tables along with the query results. For each query, explain in a complete, coherent sentence what it is intended to do, what data is expected as a result and how they are different from previous queries. Clearly identify each screen shot you paste into this section. To create queries, use the following structures: A query that is based on two tables and includes both an arithmetic and a special operator in the conditional expression.A query that is based on more than two tables and includes both an arithmetic and a special operator in the conditional expression. Both the arithmetic and the special operator must be different from the ones used in part a.A query that includes a sub-query.A query that contains the GROUP BY clause, one of the aggregate functions, the WHERE statement, and the HAVING operator.Two additional complex queries designed by you that are different from the above. A complex query is based on two or more tables and includes either several conditions or a subquery (or both).
python am hour to 24 hour format.what are the syntax errors in this program.
The hours of a day can be represented in the am/pm format or in 24 hour format. Your employer wants a program that takes a ...
python am hour to 24 hour format.what are the syntax errors in this program.
The hours of a day can be represented in the am/pm format or in 24 hour format. Your employer wants a program that takes an hour in am/pm format and prints it in 24 hour format. You are given the following test data and an incomplete and erroneous program. The 24 hour clock used here may not be quite the same as the one you may be used to, but the test data we have provided conforms to the conventions used by your employer.Input Expected output0 am 03 am 312 pm 121 pm 1312 am 24# Problem: convert hour from am/pm to 24 hour format# Input: hour# Input: indicationhour = 1indication = 'pm'# Output: hour, an integer from 0 to 24 inclusiveif indication == 'am' hour = 24if indication == 'pm' hour = hour + 12print(hour)a. i.What are the inputs and outputs of this problem and their types?ii.What are the admissible values for the inputs?b. i.What are the syntax errors in this program?ii.Once they are corrected, which of the above tests would the program still fail and why?iii.Some borderline input values are missing from the test table. Indicate those input values and the expected outputs.c.The above program is based on the use of pattern 4.3. Explain why pattern 4.4 would be better at expressing the multiple cases. Express your corrected solution to the algorithm for the above program using that pattern. Note that steps 6 (and 6a) and 7 in Pattern 4.4 are optional. Notice also that in a number of cases, hour already has the correct value and nothing needs to be done.
IT 511 SNHU Instance Variables Accessors & Mutators Java Programming Exercise
Hi There,I'm working on a Java project to create a program that will help manage a collection of recipes. So far, I've bui ...
IT 511 SNHU Instance Variables Accessors & Mutators Java Programming Exercise
Hi There,I'm working on a Java project to create a program that will help manage a collection of recipes. So far, I've built the Recipe Class, but needs some help in ensuring that I have this constructed properly. I've attached the following project requirements for reference:1) IT 511 Milestone Two Guidelines and Rubric.pdf2) IT 511 Final Project Guidelines and Rubric.pdfAdditionally, I've attached my complied .java code for the Recipe, Ingredient and Recipe_Test classes. I'm using IntelliJ IDEA as my compiler. Programming is completely new to me and I'm not sure I'm on the right path here based on the requirements for the Final Project guidelines.
Similar Content
San Diego State University Cisco Packet Tracer Computer Networking Project
in the file about cisco packet tracer ...
CS 470 Grossmont College Rocky Linux plus NFS & FreeBSD plus E mail Service Labs
CS 470: Unix/Linux Sysadmin
Summer 2021 Lab 2
FreeBSD + e-mail service
This lab gets our hands dirty with the far-and-away...
Chapman University Double Letter Function Development Project
Write a function named find doubleletter(word) which returns True if the word has a letter that is
’doubled’ in the ...
Produce a REST API application that maintains a phone book of names and phone numbers.
Produce a REST API application that maintains a phone book of names and phone numbers. The program shall be capable of rec...
dr java programming only please
write a method called printNumbers that accepts maximum numbers as an argument and prints each number from 1 to up to th...
Anadroid Programming
Android IT preview . i just need 1 paragraph...
Q2 Datetime Checking
Problem Statement: Create two objects of DateTime using two different dates so each date has the Year, Month, Day, Hour, a...
Predictions Set The Variable
...
Discussion
1. How does a Clip Function differ from Select by Location? According to Wilpen (2017), a Clip Function is an ArcGIS tool ...
Related Tags
Book Guides
The 5 Love Languages
by Gary Chapman
The Russian Hoax
by Gregg Jarrett
Alice in Wonderland
by Lewis Carroll
Homo Deus
by Yuval Noah Harari
Dead Poets Society
by Nancy Horowitz Kleinbaum
Where'd You Go Bernadette
by Maria Semple
As I Lay Dying
by William Faulkner
Orphan Train
by Christina Baker Kline
Animal Farm
by George Orwell
Get 24/7
Homework help
Our tutors provide high quality explanations & answers.
Post question
Most Popular Content
MEAN with Cosmos DB
Complete the "Create a MongoDB app with Angular and Azure Cosmos DB (Links to an external site.)Links to an external site. ...
MEAN with Cosmos DB
Complete the "Create a MongoDB app with Angular and Azure Cosmos DB (Links to an external site.)Links to an external site." tutorial using your Azure account and submit a screenshot of your working project to the "MEAN with Cosmos DB" assignment in this module.1 - CreateThere are three "paths" shown for "Create":- Node.js- Node.js and Angular (the one I am asking you to complete)- Node.js and ReactIf you have the time and inclination, you can try all three, but for this assignment, you only need to do the "Node.js and Angular".2 - ImportYou probably do not have data to import from a MongoDB, so you might think about not reviewing this section, but this section also discusses how to find your connection string information (host, port, username, and password).3 - QueryThis section of the tutorial covers how to query data with MongoDB and provides example queries for you to use in your assignment and project.4- Distribute globallyWatch the videos, but you can minimize your cost for this assignment by limiting distribution.5 - Develop locallyIf your set up will support it, I would encourage you to download and install the Cosmos DB emulator to develop your projects and assignments, but be forewarned, there are a lot of caveats and details when using an emulator for code development, so be careful. This step is not required for this assignment.Once you have your project working, take a screenshot of a query. Make sure your screenshot includes the entire web app window so that there is enough information for me to determine that you successfully completed the assignment.I will give you my Azure account later.
Ashford University Data Sets for Functions Javascript Problems
Dataset
You will be working with two different sets of data for these functions: parks and users.
Parks is an array of obj ...
Ashford University Data Sets for Functions Javascript Problems
Dataset
You will be working with two different sets of data for these functions: parks and users.
Parks is an array of objects, similar to this:
const parks = [
{
id: 1,
name: "Acadia",
areaInSquareKm: 198.6,
location: { state: "Maine" },
},
{
id: 2,
name: "Canyonlands",
areaInSquareKm: 1366.2,
location: { state: "Utah" },
},
{
id: 3,
name: "Zion",
areaInSquareKm: 595.9,
location: { state: "Utah" },
},
];
Users is an object with a number of keys that represents each user. It looks something like this:
const users = {
"karah.branch3": {
visited: [2],
wishlist: [1, 3],
},
"dwayne.m55": {
visited: [2, 3],
wishlist: [1],
},
};
userHasVisitedAllParksInState
This function returns a boolean that represents whether or not a user has visited all parks in the parks array from a given state.
userHasVisitedAllParksInState(parks, users, "Utah", "dwayne.m55"); //> true
userHasVisitedAllParksInState(parks, users, "Utah", "karah.branch3"); //> false
IT 214 NOVA Car Rental Service MySQL Project
. You must use MySQL to implement the database you designed in Part I. Test the queries you used to create and populate th ...
IT 214 NOVA Car Rental Service MySQL Project
. You must use MySQL to implement the database you designed in Part I. Test the queries you used to create and populate the database in MySQL. After successful completion of an SQL query:Type your name at the following mysql> prompt.Take a screen shot (Alt + Print Screen) that includes the query, the confirmation message, the results (if any), and your name.Paste the screen shot in the appropriate location in your MS Word file.IMPORTANT NOTICE: If some of the tables in your database have the same names as the tables in the databases used in class (Premiere Products, Henry Books, and Alexamara Marina Group), re-name your tables. For instance, if the name of your table is CUSTOMER, change it to CUSTOMER_1. Do not delete existing tables from the databases used in class otherwise you will not be able to complete the rest of the homeworks.Part II must include:1.The title page with the course number, section number, and your name.2.The ERD of the database you designed in Part 1. If you have to make changes in the structure of the database, you must receive your professor’s approval before you implement them.3.Screen shots of the queries used to create tables and populate them with data. For each table, include the following:a.A screen shot(s) of the SQL query you used to create the table with appropriate attributes and data types together with primary keys, foreign keys, relationships and constraints.b.A screen shot(s) of the DESCRIBE table_name; command to show the structure of the table.c.A screen shot(s) of all SQL queries you used to populate the table with valid data. Each table must contain a minimum of 3 records.d.A screen shot(s) of the SELECT * command to show the resulting table with all the valid data inserted.Paste all screen shots from parts a-d for each table together in one place.4.Screen shots of SQL queries you used to retrieve data from the tables along with the query results. For each query, explain in a complete, coherent sentence what it is intended to do, what data is expected as a result and how they are different from previous queries. Clearly identify each screen shot you paste into this section. To create queries, use the following structures: A query that is based on two tables and includes both an arithmetic and a special operator in the conditional expression.A query that is based on more than two tables and includes both an arithmetic and a special operator in the conditional expression. Both the arithmetic and the special operator must be different from the ones used in part a.A query that includes a sub-query.A query that contains the GROUP BY clause, one of the aggregate functions, the WHERE statement, and the HAVING operator.Two additional complex queries designed by you that are different from the above. A complex query is based on two or more tables and includes either several conditions or a subquery (or both).
python am hour to 24 hour format.what are the syntax errors in this program.
The hours of a day can be represented in the am/pm format or in 24 hour format. Your employer wants a program that takes a ...
python am hour to 24 hour format.what are the syntax errors in this program.
The hours of a day can be represented in the am/pm format or in 24 hour format. Your employer wants a program that takes an hour in am/pm format and prints it in 24 hour format. You are given the following test data and an incomplete and erroneous program. The 24 hour clock used here may not be quite the same as the one you may be used to, but the test data we have provided conforms to the conventions used by your employer.Input Expected output0 am 03 am 312 pm 121 pm 1312 am 24# Problem: convert hour from am/pm to 24 hour format# Input: hour# Input: indicationhour = 1indication = 'pm'# Output: hour, an integer from 0 to 24 inclusiveif indication == 'am' hour = 24if indication == 'pm' hour = hour + 12print(hour)a. i.What are the inputs and outputs of this problem and their types?ii.What are the admissible values for the inputs?b. i.What are the syntax errors in this program?ii.Once they are corrected, which of the above tests would the program still fail and why?iii.Some borderline input values are missing from the test table. Indicate those input values and the expected outputs.c.The above program is based on the use of pattern 4.3. Explain why pattern 4.4 would be better at expressing the multiple cases. Express your corrected solution to the algorithm for the above program using that pattern. Note that steps 6 (and 6a) and 7 in Pattern 4.4 are optional. Notice also that in a number of cases, hour already has the correct value and nothing needs to be done.
IT 511 SNHU Instance Variables Accessors & Mutators Java Programming Exercise
Hi There,I'm working on a Java project to create a program that will help manage a collection of recipes. So far, I've bui ...
IT 511 SNHU Instance Variables Accessors & Mutators Java Programming Exercise
Hi There,I'm working on a Java project to create a program that will help manage a collection of recipes. So far, I've built the Recipe Class, but needs some help in ensuring that I have this constructed properly. I've attached the following project requirements for reference:1) IT 511 Milestone Two Guidelines and Rubric.pdf2) IT 511 Final Project Guidelines and Rubric.pdfAdditionally, I've attached my complied .java code for the Recipe, Ingredient and Recipe_Test classes. I'm using IntelliJ IDEA as my compiler. Programming is completely new to me and I'm not sure I'm on the right path here based on the requirements for the Final Project guidelines.
Earn money selling
your Study Documents