Your Program Write a program that reads information about movies from a file named movies.txt. Each line of this file contains the name of a movie, the year the movie was released, and the revenue for that movie. Your program reads this file and stores the movie data into a list of movies. It then sorts the movies by title and prints the sorted list. Finally, your program asks the user to input a title and the program searches the list of movies and prints the information about that movie. To represent the movie data you have to create a struct named Movie with three members: title, yearReleased, and revenue. To handle the list of movies you have to create an array of Movie structs named topMovies capable of storing up to 20 movies. Your solution must be implemented using the following functions: storeMoviesArray(ifstream inFile, Movies topMovies[], const int SIZE) // This function receives the input file, the movies array, and the size of the // array. // It reads from the file the movie data and stores it in the array. // Once all the data has been read in, it returns the array with the information // of the movies. sortMoviesTitle(Movie topMovies[], const int SIZE)
// This function receives the movies array and the size of the array and sorts // the array by title. It returns the sorted array. printMoviesArray(Movie topMovies[], const int SIZE) // This function receives the movies array and the size of the array and prints // the list of movies. find MovieTitle(Movie topMovies[],const int SIZE, string title) // This function receives the movies array, the size of the array, and the title // of the movie to be searched for. // It returns the index of the array where the title was found. If the title was // not found, it returns - 1. It must use binary search to find the movie. main() // Takes care of the file (opens and closes it). // Calls the functions and asks whether to continue.

Answers

Answer 1

Answer:

To read information from a file and sort it by title and search for a specific movie in C++, you need to implement the functions storeMoviesArray, sortMoviesTitle, printMoviesArray, and findMovieTitle. The main function takes care of opening and closing the file, and calling the other functions.

Here is an example implementation:

#include <iostream>

#include <fstream>

#include <string>

#include <algorithm>

using namespace std;

struct Movie {

   string title;

   int yearReleased;

   double revenue;

};

void storeMoviesArray(ifstream& inFile, Movie topMovies[], const int SIZE) {

   int count = 0;

   while (inFile >> topMovies[count].title >> topMovies[count].yearReleased >> topMovies[count].revenue) {

       count++;

       if (count == SIZE) {

           break;

       }

   }

}

void sortMoviesTitle(Movie topMovies[], const int SIZE) {

   sort(topMovies, topMovies + SIZE, [](const Movie& a, const Movie& b) {

       return a.title < b.title;

   });

}

void printMoviesArray(Movie topMovies[], const int SIZE) {

   for (int i = 0; i < SIZE; i++) {

       cout << topMovies[i].title << " (" << topMovies[i].yearReleased << "), " << "$" << topMovies[i].revenue << endl;

   }

}

int findMovieTitle(Movie topMovies[],const int SIZE, string title) {

   int start = 0;

   int end = SIZE - 1;

   while (start <= end) {

       int mid = start + (end - start) / 2;

       if (topMovies[mid].title == title) {

           return mid;

       }

       else if (topMovies[mid].title < title) {

           start = mid + 1;

       }

       else {

           end = mid - 1;

       }

   }

   return -1;

}

