Given an AVL tree containing N positive integers, print out all the even values contained in the tree in descending order (e.g. 12, 8, 6, 2). Be sure to explain how you will get descending order. Explanation

Answers

Answer 1

Since we need to print it in Descending Order, For printing we need to traverse the "N" nodes atleast once.

And we need to perform reverse Inorder traversal to get the nodes in Descending Order. Hence the total time complexity is O(N).When you pick up the pages, they are in reverse order because printers typically print the first page first and the last one last. To reverse the order, click the Print button after selecting the menu option in the window's top right corner. Check Reverse in the Copies section of the General tab of the Print window. An extra argument for the sort() method is the reverse parameter. The list is sorted in descending order when reverse is set to True. The placement of numbers in ascending order is from smallest to largest. The digits 3, 15, 28, 49, for instance, are listed in ascending order. An arrangement of numbers in descending order is from largest to smallest. For instance, the digits 45, 32, 26, and 12 are listed in decreasing sequence.

Learn more about print here:

https://brainly.com/question/4440010

#SPJ4


Related Questions

which action listed below is the proper method to reduce refrigerant loss from a purge unit on a cfc-11 chiller? group of answer choices pipe purge-unit into recovery unit. leak test and repair the chiller. pipe purge-unit back into the low side. seal the purge-unit discharge.

Answers

Check for leaks and fix the chiller. The ideal way to decrease refrigerant loss from a purge unit on a cfc-11 chiller is to take action.

In air conditioning and heat pump systems and chiller, refrigeration leaks are fairly prevalent and can be challenging to find. It requires the appropriate tools and a lot of practise. According to Refrigeration Technologies, the company that created the BigBlu Micro Leak Detector Solution, there are several sorts of leaks. During your maintenance experience, you will come into contact with each one at some point.

Standing Leaks (SL) are leaks that can be found when the system is fully equalised and at rest (off). This must include defrosted freezer evaporative coils. Thankfully, SL leaks are the most frequent of all.

Learn more about Chiller here:

https://brainly.com/question/17438851

#SPJ4

machine operations, inc. (mo), employs four hundred workers at three locations in three states. workers who lose their jobs with mo have a right to continued health-care coverage under mo's group plan unless they

Answers

Workers of machine operations, inc. (mo), who lose their jobs with mo have a right to continued health-care coverage under mo's group plan unless they have their hours decreased from full-time to part-time.

How Employee Benefits from Company-Sponsored Health Insurance Plans?

One of the most significant advantages of full-time employment these days is eligibility for the employer's group health insurance plan. And, as healthcare reform evolves and affects the lives and finances of individuals and families, group health coverage through an employer becomes an increasingly valuable perk.

It can be quite reassuring to have a significant portion of medical expenses covered by an employer's benefit package. After all, with the exception of the extremely wealthy, an individual without health insurance is literally just one major injury or illness away from financial ruin.

To learn more about Health Care in Enginerring field, visit: https://brainly.com/question/14017920

#SPJ4

explain the argumentative review

Answers

Answer:

This form examines literature selectively in order to support or refute an argument, deeply imbedded assumption, or philosophical problem already established in the literature. The purpose is to develop a body of literature that establishes a contrarian viewpoint

. for the problem in (1), design a flash converter with 3-bit resolution to represent the 1 khz sinusoid with an amplitude of 5-volt p-p. assume that the sinusoid has 2.5-volt dc level (that is, the signal swings between 0 and 5 volt). use lm339 and priority encoder 74ls148. examine the datasheets for these chips carefully. you may use the design in fig. 1. however, you need to choose the reference level carefully as an incorrect reference level may result in erroneous responses. make sure that you set the reference level in order to accurately represent the signal.

Answers

The flash converter should have a resolution of 3 bits in order to accurately represent the 1kHz sinusoid with an amplitude of 5-volt p-p.

What is volt?
The definition of a "volt," a measure of electric potential, commonly known as electromotive force, is "the potential difference between the two points of the a conducting wire carrying a continuous current equal to 1 ampere, when the power consumed between these points was equal to 1 watt." In other words, when a current of just one ampere travels through a resistance of one ohm, a potential of one volt emerges across that resistance. Similar to water pressure, "voltage" (V) represents the potential of energy to travel. Voltage has properties similar to those of water flowing through pipes. It's called the "water-flow analogy" in this case.

The sinusoid should have a 2.5-volt dc level, so the signal should swing between 0 and 5 volts. The flash converter should use an LM339 and a priority encoder 74LS148.

To learn more about volt
https://brainly.com/question/28632127
#SPJ4

