Write a program that gets a list of integers from input, and outputs non-negative integers in ascending order (lowest to highest).

Ex: If the input is:

10 -7 4 39 -6 12 2
the output is:

2 4 10 12 39
For coding simplicity, follow every output value by a space. Do not end with newline.

Answers

Answer 1

A program that gets a list of integers from input, and outputs non-negative integers in ascending order

#include <stdio.h>

#include <stdlib.h>

int main(void) {

   int num;

   int *arr = NULL;

   int size = 0;

   int capacity = 0;

   while (scanf("%d", &num) == 1) {

       if (size == capacity) {

           if (capacity == 0) {

               capacity = 1;

           } else {

               capacity *= 2;

           }

           arr = realloc(arr, sizeof(int) * capacity);

       }

       arr[size] = num;

       size++;

   }

   for (int i = 0; i < size - 1; i++) {

       for (int j = 0; j < size - 1 - i; j++) {

           if (arr[j] > arr[j + 1]) {

               int temp = arr[j];

               arr[j] = arr[j + 1];

               arr[j + 1] = temp;

           }

       }

   }

   for (int i = 0; i < size; i++)

What is integer?
The collection of the whole numbers or negative numbers is known as an integer in mathematics. Integers, like whole numbers, do not include the fractional portion. Integers can therefore be defined as numbers that can be positive, negative, or zero but not as fractions. On integers, we can carry out all arithmetic operations, including addition, subtraction, multiplication, and division. Integer examples include 1, 2, 5, 8, -9, -12, etc. "Z" stands for an integer. Let's now go over the definition of integers, their symbol, types, operations, laws, and properties, as well as how to display them on a number line with numerous worked-out examples.

To learn more about integer
https://brainly.com/question/13906626
#SPJ4


Related Questions

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

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

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

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

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

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

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

jvc corporations is a multinational company that has a variety of products worldwide. you are working as a network engineer with the network management team of the company. the network administrator has requested you to submit a network document after subdividing the smaller network of human resources into a separate network segment so that it is convenient for troubleshooting. under which of the following groupings will you place this network segment in this scenario?

Answers

Departmental boundaries will you place this network segment in this scenario.

What is scenario?
A scene is a synoptical collage of an action or sequence of actions and occurrences in the performing arts. A play's narrative was literally pinned to the rear of the scenery in the commedia dell'arte as an outline for entrances, exits, and action. The material from which the scenery was built is also known as canovaccio or "that which is fastened to the canvas." Scenarios from of the Renaissance that have survived primarily consist of character names, succinct descriptions of events, and references to certain lazzi without any further explanation. Although it is thought that a scenario served as the foundation for a completely improvised performance, it is also possible that they served as simple reminders of the story for those cast members who could read.

To learn more about scenario
https://brainly.com/question/29342162
#SPJ4

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

_______ 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

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

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

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

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

technician a says that a vehicle will tend to pull toward the side with the most positive camber. technician b says that a progressive-rate spring offers a soft ride but can also carry a heavier load. who is correct?

Answers

Both technicians are correct in saying that a car will typically pull to the side with the most positive camber and that a progressive-rate spring provides a smooth ride while also being able to support a heavier load.

Positive Camber: When your wheels are slanted outward, your vehicle's stability is increased. Negative Camber: High performance cars with superior cornering requirements frequently use negative camber because it gives the driver more control. Positive camber will make your automobile pull to either side, which will make it easier to steer and more stable on uneven terrain. Because of this, off-road vehicles frequently employ positive camber. It can also be observed on vintage race vehicles with softer suspension systems. It is applied to steering and suspension design. Positive camber refers to a wheel's top being farther out than its bottom (or tilted away from the axle).

Learn more about Camber here:

https://brainly.com/question/16447343

#SPJ4

Consider the following class definition.
public class FishTank
{
private double numGallons;
private boolean saltWater;

public FishTank(double gals, boolean sw)
{
numGallons = gals;
saltWater = sw;
}

public double getNumGallons()
{
return numGallons;
}

public boolean isSaltWater()
{
if (saltWater)
{
return "Salt Water";
}
else
{
return "Fresh Water";
}
}
}
Which of the following best explains the reason why the class will not compile?
A.The variable numGallons is not declared in the getNumGallons method.
B.The variable saltWater is not declared in the isSaltWater method.
C.The isSaltWater method does not return the value of an instance variable.
D.The value returned by the getNumGallons method is not compatible with the return type of the method.
E.The value returned by the isSaltWater method is not compatible with the return type of the method.

Answers

The return type of the method and the value returned by is SaltWater method are incompatible.

What is method?
A process connected to a message and an object is referred to as a method with object-oriented programming (OOP). An object is made up of state information and behaviour, which together make up the interface that outlines how any of the object's numerous consumers may use it. A method is a consumer-parametrized behaviour of an object. Behaviors are represented as methods, while data is represented as an object's properties. For instance, a Window object might contain properties like open and close while also having methods like open and close. In class-based programming, objects are instances of a certain class, and methods are defined within the class. One of the most crucial features that a method offers is method overriding, which allows the same name (for example, area) to be used for numerous distinct types of classes.

To learn more about method
https://brainly.com/question/28273269
#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

. 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

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

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

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

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

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

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

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

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

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

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

Other Questions
When the piano that Rose Mary wanted ends up in the backyard, Rose Mary says, Most pianists never get the chance to play in the great out-of-doors, and now the whole neighborhood can enjoy the music too (53). What does this tell us about Rose Marys character? From the glass castle (In C++) Write a function that returns the intersection of two vectors using the following header:template `vector intersect(const vector& v1, const vector& v2)The intersection of two vectors contains the common elements that appear in both vectors. For example, the intersection of two vecotrs{2,3,1,5} and {3,4,5} is {3,5}. Write a test program that prompts the user to enter two vectors, each with five strings, and displays their intersection.Here is a sample run:Enter five strings for vector 1: Atlanta Dallas Chicago Boston DenverEnter five strings for vector 2: Dallas Tampa Miami Boston RichmondThe common strings are Dallas Boston According to , a manager who works with employees to develop performance expectations that are specific, measurable, attainable, relevant, and time bound will see performance improve. Write equations for a pair of perpendicular lines that intersect at the point at (-3, -7) Consider the reactionN2 + 3 H2 2 NH3 .How much NH3 can be produced from the reaction of 74.2 g of N2 and 14.0 moles of H2? if clooney corporation has physical inventory of $52,770 and reports inventory shrinkage of $1,600, what is the company's account balance of merchandise inventory? a.$52,770 b.$54,370 c.$51,170 d.cannot be determined from the information given On a scale drawing, a building has length 12.4 cm and width 9.4 cm. The real length of the building is 62 metres. Work out, in metres, the real width of the building. 1. How does a primary source impact a person's understanding of a historic event? (1 point)O It provides only facts without giving opinions.O It uses several historical accounts to explain the event.O It allows for time to pass before the event is analyzed.O It provides a firsthand account of the event. Impulses are sudden and powerful urges. Where does their energy come from?A. It comes from high-speed neurons in the brain.B. It comes from being encouraged by peers.C. It comes from bypassing the prefrontal cortex.D. It comes from conscious repetition. for each of the next six problems, examine the verilog provided. each verilog file has some error, explain the error and provide a fixed version of the code in the space provided. cookie cutter, a firm that manufactures high-end mixers, donates $10 per mixer sold to a local food bank. this is a form of I have two turtles. Today, the older turtle's age is $11$ times that of the younger turtle. In $24$ years, the older turtle's age will only be $7$ times that of the younger turtle. If both turtles survive until then, how many years from today will the older turtle's age be $3$ times that of the younger turtle? You have 0.54 moles of NH3 and excess O3. How many moles of O3 are required? Which of these is an example of negative feedback?1. As a blood clot begins to form, the process of its formation gets faster and faster.2. After you eat, glucagon stimulates an increase in blood sugar levels.3. After you eat, insulin stimulates the lowering of blood sugar levels.4. The digestive enzyme pepsinogen is converted to pepsin by the action of hydrochloric acid; pepsin itself can then convert pepsinogen into pepsin.5. Once labor begins, contractions increase in frequency and intensity. adolescents tend to think in ______, meaning that things are assumed to be solely one way or another (such as either good or bad), and there is no middle ground. What Makes Azurite Valuable? (With scientific evidence) The temperature in a town increased 18F in 4 hours. The temperature decreased 40F in the next 6 hours. Write the total change in temperature as a rate in the form of a quotient of integers. A triangle has two sides of length 12 and 18. What is the smallest possible whole-number length for the third side? In two or more complete sentences, describe the transformation(s) that take place on the parent function, f(x)=log(x), to achieve the graph of g(x)=log(-3x+9) + 4 which of the following statements is true about nonverbal communication?a. Nonverbal communication has a minimal influence on the total emotional impact of a message.b. Verbal communication and nonverbal communication comprise distinct spheres of interaction and rarely interconnect.c. Most nonverbal messages convey information in lieu of verbal communication.d. Being skilled at nonverbal communication is linked to popularity, attractiveness, and socioemotional well-being.