int main() {

   const int SIZE = 20;

   Movie topMovies[SIZE];

   ifstream inFile("movies.txt");

   if (!inFile) {

       cerr << "Cannot open file.\n";

       return 1;

   }

   storeMoviesArray(inFile, topMovies, SIZE);

   inFile.close();

   sortMoviesTitle(topMovies, SIZE);

   printMoviesArray(topMovies, SIZE);

   cout << endl;

   string title;

   cout << "

Explanation:


Related Questions

what are two types of drag that act on an aircraft in flight

Answers

Answer:

Parasite drag and induced drag.

What is thermodynamics

Answers

Explanation:

Thermodynamics is the branch of science that deals with the relation between radiation, energy, physical properties of matter.

There are 4 laws of thermodynamics namely as follows :

Zeroth Law, First Law, Second Law and Third Law.

There are 4 branches of thermodynamics:

Classical thermodynamics, Statistical mechanics, Chemical thermodynamics and Equilibrium thermodynamics.

Hence, this is the required solution.

Answer:

The movement of heat

Explanation:

Is a 10 foot ladder long enough to safely reach a landing that is 9 feet above the adjacent floor

Answers

Answer:

Definitely not

Explanation:

You should have 1-2 feet of extra ladder on a flat surface so 1 foot on an adjacent floor is a no no

which architectural best practices should be followed to reduce interdependencies between systems? aws

Answers

Loose Coupling. Loose coupling is a method of connecting system or network components so that they depend on one another as little as possible. These components are also known as elements.

What does "loose coupling" mean?Loose coupling is a method of connecting system or network components so that they depend on one another as little as possible. These components are also known as elements. The degree of direct knowledge that one element has about another is referred to as coupling.An architecture that achieves loose coupling offers a number of benefits, such as: Loosely connected services boost the evolvability, encourage various adjustments, and lead to new solutions, particularly in scenarios where the system must be able to adapt to environmental changes.A loosely linked system is one that has components that are weakly related (have breakable relationships) with one another, meaning that changes to one component have the least impact on the existence or functionality of another component.  

To learn more about Loose coupling refer to:

https://brainly.com/question/14652521

#SPJ4

Pressure bleeding is being discussed. Technician A says to pump the brake pedal several times during the bleed procedure. Technician B says to hold the metering valve open during the bleed procedure. Who is correct

Answers

Neither Technician A nor Technician B is completely correct.

When performing a pressure bleeding procedure on a brake system, it is not necessary to pump the brake pedal several times. In fact, doing so can introduce air bubbles into the brake system and make the bleeding process less effective. Instead, a pressure bleeder is used to force brake fluid through the system while the bleeder valves are opened to allow the fluid and any air bubbles to escape.

As for Technician B, there is no need to hold the metering valve open during the bleed procedure. The metering valve, also known as a proportioning valve, is designed to regulate the pressure between the front and rear brakes, and does not typically need to be adjusted or manipulated during a brake bleeding procedure.

Therefore, neither Technician A nor Technician B is completely correct. The proper procedure for pressure bleeding a brake system involves using a pressure bleeder to force brake fluid through the system, while opening the bleeder valves to allow any air bubbles to escape. The metering valve does not need to be manipulated or adjusted during this process.

If you had to pick a priority for future engineers, what would it be and why?

Answers

Answer:

Explanation:

Civil engineers have become experts in creating sustainable and environmentally friendly buildings and systems. Multiplied over many communities, the energy and emissions savings can make a real difference in the environment. Other life-improving functions can also make communities better places to live.Jul 19, 2017

Describe each stage, utilizing 50-75 words, including the generally accepted economic activities that occur during and between the stages.

Answers

Economic activities can occur during and between different stages of various processes.

How to explain the information

Here are some examples:

Production Stage: During the production stage, economic activities can include the purchase of raw materials, labor costs, and the use of machinery and equipment.

Distribution Stage: During the distribution stage, economic activities can include transportation costs, warehousing costs, and marketing costs.

Consumption Stage: During the consumption stage, economic activities can include the purchase of goods and services by consumers.

Recycling Stage: During the recycling stage, economic activities can include the collection and processing of waste materials, the production of recycled materials, and the sale of these materials to manufacturers.

Innovation Stage: Economic activities during the innovation stage can include research and development expenses, patents, and intellectual property rights.

Service Stage: During the service stage, economic activities can include the provision of services to customers, such as consulting, repair, and maintenance services.

Investment Stage: During the investment stage, economic activities can include the purchase of securities, property, and other assets.

Overall, economic activities occur throughout various stages of a process, from the production of goods and services to their consumption and beyond.

Learn more about economic activities on

https://brainly.com/question/14545466

#SPJ1

When using a digital multimeter, setting the meter to a higher range than is noramally require will

Answers

When using a digital multimeter, set the meter to a higher range than is normally required will the range selector to be set to AC for of current and the maximum range selected for the current measurement.

What is a Digital Multimeter?

Digital multimeters are measuring tools capable of measuring voltage, current, and resistance. Measured data are shown on a digital display, allowing even inexperienced users to view them quickly and immediately.

Multimeters are classified into two categories: analog and digital. The key distinction between the two is the display; an analog multimeter displays the value with a needle, whilst a digital multimeter displays the data as numbers on a screen.

Analog multimeters are less accurate than digital multimeters. Standard analog multimeters typically have a 3% accuracy. Digital multimeters have an accuracy of 0.5%. Because of erroneous pointer readings, analog multimeters are also less accurate.

Learn more about digital multimeters:
https://brainly.com/question/5135212
#SPJ1

Explain why a project team would choose to prepare a low-fidelity version of a Web site design using sticky notes

Answers

A project team may choose to prepare a low-fidelity version of a website design using sticky notes for several reasons:

Sticky notes allow for quick and easy changes. Since they are easy to move around and modify, the team can iterate on the design quickly, making adjustments and improvements without investing significant time or resources. This promotes an iterative design process, enabling the team to refine and enhance the design rapidly.Collaboration and Communication: Sticky notes facilitate collaboration and communication among team members. They can be easily placed on a whiteboard or a wall, allowing everyone to visualize and discuss the design together. Team members can share their ideas, suggestions, and feedback by directly manipulating the sticky notes, fostering effective communication and collaboration within the team.Low Cost and Accessibility: Sticky notes are affordable and readily available, making them a cost-effective option for creating prototypes. Compared to digital design tools or high-fidelity prototypes, sticky notes are inexpensive and accessible to all team members, regardless of their technical expertise. This inclusivity encourages participation from different stakeholders and promotes a diverse range of perspectives during the design process.Focus on Conceptual Design: Low-fidelity designs with sticky notes primarily focus on the conceptual aspects of the website, such as layout, content organization, and user flow. By avoiding intricate details or visual aesthetics, the team can concentrate on the fundamental structure and functionality of the design. This allows for early validation and testing of design concepts before investing significant time and resources in higher-fidelity prototypes.Emphasis on User Experience: Sticky notes enable the team to simulate user interactions and test the usability of the design. By physically moving and rearranging the sticky notes, the team can simulate user flows and assess the user experience. This hands-on approach allows for early identification of potential usability issues, leading to design improvements and a better user experience.

To learn more about fidelity click on the link below:

brainly.com/question/26959627

#SPJ11

Explain why the scenario below fails to illustrate an understanding of the importance of metrology. Situation: Natalie is a calibration technician at a food production plant. Natalie: "The oven is just a couple of degrees off. I will just wait a few hours to see if it will level out on its own"

Answers

Answer:

Explanation:

The situation being described completely fails in regard to the importance of metrology. This is because the main importance of metrology is making sure that all of the measurements in a process are as accurate as possible. This accuracy allows an entire process to function efficiently and without errors. In a food production plant, each individual department of the plant relies on the previous function to have completed their job with the correct and accurate instructions so that they can fulfill their functions correctly and end up with a perfect product. If the oven (like in this scenario) is a couple of degrees off it can cause the product to come out burned or undercooked, which will then get transferred to the next part of production which will also fail due to the failed input (burned or undercooked product). This will ultimately lead to an unusable product at the end of the process and money wasted. Which in a large production plant means thousands of products in a single batch are thrown away.

In terms of the necessity of metrology, the situation stated absolutely fails. This is because metrology's primary goal is to ensure that all measurements in a process are as precise as feasible. This precision allows a whole process to run smoothly and error-free. If the oven temperature is wrong by a few degrees, the product will come out charred or undercooked, and the product will be sent to the next step of the process, which will also fail owing to the failed input. This will result in a useless product and a waste of money at the end of the procedure. In a big manufacturing facility, this means thousands of goods are discarded in a single batch.

The force of T = 20 N is applied to the cord of negligible mass. Determine the angular velocity of the 20-kg wheel when it has rotated 4 revolutions starting from rest. The wheel has a radius of gyration of kO = 0.3 m.

Answers

Image of wheel is missing, so i attached it.

Answer:

ω = 14.95 rad/s

Explanation:

We are given;

Mass of wheel; m = 20kg

T = 20 N

k_o = 0.3 m

Since the wheel starts from rest, T1 = 0.

The mass moment of inertia of the wheel about point O is;

I_o = m(k_o)²

I_o = 20 * (0.3)²

I_o = 1.8 kg.m²

So, T2 = ½•I_o•ω²

T2 = ½ × 1.8 × ω²

T2 = 0.9ω²

Looking at the image of the wheel, it's clear that only T does the work.

Thus, distance is;

s_t = θr

Since 4 revolutions,

s_t = 4(2π) × 0.4

s_t = 3.2π

So, Energy expended = Force x Distance

Wt = T x s_t = 20 × 3.2π = 64π J

Using principle of work-energy, we have;

T1 + W = T2

Plugging in the relevant values, we have;

0 + 64π = 0.9ω²

0.9ω² = 64π

ω² = 64π/0.9

ω = √64π/0.9

ω = 14.95 rad/s

The force of T = 20 N is applied to the cord of negligible mass. Determine the angular velocity of the

It is safe to keep a cylinder next to the actual welding or cutting operation, true or false?

Answers

Answer:

Explanation:

Cylinders shall be kept far enough away from the actual welding or cutting operation so that sparks, hot s lag, or flame will not reach them. When this is impractical, fire resistant shields shall be provided. Cylinders shall be placed where they cannot become part of an electrical circuit.

New tie rod ends are being installed. Technician A says it is a good idea to replace the cotter pin. Technician B says to tighten the retaining nut to the low side of the torque spec then further tighten to align the cotter key hole. Which technician is correct

Answers

Answer:

technician b?

Explanation:

Consider a half-wave peak rectifier fed with a voltage vS having a triangular waveform with 24-V peak-to-peak amplitude, zero average, and 1-kHz frequency. Assume that the diode has a 0.7-V drop when conducting. Let the load resistance R = 100 and the filter capacitor C = 100 μF. Find the average dc output voltage, the time interval during which the diode conducts, the average diode current during conduction, and the maximum diode current.

Answers

The average dc output voltage is 8.2 V. The time interval during which the diode conducts is 60° (i.e., 1/6 of the period). The average diode current during conduction is 78.7 mA. The maximum diode current is 365.1 mA.


Half-wave peak rectifier is a circuit that converts an AC voltage waveform into a pulsating DC voltage waveform. It consists of a diode, a load resistance, and a filter capacitor. The diode conducts during the positive half-cycle of the AC voltage and blocks during the negative half-cycle, resulting in a pulsating DC voltage waveform.
The average dc output voltage of a half-wave rectifier can be calculated using the formula Vdc = Vm/π, where Vm is the peak voltage of the AC waveform. In this case, Vm is 12 V, so the average dc output voltage is 8.2 V.
The time interval during which the diode conducts is equal to the time taken for the AC voltage to rise from zero to the peak voltage, which is 30° (i.e., 1/12 of the period). However, since the waveform is triangular, the diode will continue to conduct for an additional 30° as the voltage falls from the peak to zero. Therefore, the total time interval during which the diode conducts is 60° (i.e., 1/6 of the period).
The average diode current during conduction can be calculated using the formula Idc = Im/π, where Im is the peak diode current. In this case, Im is equal to (Vm - Vd)/R, where Vd is the voltage drop across the diode when conducting. Substituting the given values, we get Im = 365.1 mA, and hence Idc = 78.7 mA.
The maximum diode current occurs when the diode is conducting at the peak of the AC waveform. In this case, the maximum diode current is (Vm - Vd)/R, which is equal to 365.1 mA.

Learn more about output voltage here:

https://brainly.com/question/15130306

#SPJ11

The average dc output voltage is 8.2 V. The time interval during which the diode conducts is 60° (i.e., 1/6 of the period). The average diode current during conduction is 78.7 mA. The maximum diode current is 365.1 mA.


Half-wave peak rectifier is a circuit that converts an AC voltage waveform into a pulsating DC voltage waveform. It consists of a diode, a load resistance, and a filter capacitor. The diode conducts during the positive half-cycle of the AC voltage and blocks during the negative half-cycle, resulting in a pulsating DC voltage waveform.
The average dc output voltage of a half-wave rectifier can be calculated using the formula Vdc = Vm/π, where Vm is the peak voltage of the AC waveform. In this case, Vm is 12 V, so the average dc output voltage is 8.2 V.
The time interval during which the diode conducts is equal to the time taken for the AC voltage to rise from zero to the peak voltage, which is 30° (i.e., 1/12 of the period). However, since the waveform is triangular, the diode will continue to conduct for an additional 30° as the voltage falls from the peak to zero. Therefore, the total time interval during which the diode conducts is 60° (i.e., 1/6 of the period).
The average diode current during conduction can be calculated using the formula Idc = Im/π, where Im is the peak diode current. In this case, Im is equal to (Vm - Vd)/R, where Vd is the voltage drop across the diode when conducting. Substituting the given values, we get Im = 365.1 mA, and hence Idc = 78.7 mA.
The maximum diode current occurs when the diode is conducting at the peak of the AC waveform. In this case, the maximum diode current is (Vm - Vd)/R, which is equal to 365.1 mA.

Learn more about output voltage here:

https://brainly.com/question/15130306

#SPJ11

Discuss and elaborate three positive impact of seaport
wayfinding to community

Answers

Seaport wayfinding has three positive impacts on the community: increased economic activity, improved tourism, and enhanced safety and efficiency.

1. Increased economic activity: Seaport wayfinding helps boost economic activity by facilitating trade and commerce. Efficient wayfinding systems guide cargo vessels and shipping containers to their designated berths, reducing delays and improving turnaround times. This results in faster loading and unloading of goods, which enhances supply chain efficiency. As a result, businesses can save time and money, and productivity increases. According to a study conducted by the American Association of Port Authorities, ports contribute significantly to the national economy, supporting millions of jobs and generating billions of dollars in economic output.

2. Improved tourism: Seaport wayfinding plays a crucial role in attracting tourists and enhancing their experience. Clear signage and navigation systems help visitors easily locate popular attractions, transportation terminals, and recreational areas within the seaport. This enhances the overall tourism experience, encourages longer stays, and boosts local businesses such as hotels, restaurants, and retail establishments. Additionally, efficient wayfinding reduces the likelihood of tourists getting lost or experiencing frustration, leading to positive reviews and word-of-mouth recommendations.

3. Enhanced safety and efficiency: Wayfinding systems in seaports improve safety by providing clear directions and information regarding emergency exits, evacuation routes, and safety protocols. In the event of an emergency, quick and efficient evacuation procedures can save lives. Furthermore, effective wayfinding reduces congestion and improves traffic flow within the port, preventing accidents and reducing delays. This improves overall operational efficiency and ensures that goods and people can move smoothly and safely within the seaport.

Seaport wayfinding has a multitude of positive impacts on the community. It boosts economic activity by streamlining trade and commerce, attracts tourists by improving their experience, and enhances safety and efficiency within the seaport. These benefits contribute to the overall growth and prosperity of the community, creating a positive ripple effect on the local economy and quality of life. Implementing and maintaining effective wayfinding systems in seaports should be a priority to capitalize on these advantages and foster sustainable development.

To know more about Efficiency, visit

https://brainly.com/question/27870797

#SPJ11

a plug-in transformer, supplies 9.00 v to a video game system. what is its input current when its output is 1.30 a?

Answers

The calculated answer is NpVs = NsVp=- 0.086A

utilizing the transformer formula, which, as shown, connects the coil's number of turns N, emf V, and produced current I;

where Ns/Np = Vs/Vp = Ip/Is;

The secondary and primary coils' respective turn counts are Ns and Np, respectively.

The relative emf in the secondary and primary coils is Vs and Vp.

The current in the secondary and primary coils, respectively, is and is

assuming Vp = 120V (input voltage), Np = 384 turns, and Vs = 9V (output voltage) Ns =?

Using the equation Ns/Np = Vs/Vp

Ns/384 = 9/120

multiplying by two

120Ns = 384×9

120Ns = 3456

Ns = 3456/120

Ns = 28.8

Ns = roughly 29 turns

9/120 = Ip/1.14

multiplied by two;

120Ip = 9×1.14

120Ip = 10.26

Ip = 10.26/120

Ip = 0.086A

Learn more about output here-

https://brainly.com/question/24179864

#SPJ4

Two identical billiard balls can move freely on a horizontal table. Ball a has a velocity V0 and hits balls B, which is at rest, at a point C defined by θ=45°. knowing that the coefficient of restitution between the two balls is e=0.8 and assuming no friction , determine the velocity of each ball after impact?

Answers

Answer:

Velocity of ball B after impact is \(0.6364v_0\) and ball A is \(0.711v_0\)

Explanation:

\(v_0\) = Initial velocity of ball A

\(v_A=v_0\cos45^{\circ}\)

\(v_B\) = Initial velocity of ball B = 0

\((v_A)_n'\) = Final velocity of ball A

\(v_B'\) = Final velocity of ball B

\(e\) = Coefficient of restitution = 0.8

From the conservation of momentum along the normal we have

\(mv_A+mv_B=m(v_A)_n'+mv_B'\\\Rightarrow v_0\cos45^{\circ}+0=(v_A)_n'+v_B'\\\Rightarrow (v_A)_n'+v_B'=\dfrac{1}{\sqrt{2}}v_0\)

Coefficient of restitution is given by

\(e=\dfrac{v_B'-(v_A)_n'}{v_A-v_B}\\\Rightarrow 0.8=\dfrac{v_B'-(v_A)_n'}{v_0\cos45^{\circ}}\\\Rightarrow v_B'-(v_A)_n'=\dfrac{0.8}{\sqrt{2}}v_0\)

\((v_A)_n'+v_B'=\dfrac{1}{\sqrt{2}}v_0\)

\(v_B'-(v_A)_n'=\dfrac{0.8}{\sqrt{2}}v_0\)

Adding the above two equations we get

\(2v_B'=\dfrac{1.8}{\sqrt{2}}v_0\\\Rightarrow v_B'=\dfrac{0.9}{\sqrt{2}}v_0\)

\(\boldsymbol{\therefore v_B'=0.6364v_0}\)

\((v_A)_n'=\dfrac{1}{\sqrt{2}}v_0-0.6364v_0\\\Rightarrow (v_A)_n'=0.07071v_0\)

From the conservation of momentum along the plane of contact we have

\((v_A)_t'=(v_A)_t=v_0\sin45^{\circ}\\\Rightarrow (v_A)_t'=\dfrac{v_0}{\sqrt{2}}\)

\(v_A'=\sqrt{(v_A)_t'^2+(v_A)_n'^2}\\\Rightarrow v_A'=\sqrt{(\dfrac{v_0}{\sqrt{2}})^2+(0.07071v_0)^2}\\\Rightarrow \boldsymbol{v_A'=0.711v_0}\)

Velocity of ball B after impact is \(0.6364v_0\) and ball A is \(0.711v_0\).

Read Shakespeare's "Sonnet 100.”

Where art thou, Muse, that thou forget'st so long
To speak of that which gives thee all thy might?
Spend'st thou thy fury on some worthless song,
Darkening thy power to lend base subjects light?
Return, forgetful Muse, and straight redeem
In gentle numbers time so idly spent;
Sing to the ear that doth thy lays esteem
And gives thy pen both skill and argument.
Rise, resty Muse, my love's sweet face survey,
If Time have any wrinkle graven there;
If any, be a satire to decay,
And make Time's spoils despised every where.
Give my love fame faster than Time wastes life;
So thou prevent'st his scythe and crooked knife.

The underlined section is referred to as a(n)

couplet
iamb.
pentameter.
quatrain.

Answers

Answer: quatrain

Explanation:

Reading the Shakespeare's "Sonnet 100", we can infer that the underlined section is referred to as a quatrain.

The quatrain simply refers to a type of stanza that is made up of four lines. For example, based on the information given, we can deduce that the rhyme scheme for the second quatrain is given as cdcd.

The underlined section is referred to as a pentameter. Thus, option C is correct.

What is Sonnet 100?

William Shakespeare is a poem consisting of fourteen lines with one stanza that follows the standard Shakespearean format. With this format, the sonnet must consist of a total of three quatrains, or groups of four lines, and a final couplet.

One can infer from Shakespeare's "Sonnet 100" that the section with the asterisks is frequently referred to as a quatrain. In poetry, a quatrain is a group of four paragraphs that constitutes a single verse, or verse, of a poem.

The term "quatrain" simply designates a four-line stanza type. For instance, we can infer from the details provided that the 2nd quatrain's rhyme scheme is cdcd. Therefore, option C is correct.

Learn more about Sonnet 100, here:

https://brainly.com/question/30127534

#SPJ5

Christopher needs to order some new supplies for the restaurant where he works. The restaurant needs at least 775 spoons. There are currently 355 spoons. If each set on sale contains 10 spoons, write and solve an inequality which can be used to determine s, the number of sets of spoons Christopher could buy for the restaurant to have enough spoons.​

Answers

The inequality which can be used to determine s, the number of sets of spoons Christopher could buy for the restaurant to have enough spoons is

35 + 10s ≥ 75

What is an inequality?

An inequality is simply used to show the relationship between the expressions that aren't equal.

The restaurant needs at least 75 spoons and there are currently 35 spoons and each set on sale contains 10 spoon.

Let each set be represented as s. This will be illustrated as:

35 + (10 × s) ≥ 75

35 + 10s ≥ 75

Collect like terms

10s ≥ 75 - 30

10s ≥ 45

Divide

s ≥ 45/10

s ≥ 4.5

The restaurant must have at least 5 sets.

Learn more about inequalities on:

brainly.com/question/11613554

#SPJ1

The inequality that can be used to determine s, the number of sets of spoons Christopher could buy for the restaurant, is 35 + 10s ≥ 75.

What is inequality?

Inequality is a term used to show two relations between two values that are not equal to each other.

Given, the restaurant needs at least 775 spoons. They have 355 spoons and each set contains 10 spoons.

Then the expression is ;

35 + (10 × s) ≥ 75

35 + 10s ≥ 75

Like terms are extracted

10s ≥ 75 - 30

10s ≥ 45

s ≥ 45/10

s ≥ 4.5

Thus, the inequality in the number of sets of spoons is 35 + 10s ≥ 75.

To learn more about inequality, refer to the below link:

https://brainly.com/question/28923367

#SPJ1

Which company introduced the Windows operating system correct answer plz

Answers

Answer:

I think Microsoft Corporation

Let X and Y be independent Bernoulli variables such that P(X = 1) = p, P(Y = 1) = q for some 0 ≤ p, q ≤ 1. Find P(X ⊕2 Y = 1)

Answers

Answer:

dddddddddddddddddddddddddddddddddddddd

Explanation:

A nutrunner on the engine assembly line has been faululing for low torque. (A nutrunner is an automated machine that automatically torques bolts to a specified condition.) When the fault odcurs, the line stops until someone can investigate or correct the issue. This has been a problem for the past two weeks, and all employees on the assembly line are having to work overtime each day to make up for the lost time from the nutrunner issues. Please explain and visualize the process you would take to solve or improve this problem.

Answers

A nutrunner on the engine assembly line has been failing for low torque. process includes identifying the root cause of the fault, and optimizing the nut runner's performance.

The first step would be to investigate the cause of the low torque issue in the nut runner. This may involve examining the machine, reviewing maintenance records, and gathering data on when and how the fault occurs. Once the root cause is identified, corrective actions can be taken. This may include repairing or replacing faulty components, recalibrating the nut runner, or updating software/firmware.

To prevent future occurrences, implementing a preventive maintenance program is crucial. Regular inspections, scheduled maintenance tasks, and performance testing can help identify and address potential issues before they lead to line stoppages. Additionally, providing thorough training to operators and maintenance staff on nutrunner operation, maintenance procedures, and troubleshooting techniques can contribute to quicker resolution of faults and reduce downtime.

Continuous monitoring of the nutrunner's performance is essential to ensure it operates within specified tolerances. This can be done through real-time data collection and analysis, including torque measurement and trend analysis. By closely monitoring the nutrunner's performance, any deviations or anomalies can be detected early, allowing for proactive interventions.

Overall, a systematic approach that combines investigation, preventive maintenance, employee training, and continuous monitoring can help solve the problem of the faulty nutrunner and improve the efficiency and productivity of the assembly line.

To learn more about torque visit:

brainly.com/question/17512177

#SPJ11

Franco is responsible for decomposing the work for a project to host a major conference. Which two things should be use to get started?​

Answers

Answer:

scope statement and deliverables

Explanation:

Francisco Franco Bahamonde was a Spanish general who ruled over Spain from 1939 to 1975 as a dictator., assuming the title Caudillo.

Franco's ideology included the following consistent points:

Authoritarianism

Nationalism

National Catholicism

Militarism, conservatism

Franco is responsible for decomposing the work for a project to host a major conference.

Scope statement and deliverables should be used to get started.

How pine are processed ????

Answers

Answer:

The in-shell pine nuts enter a long rotating cylinder where the shells are crushed between two cylinders (2). The product is then sieved/sorted to spate the shells from the nuts, leaving the nuts ready for further processing. Once the shelling process is complete, the pine nuts are then dried.

Explanation:

hope it helps:)

What lives at layer 3 (the network layer) of the OSI model?

Answers

Layer 3 of the OSI (Open Systems Interconnection) model, known as the network layer, is responsible for providing end-to-end communication between hosts in different networks.

The network layer is responsible for routing and forwarding data packets across different networks, as well as handling addressing and logical connectivity.

The main entities that live at layer 3 (the network layer) of the OSI model include:

Routers: Routers are network devices that operate at the network layer and are responsible for forwarding data packets between different networks. They use routing tables and protocols to determine the best path for data packets to reach their destination across multiple networks.

IP (Internet Protocol): IP is a network layer protocol that provides logical addressing and routing functionality. It is responsible for assigning unique IP addresses to devices on a network, and for routing data packets based on those IP addresses.

ICMP (Internet Control Message Protocol): ICMP is a network layer protocol that is used for sending error messages and operational information about network conditions. It is often used for diagnostic purposes, such as ping and traceroute, to check the connectivity and status of network devices.

Network Addressing: Layer 3 is also responsible for assigning and managing IP addresses, which are used to uniquely identify devices on a network.

Subnetting and VLANs: Layer 3 may also involve subnetting and VLANs (Virtual Local Area Networks), which are used for network segmentation and management to improve efficiency and security.

In summary, layer 3 of the OSI model includes routers, IP, ICMP, network addressing, and other protocols and technologies that are responsible for routing, addressing, and logical connectivity in a network.

learn more about  OSI   here:

https://brainly.com/question/25404565

#SPJ11

A pile driver of mass 300 kg is used to drive a pile of mass 500 kg vertically into the ground. The pile driver falls freely through a distance of 54.0 m, rebounding with a velocity relative to the pile and equal to the relative velocity immediately before impact. Determine: the velocity of the driver immediately before impact: the velocity of he pile immediately after the impact: the depth of penetration of the pile after impact given that the ground resisting force is constant and equal to 115 kN: (4 marks) the time taken for the penetration. ​

Answers

We can use the principle of conservation of energy to solve this problem. First, we need to find the velocity of the driver immediately before impact, which is 42.4 m/s. Next, we can find the velocity of the pile immediately after impact, which is 25.4 m/s. Then, we can use the work-energy principle to find the depth of penetration of the pile after impact, which is 5.24 m. Finally, we can use the kinematic equation to find the time taken for the penetration, which is 1.02 seconds.

Your company wishes to write a computer program that will calculate the amount of heat needed to increase the temperature of a substance by a specified number of degrees. The company also wishes to know who ran the program and on what day of the week they ran it.

You are to write this program. Your program must allow the user to enter the following:

The user’s name using a dialog box

Since the program will only be run either on Monday, Wednesday, or Friday, restrict the day of the week to these selections using a question dialog

The mass of the substance in units of grams

The specific heat of the substance in units of J/(kg K)

The initial temperature of the substance in units of degrees Fahrenheit

The final temperature of the substance in units of degrees Fahrenheit

Answers

// here is Hw1_q1_code.c

#include <stdio.h>

// main function

int main(void) {

// variables

float dis_mon,dis_tue,dis_wed,dis_thu,dis_fri;

printf("enter distance ran by athlete on monday:");

// read distance on monday

scanf("%f",&dis_mon);

printf("enter distance ran by athlete on tuesday:");

// read distance on tuesday

scanf("%f",&dis_tue);

printf("enter distance ran by athlete on wednesday:");

// read distance on wednesday

scanf("%f",&dis_wed);

printf("enter distance ran by athlete on thursday:");

// read distance on thursday

scanf("%f",&dis_thu);

printf("enter distance ran by athlete on friday:");

// read distance on friday

scanf("%f",&dis_fri);

// total distance

float sum=dis_mon+dis_tue+dis_wed+dis_thu+dis_fri;

// average distance

float average=sum/5;

// print the total and average

printf("total distance ran by athlete is: %f miles",sum);

printf("\naverage distance ran each day is: %f miles",average);

return 0;

}

Declare five variables to store distance ran by athlete on each day from monday to friday.Read the five distance.Then calculate their sum and assign to variable "sum".Find the average distance ran by athlete by dividing sum with 5 and assign to variable "average".Then print the total distance ran and average distance on each day.

enter distance ran by athlete on monday:10                                                                                            

enter distance ran by athlete on tuesday:11                                                                                          

enter distance ran by athlete on wednesday:8                                                                                          

enter distance ran by athlete on thursday:9                                                                                          

enter distance ran by athlete on friday:12                                                                                            

total distance ran by athlete is: 50.000000 miles                                                                          

average distance ran each day is: 10.000000 miles

Learn more about program on:

https://brainly.com/question/11023419

#SPJ4


The purpose of the Roadway Worker Protection program is to:

Answers

Answer: The objective of an RWP program is to create conditions in which workers may perform duties on or near the right-of-way with consistent and strong programs in place to ensure worker safety.

What is the purpose of having a ventilation system on board a motorized vessel?.

Answers

The purpose of having a ventilation system on board a motorized vessel is : To remove flammable gas from a vessel to avoid explosions.

Meaning of ventilation system

A ventilation system can be defined as a system that allows for removal of gases from a vessel to the atmosphere.

A Ventilation system is very important in every motorized vessel because they help to eliminate or remove flammable gases that are dangerous and are liable to explode when held in a large amount in the engine.

In conclusion, The purpose of having a ventilation system on board a motorized vessel is to remove flammable gas from a vessel their by avoiding explosions.

Learn more about Ventilation System: https://brainly.com/question/1687520

#SPJ4

What energy type is represented in the picture?
A. Electrical
B. Elastic
C. Gravitational
D. Thermal​

What energy type is represented in the picture?A. ElectricalB. ElasticC. GravitationalD. Thermal

Answers

It’s elastic energy
You got it correct! It would be considered Elastic.
Other Questions
Can ya'll help- none of the answers i've gotten match any answers- Open market purchases raise the _____ thereby raising the _____.A) money multiplier; money supplyB) money multiplier; monetary baseC) monetary base; money supplyD) monetary base; money multiplier Based on the maps, which state listed below was located in the Southwest Native American cultural region? New Mexico Florida Ohio North Dakota New Mexico Florida Ohio North Dakota A group of 26 friend are going to travel to a fetival together, 6 of them can drive. They have a 13 peron mini-bu (1 driver 12 paenger), two car (1 driver and 4 paenger in each car) and the remaining 3 friend will take the train. The number of way in which the friend can travel (ignoring paenger eat poition within each vehicle) i a1012. Work out the value of a. Give your anwer correct to 3 ignificant figure "They have places to go to" is an example ofhyperbolemetaphor.personification.simile Ann needs to share information about a new hiring policy. She needs to communicate this information to more than one hundred employees. Ann should _____. which category of burglars is most likely to contain mainly juveniles? The following cost breakdown is available for a property situated on the North Shore in Sydney: land $1 124 000; excavation $51 300; foundation $47 250; framing $162 300; corrugated steel exterior wall $167 500; brick facade (glass) $56 000; floor furnishing concrete $61 000; interior finish $28 900; lighting, fixtures and electrical work $45 000; plumbing $114 500; heating/air-conditioning $100 225; parking $32 000; solicitor, architect and accountant fees $250 000. Using the summation method, find the value of the property. What are the main objectives of investment?. 3. What is a sum of money set aside for something?* A box is 50 cm long. which of these is closest to the length of this box in feet? (1 inch = 2.54 cm) [Exceptions, Function calling another function] Write a function ticker() that first runs (calls) read_ticker() and then stores the returned dictionary. It then runs an interactive loop with the user in which the user is prompted for a company name. If the company name (key) is in the dictionary, then its ticker form and the IPO year is printed. Otherwise a warning is printed that the company name is not in the list. If the user just hits return without entering a name, the loop stops.this is the function that needs to be called:def read_ticker(): d = {'1347 Capital Corp.': ('TFSCW', '2014'), '1347 Property Insurance Holdings, Inc.': ('PIH', '2014'), '1-800 FLOWERS.COM, Inc.': ('FLWS', '1999')} return d I'll give brainliest if you answer 11 and 12 Because devastation of world wAr 1 what best describes international attitude towards German6 Lysosomes are organelles that contain enzymes. Which of the following is a function of lysosomes?A:Lysosomes package lipids, carbohydrates, and proteinsB: Lysosomes break down lipids, carbohydrates, and proteins.C: Lysosomes store lipids, carbohydrates, and proteins. List three examples of health risks of smokeless tobacco. What would you do if you crossed a person who has wavy hair (Hh) with a person who has curly hair(HH) I fell asleep in class can someone please help me! Se puede inferir que los hijos de Nstor, encuentran a su prima engreda por: a) Porque ella no los visita cuando su ta se queda en casa de su hijo.b) Porque ellos trabajan en la construccin y no estudian.c) Porque ella estudia en un colegio particular subvencionado pagado.d) Porque Marta sale a vitrinear con su ta los das sbados. Cuento Sin Recreo A metal compound has the formula xcl2 and a relative formula mass of 95.211. the relative atomic mass of x is