7. the hlsm below shows an alarm system that sets a single-bit output alarm to 1 when the average temperature of four consecutive samples meets or exceeds a user-defined threshold value. the system has a 32-bit unsigned input ct, which is the current temperature, and a 32-bit unsigned input wt, which is the warning threshold. a single-bit input clr when 1 disables the alarm and the sampling process. fill in the blanks with tmp0, tmp1, tmp2, tmp3 and avg for the components in the datapath. (answers are case sensitive)

Answers

Shift register components can be found in the data route as A, B, C, and D. Take tmp0, tmp1, tmp2, and tmp3 as the outputs of the flip-flops A, B, C, and D, respectively. After the initial shift, when tmp ld is set to 1, the following occurs:

tmp0 (o/p of A) = CT

similarly, tmp1 (o/p of B) = tmp0

tmp2 (o/p of C) = tmp1

tmp3 (o/p of D) = tmp2.

Now, the output of A, B, C, and D would all be zero because tmp0, tmp1, and tmp2 were all initialised to zero. Flip flop A alone has the output, which is CT. These outputs are added in two stages: first, A is added to B (i.e., CT+tmp0), then C is added to D (i.e., tmp1+tmp2), and finally, the outputs of the first stage are added in the second stage before being shifted right by two bits, or divided by four. As a result, E flipflop stores the average of all the outputs, which is (CT + tmp0 + tmp1 + tmp2) /4.

So, A= tmp0 which eventually gets CT,

B=tmp1 which eventually gets tmp0 (=0),

C=tmp2 which eventually gets tmp1 (=0),

D=tmp3 which eventually gets tmp2 (=0),

E= avg of tmp0,tmp1,tmp2,tmp3 (=CT/4).

What is tmp?

A temporary file, or tmp is one that has been created to hold data temporarily, either for a program's interim needs or for later transfer to a permanent file. Computer programmes may produce it for a variety of reasons, including as when they are unable to allot enough memory for their duties, when they are working with data that is larger than the architecture's address space, or as a crude kind of inter-process communication.

To learn more about tmp

https://brainly.com/question/2456631

#SPJ4

REVERSE-BIAS BREAKDOWN A p + −n silicon diode has a donor doping of 2×1017 cm3 with physical width 2 µm of n region,

(A). Refer to Fig.5-22 in textbook, what’s the approximate breakdown voltage (Vbr ) of this diode?

(B). What’s the depletion width at this Vbr ?

Answers

Depending on the device geometry, doping profile, and external bias, the physical width of the depletion region in a typical Si diode can range from a few hundredths of a micrometer to tens of micrometers.

What is depletion region width?The amount of impurities supplied to the semiconductor determines how wide the depletion region is. Pentavalent and trivalent atoms are examples of impurities, which are atoms that are added to a semiconductor to increase its conductivity. An n-type semiconductor is created when pentavalent atoms are introduced to a pure or intrinsic semiconductor.In English, the word "depletion" refers to a reduction in the amount of something. Similar to this, the depletion region is the layer in semiconductors where the flow of charges slows down. The region serves as a barrier to prevent electrons from moving from the semiconductor diode's n-side to its p-side.A P-N junction diode's depletion area, also known as the depletion layer, is a space devoid of mobile charge carriers. The depletion layer functions as a barrier that prevents the flow of holes from the p-side and electrons from the n-side.

To Learn more About depletion region refer to:

https://brainly.com/question/29341283

#SPJ4

steam is leaving a pressure cooker whose operating pressure is 20 psia. it is observed that the amount of liquid in the cooker has decreased by 0.6 gal in 45 minutes after the steady operating conditions are established, and the cross-sectional area of the exit opening is 0.15 in2. determine:

Answers

The steady operating conditions are established, and the cross-sectional area of the exit opening is 0.15 inc then the Exit velocity is 34.04 ft/s

The amount of liquid that has

evaporated

m = V/V6

Now V = 0 6 gal

V = 0. 6 * 0 .13 3 68 ft

V = 0 080208 4 3

m =0 . 080208/0.016ft

M= 4. 765 cbm

The mass flowrate of exiting steam liquid becomes

m=m/Δt

& Δt= 45 min

At = 45 x 60 sec

m = 4 . 765/45 x 60

n = 0.00 1 765 ( lbm/s )

Now the exit velocity is

V = m v/A

& A = 0 15 in 2

A=0 .15/( 12 )²ft²

A = 0.001042 ( ft² )

" . V = 0 . 001 7 65 x 20. 093/0.00 1 042

