Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

Create a folder named LastName_FirstName in your local drive. (ex. Reyes_Mark)

  1. Using NetBeans, create a Java project named MovieTime. Set the project location to your own folder.
  2. Import Scanner, Queue, and LinkedList from the java.util package.
  3. Create two (2) Queue objects named movies and snacks.
  4. The output shall:

5.1 Ask the user to input three (3) movies that he would like to watch in a cinema

5.2 Ask the user to input three (3) snacks or beverages that he would like to eat while watching

5.3 Display all the movies and snacks in separate lines.

5.4 Ask the user to type S whenever he is done eating or drinking snack

5.5 Display the snacks remaining each time S is pressed and "No more snacks" when all snacks are eaten

6. Convert your code into a Python script

7.Save the script as movie_time.py to your folder


Procedure:


1. Create a folder named LastName_FirstName in your local drive. (ex. Reyes_Mark)


2. Using NetBeans, create a Java project named MovieTime. Set the project location to your own folder.


3. Import Scanner, Queue, and LinkedList from the java.util package.


4.Create two (2) Queue objects named movies and snacks.


5. Set Weekday as the parent of Monday. Import Scanner from java.util and LocalTime from java.time. For showAlarm(), add these two (2) statements:

          LocalTime alarm = LocalTime.parse(time);

          LocalTime now = LocalTime.now();

          Explanation: parse() converts String to time, while now() obtains the current time.


7. The output shall ask the user to enter the time for the alarm. If the time entered is past the current time, then display "Alarm is set for tomorrow!"; otherwise, display "I'll wake you up later!".


Write a program in c# sharp which will ask the user to create new username and password. Once finished creating, ask the user to log in using their log in details. the system will not terminate until such time the user enters both the username and password correctly


Instructions

Input four decimal numbers, they could be positive or negative.

Add all the negative numbers, and print the sum, up to 2 decimal places.


Input

A line containing four decimals/floats separated by a space.


sum of Ranges

Given a space-seperated list of integers as integers as input, write a program to and the elements in the given range and print their sum.

You you will be given M multiple range questions, where you should print sum of members that belong to the corresponding range.


Input

The first of input is space-separated integers.

The second line of input is a positive integer M denoting the nuber of quiries.

The next M lines contain two space-seperated integers.


output

The output should be M lines printing the sum of each indices range.


Explanation

In the example, the line of the integers is 12233346 and the 2 indices range.

0 2

1 4


Write a program that calculates the sum of the squares of the sides of a triangle

write a program which takes a number from the user if the number is not equal to 200, it asks the user to enter 4 more numbers and displays the result after subtracting the first 2 numbers and dividing the last 2 numbers.


Define two function in a class name matching. In the first function pass a single char array and match the repeated characters. The second function have two char array parameter and match that both are same strings or not.

Write a program to enter (15) numbers by using inputbox satement, then find (1):the average of positive numbers, (2):the summation of negative numbers, print the results in textboxes

given two strings inputString and subString as inputs write a js program to slice the inputString if it includes the subString. slice the inputString starting from the subString to the end of the input string.

the first line of input contains inputString

the second line of input contains subString

sample input 1:

JavaScript

S

sample output 1:

Script


sample input 2:

Language

air

sample output 2:

Language

note: use "strict"



LATEST TUTORIALS
APPROVED BY CLIENTS