V = 34. 04 ( ft² )

.Exit velocity is 34.04 ( ( ft²/s )

Learn more about velocity  here:

https://brainly.com/question/18084516

#SPJ4

there is a course with a certain number of students. in this course the only evaluation are certain number of quizzes, graded from 1 to 100. make a program that: 1) ask user for the number of students and the number of quizzes in the course 2) use nested loops to ask for each student quizzes' grades, 3) calculates the quiz average numerical grade of the course. 4) print the result on the screen.

Answers

There is a course with a certain number of students, make a program that

#include <iostream>
using namespace std;
int main()
{
int num_students; //Number of students in the class
int num_quizzes;  //Number of quizzes for each student
int quiz_grade;   //Quiz grade
int quiz_sum = 0; //Sum of quiz grades
float quiz_avg;   //Average of quiz grades

//Get number of students and number of quizzes
cout << "Enter the number of students in your class: ";
cin >> num_students;
cout << "Enter the number of quizzes for each student: ";
cin >> num_quizzes;

//Get quiz grades for each student
for(int i = 0; i < num_students; i++)
{
 for(int j = 0; j < num_quizzes; j++)
 {
  cout << "Enter grade for quiz " << j << " for student " << i <<": ";
  cin >> quiz_grade;
  //

What is program?
A computer program is a collection of instructions, and the term "computer program" can be used both as a verb and a noun. It is used as a verb to describe the act of writing software using a programming language. To accomplish a certain operation on the computer, an application, program, and application software is used as a noun. For instance, Microsoft PowerPoint is indeed an application that offers a way to produce presentation-related documents. In addition, a browser is a software program that enables us to view any website.

To learn more about program
https://brainly.com/question/28717367
#SPJ4

create a style rule for the fieldset and input elements that sets the bottom margin to 2%. create a style rule for the fieldset legend that sets the font-size to 1.25em and makes the font bold. create a style rule for the label that sets the display to block and sets padding-top to 3%. create a style rule for the btn class selector that removes the border, sets the top and bottom margin to zero and the left and right margin to auto, sets the display to a block, sets the padding to 5%, sets the background-color to 003399, sets the font-size to 1.25em, sets the border-radius to 10px, and sets the color to white (fff).

Answers

Body's background color is specified by the following style: linear-gradient(to top right, 0%, 100%) body font family: Geneva, Arial, sans-serif; no-repeat fixed center;.

/* Style for body specifies background color */ body background: linear-gradient (to top right, 0%, 100%); no-repeat fixed center; font-family: Geneva, Arial, sans-serif;

/* The container element's style/

width of #container is 90%.

margin: 0 auto; fieldset legend's font-size and weight are bold; label's display is block; padding-top is 3%; input's margin-bottom is 2%; and fieldset legend's margin-bottom is 2%.

.btn displays as a block with the following properties: background color of #003399, foreground color of #fff, font size of 1.25em, margin of 0 auto, padding of 5%, border of none, and border-radius of 10px.

/* The footer element's style /*

footer.9em font size, middle text alignment.

To know more about font click here:

https://brainly.com/question/14934409

#SPJ4

9.6 lab: find student with highest gpa complete the course class by implementing the find student highest gpa() instance method, which returns the student object with the highest gpa in the course. assume that no two students have the same highest gpa.

Answers

Java is a network-centric, object-oriented, and multi-platform language. One of the most popular programming languages is this one. Another platform for computers is Java.

What is Different Types of Java Platforms?

1. Java Platform, Standard Edition (Java SE): The Java SE API provides the fundamental features of the Java programming language. It outlines every type and object's fundamentals for high-level classes. It is utilised for graphical user interface (GUI) development, networking, security, database access, and XML parsing.

2. Java Platform, Enterprise Edition (Java EE): The Java EE platform provides an API and runtime environment for creating and utilising massively scalable, multi-tiered, dependable, and secure network applications.

3. Java Programming Language Platform, Micro Edition (Java ME): Java ME is a platform for executing Java programmes on mobile phones and other small devices. It includes an API and a small-footprint virtual machine.

4. Java FX: Using a simple user-interface API, JavaFX provides a platform for creating sophisticated internet applications. In order to benefit from higher-performance clients, a contemporary look and feel, and high-level APIs for connecting to networked data sources, Java uses hardware-accelerated graphics and media engines.

To Learn more About Java refer to:

https://brainly.com/question/25458754

#SPJ4

technician a says the leading shoe in a non-servo brake does most of the work when the brakes are applied while in reverse. technician b says the trailing shoe does most of the work when the brake are applied while moving forward. who is correct?

Answers

Neither A nor B, both technicians, are wrong here because the leading shoe in a non-servo brake does not work in most cases, and the trailing shoe does not do most of the work when the brakes are applied while moving forward.

What is a Technician?

Technicians are highly skilled individuals who primarily work with technology in a variety of industries. They are well-versed in the technical aspects of the various items with which they work. They usually deal with electricity or technological advancements.

Technicians may be tasked with building equipment or materials related to their field of study. They may also be tasked with performing diagnostics and other maintenance tasks to ensure that the equipment functions properly. In the event of a problem, technicians may be required to perform basic repairs. Technicians must possess strong analytical and decision-making abilities.

To learn more about Technician and non-servo brake, visit: https://brainly.com/question/29348584

#SPJ1

Find the exact value of cosine (startfraction 5 pi over 6 endfraction) cosine (startfraction pi over 12 endfraction) + sine (startfraction 5 pi over 6 endfraction) sine (startfraction pi over 12 endfraction) startfraction startroot 2 endroot over 2 endfraction negative startfraction startroot 2 endroot over 2 endfraction negative startfraction startroot 3 endroot over 2 endfraction startfraction startroot 3 endroot over 2 endfraction.

Answers

Exact value of given equation cos(5π/6)*cos(π/12)+sin(5π/6)*sin(π/12) is -√2/2

cos(5π/6)*cos(π/12)+sin(5π/6)*sin(π/12)

0.8660*0.9659+0.2588*0.5=-√2/2

The trigonometric functions of an angle in mathematics are sine and cosine. An acute angle's sine and cosine are defined in terms of a right triangle: for the given angle, the sine is the. We'll refer to the ratio of a right triangle's opposing side to hypotenuse as the sine and assign it the symbol sin. The cosine, denoted by the symbol cos, is the proportion of a right triangle's neighboring side to its hypotenuse. The word "sine" in trigonometry is derived from a Sanskrit word that means "chord" through the use of Latin. The AB chord, which is half a chord of the unit circle in the illustration below, has length sin. Complementary angles serve as the basis for the co-functions.

Learn more about cos here:

https://brainly.com/question/2437614

#SPJ4

Answer:

A on edge

Explanation:

m = StartFraction StartRoot 3 EndRoot Over 2 EndFraction, Theta = StartFraction Pi Over 6 EndFraction

during the in-lab, you will be implementing the alu block. as part of the design process, you need to develop an appropriate set of test vectors to verify basic functionality. write a set of test vectors to verify that all the alu operations work as designed. for each aluop operation you should generate 3 tests with randomly chosen different values for the busa and busb inputs and generate the appropriate output for each set of inputs for that function.

Answers

Simple addition, subtraction, multiplication, division, and logic operations like OR and AND are all performed by the ALU

Explain about the ALU operation?

Arithmetic logic units are digital circuits that can perform both arithmetic and logic operations (ALU). It refers to the central processing unit (CPU) of a computer's main component (CPU). Modern CPUs have incredibly powerful and complex ALUs. In addition to ALUs, modern CPUs also feature a control unit (CU).

Data and instructions for the programme are kept in the memory. The control unit reads information and commands from memory.

Therefore, utilising three control lines, any one of these eight actions can be found. Think of an ALU with four arithmetic operations: addition, subtraction, multiplication, and division. Remember that the ALU contains four logical operations as well: OR, AND, NOT, and EX- OR.

To learn more about ALU operation refer to:

https://brainly.com/question/10975854

#SPJ1

in the mvc architecture the functionality of the system is organized into services, with each service delivered from a separate server..........(t/f)

Answers

It is False to state that in the MVC Architecture the functionality of the system is organized into services, with each service delivered from a separate server. The above scenario occurs within Client-Server Architecture.

What is MVC Architecture?

Model-view-controller is a software architecture style for building user interfaces that divides the underlying program logic into three interrelated pieces. This is done to isolate internal information representations from how data is communicated to and accepted by the user.

The Model-View-Controller (MVC) architectural pattern, on the other hand, divides an application into three key logical components: the model, the view, and the controller. Every one of these components is designed to handle particular parts of an application's development.

Learn more about MVC Architecture:
https://brainly.com/question/28299030
#SPJ1

this program will input an undetermined number of student names // and a number of grades for each student. the number of grades is // given by the user. the grades are stored in an array. // two functions are called for each student. // one function will give the numerical average of their grade

Answers

This program will input an undetermined

#include <iostream>
#include <string>
#include <iomanip>
using namespace std;

// function prototypes
void getData(string [], int [][5], int);
void average(int [][5], int);

What is program?
A computer utilises a set of instructions called a program to carry out a particular task. A program is like the recipe for a computer, to use an analogy. It includes a list of components and a collection of instructions that explain to the computer how to carry out a certain task. Specific program languages, such C++, Python, and Ruby, are used to construct programmes. These are high level, writable, and readable programming languages. The computer system's compilers, interpreters, or assemblers subsequently convert these languages into low level machine languages. Although it is typically far more cryptic and challenging to grasp, assembly language is a form of low level language that really is one step beyond machine language. Technically, a human could write assembly language.

To learn more about program
https://brainly.com/question/28717367
#SPJ4

technician a says recommended tire pressures for the vehicle are located on the driver's side door pillar tire placard. technician b says the maximum tire pressure is located on the tire sidewall. who is correct?

Answers

Both technician  are correct tire pressures for the vehicle are located on the driver's side door pillar tire placard and the maximum tire pressure is located on the tire sidewall

The right tire pressure varies according to the vehicle's make, model, and type. Tire pressure for cars typically ranges from 30 to 35 PSI. Consult your car's manual or the driver-side door frame to determine the ideal pressure. Typically, the recommended tire pressure ranges from 30 to 35 PSI. You should consult your vehicle's owner's handbook or the placard that is often printed inside the driver's door with tyre and loading information to determine the proper tire pressure for your vehicle. The recommended tire pressure for your car can be found in the owner's manual or printed on the inside of the fuel tank flap or the sill of the driver's door of vehicle. For the front and rear tires on your car, the manufacturer might advise using different tyre pressures.

Learn more about pressure here:

https://brainly.com/question/14611102

#SPJ4

the 0.55 in. -diameter shaft is subjected to the loading shown. the journal bearing at c can exert only force components cy and cz on the shaft, and the thrust bearing at d can exert force components dx, dy, and dz on the shaft.

Answers

The journal bearing at c can exert force components cy and cz on the shaft, and the thrust bearing at d can exert force components dx, dy, and dz on the shaft.

What is component?
A functionally independent component is a portion of any system. It performs a certain function and could call for input or give off output. Classes are frequently used in software to represent a component. A component is a logical task or set of logical duties. Take an automobile, for instance. Given that it enables individuals to sit, which is an input, it can be regarded as a component. Its purpose is to move a person from one location to another. Its qualities are shown by the amount of gasoline it needs to run and the top speed it can travel at. It is made up of an air conditioner, brake system, engine, and other small parts. Each of these supporting elements performs a unique purpose.

To learn more about component
https://brainly.com/question/20049627
#SPJ4

technician a states that a good way to see if an air filter is still serviceable is to hold the filter element up to light and look through it. technician b states that it is usually not necessary to clean the inside of the air filter housing. who is correct?

Answers

According to the scenario, the statement made by the Technician A is found to be correct, i.e. a good way to see if an air filter is still serviceable is to hold the filter element up to the light and look through it.

What is the function of an air filter?

The function of an air filter is to clean the air that circulates through your heating and cooling system correspondingly. It basically traps and holds too many types of particulates and contaminants that significantly affect your health.

While the statement made by Technician B "t is usually not necessary to clean the inside of the air filter housing" is not as accurate because if you never clean the air filter, the accumulation of dirt and dust particles in your cooling and heating system is sufficiently high which definitely affect your health to a larger extent.

Therefore, the statement made by the Technician A is found to be correct, i.e. a good way to see if an air filter is still serviceable is to hold the filter element up to the light and look through it.

To learn more about Technicians, refer to the link:

https://brainly.com/question/18428188

#SPJ1

Jupiter's band structure is composed of contrasting regions known as belts and zones. On the diagram, label the belt and zone regions and their corresponding directions of convection.

Answers

Jupiter's band structure which is composed of contrasting regions known as belts and zones is given in the attached image.

What are belts?

The asteroid belt is a torus-shaped area in the Solar System lying roughly between Jupiter and Mars orbits. It is home to a large number of solid, irregularly shaped things of various sizes, but far smaller than planets, known as asteroids or minor planets.

Zones are lighter bands seen in the atmospheres of gas giants. They are found at higher elevations and are high-pressure areas. In the zones, there is an internal updraft.

It is to be noted that Jupiter, the fifth planet from our Sun, is by far the biggest planet in the solar system, weighing more than twice as much as all the other planets combined. Jupiter's bands and swirls are actually frigid, windy clouds of ammonia and water floating in a hydrogen and helium atmosphere.

Learn more about Jupiter's Band Structure:
https://brainly.com/question/5973837
#SPJ1

Which of the following are pre-test loops? Select one: a. for, do-while b. while, for c. while, do-while d. while, for, do-while

Answers

While, for, are pre-test loops.

What is loop?
A loop is a set of instructions that are repeatedly carried out in computer programming until a specific condition is met. Typically, a certain procedure, like getting and altering a piece of data, is carried out, and then a condition, like whether a counter has reached a specific number, is verified. If not, the subsequent command in the sequence directs the computer to go back to the first and repeat the process. If the condition has indeed been met, the subsequent instruction either branches outside of the loop or "falls through" to the following sequential instruction. A loop is a basic programming concept that is frequently utilised when creating programmes.

To learn more about loop
https://brainly.com/question/29415882
#SPJ4

to prevent cables from being damaged by drywall screws or nails, a _____ is installed. select one: a. wire tie b. steel plate c. mud ring d. sleeve

Answers

It is to be noted that to prevent cables from being damaged by drywall screws or nails, a sleeve is installed.  (Option D)

What is a sleeve in wiring?

An electrical sleeve is defined as "a braided, knitted, woven, or extruded tube used to slide over poorly insulated wires in an electric assembly."

Cable sleeving, like heat shrink tubing, is used to preserve wires and is seen in cable management systems. It protects wires against damage caused by temperature extremes and abrasion, yet it does not require the use of heat to be placed.

When a cable is torn or worn away, the wires within become exposed. This increases your chances of coming into touch with the wires, which might result in an electric shock.

Learn more about steel plate:
https://brainly.com/question/29350697
#SPJ1

When considering the security aspect of cloud-based enterprise systems, it's important to consider that cloud providers will store _____ copies of your data.
a. altered
b. improved
c. multiple
d. less secur

Answers

It's critical to keep in mind that cloud providers will store sensitive data when assessing the security of enterprise systems based on the cloud. altered copies of

What is enterprise systems?
defined as the massive, complicated computing systems that manage enormous amounts of data and allow organisations to coordinate and integrate their business activities. They ensure that information may be shared across all functional levels & management hierarchies and are typically a single system at the heart of organisations. Building Situational Applications in Virtual Enterprises has further information. Enterprise systems are pieces of software that offer services to a unified business structure. Software Implementation for Enterprise Resource Systems has further information. Information solutions that enable businesses to synchronise information across all of their operations. Integrating Enterprise Systems has more information.

To learn more about enterprise systems
https://brainly.com/question/13390630
#SPJ4

write a function in c++ , that would read contents of file student.dat and display the details of those students whose percentage is above 75.

Answers

A function in C++, that would read contents of file student.

#include <iostream>
#include <fstream>
using namespace std;

int main () {
  // local variable declaration:
  int percentage;
  string name;

   // open a file in read mode.
  ifstream infile;
  infile.open ("student.dat");

   cout << "Reading from the file" << endl;
  infile >> name >> percentage;

   // write inputted data into the file.
  while (!infile.eof()) {
     if(percentage>75)
     {
     cout << "Name of the Student : " << name << endl;
     cout << "Percentage :" << percentage << endl;
     }
     infile >> name >> percentage;
  }
   // close the opened file.
  infile.close();
   return 0;
}

What is C++?
The programming language C++ (sometimes known as "C-plus-plus") is used to create software. It is an object-oriented language which puts objects—data fields with distinctive attributes—instead of logic or functions as its primary concern. A user account on the a website is a typical illustration of an object. Each time a brand-new account is created, the basic components of a user account—which normally include information like first and surname names, email addresses, etc.—can be readily copied. Bjarne Stroustrup created C++ in 1979 as an extension to the procedural programming language C to provide developers more control over memory other system resources. Since its introduction, C++ has established itself as the go-to language for creating dependable and quick software.

To learn more about C++
https://brainly.com/question/14426536
#SPJ4

is the language composed of all strings over the alphabet {a,b} that contain an odd number of a's a regular language? if so, show why. note, again, that you may use any line of argument from the slides on regular languages, e.g., by (a) using the properties on slide 4

Answers

Yes,  {a,b},L is {w|w contains more 1s than 0s}. Idea: this is similar to the language where the ... a's and b's differ, unioned with all strings not of the form aibj.

What is the regular expression for a language that at least has two A's in it?

This language requires at least two a's in a string. Given that any string of b's can be positioned in front of the first a, behind the second a, or in between the two a's, and given that the regular expression b* can be used to represent any string of b's, b*a b*a b* is a regular expression for this language.

The regular phrase (a + b)* (aa + ba + bb)b)(a + b)* (aa + ba + bb) + a + b + c)b* ab* ad)b* aa b* corresponds to the language of all strings over the alphabet "a, b."

The expression "a,b" =,L i="w|w has more 1s than 0s" Idea: Unioning any strings that are not of the form aibj, this is akin to the language where the... a's and b's differ.      

To learn more about String refer to:

brainly.com/question/25324400

#SPJ4

fourier descriptors example hand calculations determine if shape are same despite variation in translation, rotation,scaling

Answers

Yes, the shapes are the same despite variation in translation, rotation, and scaling.

What is variation?
Variation
is defined as a departure from the usual, such as the diversity of colours found in nature. A deviation from a recognised norm may be crucial. A doctor may be alerted to the possibility of a heart attack by a change in the pattern of the patient's heartbeat, for instance. Temperature variations from expected ranges show that global warming is causing a change in our climate. However, not all variation is unfavourable. One characteristic that makes each puppy individually appealing is the enormous variance in coloration of dogs, even between breeds.

To learn more about variation
https://brainly.com/question/14722489
#SPJ4

brainstorm with your team members about what types of output are most appropriate for various executives and high-level managers of dizzyland, a large theme park in florida. include a list of environments or decision-making situations and types of output. in a paragraph, discuss why the group suggested particular options for output.

Answers

The group suggested that for executives and high-level managers of Dizzyland, a large theme park in Florida, output types such as reports, presentations, and briefings are most appropriate.

What is executive?
The executive branch of government is in charge of governing a state and enforcing the law. Power is divided across many branches (executive, legislative, and judicial) in political systems founded on the idea of separation of powers in an effort to prevent the consolidation of power in the hands of the a single group of people. In such a system, his executive does not enact or interpret laws (those functions belong to the legislature) (the role of the judiciary). Instead, the executive carries out the law as it has been created by the legislative and adjudicated by the courts. A decree and executive order, for example, may have come from the executive. Regulations are frequently created by executive bureaucracies.

To learn more about executives
https://brainly.com/question/15060039
#SPJ4

a fault is an example of a. brittle deformation b. ductile deformation c. elastic deformation d. all of the above

Answers

The correct answer is a. brittle deformation. therefore the correct option is (a) option.

Brittle deformation is when rocks fail as rigid solids. The rocks will break, rather than bend, under these conditions to produce fractures. Brittle deformation occurs along discrete planes in the rock instead of involving the rock body as a whole.Brittle materials include glass, ceramic, graphite, and some alloys with extremely low plasticity, in which cracks can initiate without plastic deformation and can soon evolve into brittle breakage.

To learn more about Brittle deformation click the link below:

brainly.com/question/15116378

#SPJ4

8. When the accessory service tool is used for system checkout, the service tool C and D
terminals are connected to:
it terminal board.

Answers

The service tool C and D terminals are connected to the IT terminal board.

What is terminal?

A terminal is the endpoint of a conductor from a component, device, or network. Terminal may also refer to an electrical connector at this endpoint that serves as a reusable interface to a conductor and provides a point for external circuits to be attached. A termination can be as simple as the end of a wire or as complex as a connection or fastener. In network analysis, a terminal is a theoretical location at which connections to a network can be created and does not necessarily refer to any real item. It is sometimes referred to as a pole in this context, particularly in older publications. Terminals for external connections are represented on circuit diagrams by empty circles.

To learn more about terminal
https://brainly.com/question/4455094

#SPJ9

_______ robots blend linear Cartesian motion with Articulated rotation to create a new motion type that are often used in the electronics field.

Answers

Scara robots blend linear Cartesian motion with Articulated rotation to create a new motion type that are often used in the electronics field.

What do you mean by electronics?

Electronics is an area of physics and electrical engineering that studies electron emission, behaviour, and consequences utilising electronic devices. Electronics varies from classical electrical engineering because it uses active devices to influence electron flow via amplification as well as rectification, whereas classical electrical engineering only uses passive effects to control electric current flow, such as resistance, capacitance, and inductance. Electronics has had a significant impact on the evolution of modern society. The discovery of the electron in 1897, followed by the invention of the vacuum tube, which could amplify and rectify minuscule electrical impulses, marked the beginning of the field of electronics and the electron age.

To learn more about electronics
https://brainly.com/question/28630529

#SPJ4

If given an array A consisting of N integers, how can I return the size of the largest possible subset of A such that its AND product is greater than 0???

I've been at this all day and still cant get the desired result.

Are you guys able to see what's wrong with my code?

I am inputting an array of N size = {13,7,2,8,3}, output should be 3, and I get 5...

Any help is appreciated. thanks!!

Answers

The answer of the array will be:

You should set the <code>maxSubsetSize</code> to <code>1</code> initially. Otherwise, the <code>maxSubsetSize</code> would be bigger than the size of the actual subset.

<code>int size = A.size();
int maxSubsetSize = 1;
int subsetSize = 1;
int andProduct = A[0];

for (int i = 1; i &lt; size; ++i) {
   if (andProduct &amp; A[i] == 0) { // if AND product is 0, reset the subset
size
       subsetSize = 1;
       andProduct = A[i];
   } else {
       ++subsetSize;
       andProduct &amp;= A[i];
       if (subsetSize &gt; maxSubsetSize) {
           maxSubsetSize = subsetSize;
       }
   }
}
return maxSubsetSize;
</code>

What is array?
An array is a type of data structure used in computer science that contains a set of elements (values and variables), each of which is identified by an array index or key. An array is stored in a way that allows a mathematical formula to determine each element's position given its index tuple. A linear array, sometimes referred to as a one-dimensional array, is the most basic sort of data structure. For instance, ten words with memory addresses 2000, 2004, 2008,..., 2036 (or 0x7D0, 0x7D4, 0x7D8,..., 0x7F4) may be used to store an array with ten 32-bit (4-byte) integer variables with indices 0 through 9. This would give the element with index I the address 2000 + I 4). First address refers to the memory location of the array's first element.

To learn more about array
https://brainly.com/question/28087779
#SPJ4

Other Questions
What is the argument by analogy(regarding other minds) and what is an objection against it? imagine you are a photon of light. how long would it take you to travel from one edge of our galaxy to the opposite side? when a KR-89 captures an electron, what is the particle that is formed? did the french academy ban the use of soliloquy and side Find the equation of the quadratic with a vertex of ( -1, -5) and the point (2,13) If trey has a high score in neuroticism and a low score in extroversion on the big 5 personality test, he is likely to be. in a williamson ether synthesis, you start by adding a base like methoxide to deprotonate a phenol so the deprotonated phenolate can act as a nucleophile. the moles of base should be if you could invent any tool or new technology that would improve your life in some way, what would you create? What would it do? How woul it work? When would you use it ? A male client is prescribed potassium-sparing diuretics to treat his disease process. During his annual visit to the health care provider, he reports experiencing muscle weakness and tingling in his fingers. What does the nurse suspect is wrong with this client?. Check My WorkA random telephone survey of 1,037 adults (aged 18 and older) was conducted by Opinion Research Corporation on behalf of CompleteTax, anonline tax preparation and e-filing service. The survey results showed that 782 of those surveyed planned to file their taxes electronically.a. Develop a descriptive statistic that can be used to estimate the percentage of all taxpayers who file electronically.1% (to nearest whole number)b. The survey reported that the most frequently used method for preparing the tax return was to hire an accountant or professional tax preparer. D50% of the people surveyed had their tax return prepared this way, how many people used an accountant or professional tax preparer?(to nearest whole number)c. Other methods that the person filing the return often used include manual preparation, use of an online tax service, and use of a software taxprogram. Would the data for the method for preparing the tax return be considered categorical or quantitative?- Select your answer -- When we ask, "What was Alexander's legacy," what are we asking?A. We are asking, "What is it, the good and the bad, that Alexander left behind after he died?"B. We are asking, "Who is Alexander's heir?"C. We are asking, "Who is Alexander's sucessor?" make x the subject of 4(x-3)/a which reason for holding inventory is exemplified when a firm builds up stock because they anticipate rising profit levels in the future what happened to sacco and vanzetti the evaluation stage of listening involves making a value judgment about the merits of what someone else has said. how did the French revolution affect the colonist in America How did achievements and innovations of the Gupta Empire influence the world? pls add a real response not from a previous question or the internet How did Hitler's rule in Nazi Germany exemplify totalitarian rule? Be sure to explain the characteristics of totalitarian rule, and to what extent tbis type of government was seen in Nazi Germany. Use evidence from at least 5 documents in your essay. Cite your sources of information. Support your response with relevant facts, examples, and details. I'm having trouble with this and need it due asap!!! Please nothing plagiarized, i will vote brainliest 9) Which group of Americans has the lowest median household income? (1 pts)OwhitesAfricanAmericansHispanicsAsianAmericans What type of figurative language is there is a solitude of space a soul admitted to itself finite infinity?