To write a program called "NumAverage" that inputs numbers (non-zero positive integers) from a user, averages those numbers, and then displays the result, check the code given below.
What is program?A specific type of data made up of characters, numbers, and strings must be processed by programmers in order for the results to be useful, so programming languages are created and designed to assist in this process. The term "programme" refers to a collection of instructions that process data.
.MODEL SMALL
.DATA
VAL1 DB ?
NL1 DB 0AH,0DH,'ENTER HOW MANY NO U WANT:','$'
NL2 DB 0AH,0DH,'ENTER NO:','$'
cmp 0AH,Q
jmp
NL3 DB 0AH,0DH,'AVEARGE:','$'
.CODE
MAIN PROC
MOV AX,(atsymbol)DATA
MOV DS,AX
LEA DX,NL1
MOV AH,09H
INT 21H
MOV AH,01H
INT 21H
SUB AL,30H
MOV CL,AL
MOV BL,AL
MOV AL,00
MOV VAL1,AL
LBL1:
LEA DX,NL2
MOV AH,09H
INT 21H
MOV AH,01H
INT 21H
SUB AL,30H
ADD AL,VAL1
MOV VAL1,AL
LOOP LBL1
LBL2:
LEA DX,NL3
MOV AH,09H
INT 21H
MOV AX,00
MOV AL,VAL1
DIV BL
ADD AX,3030H
MOV DX,AX
MOV AH,02H
INT 21H
MOV AH,4CH
INT 21H
MAIN ENDP
END MAIN
Learn more about program
https://brainly.com/question/11023419
#SPJ4
How are new slip rings attached to the rotor core during alternator rebuilding?
The new slip rings is been attached to the rotor core during alternator rebuilding by b. Soldered on.
What is the process of Soldering ?Soldering is the use of Solder which is a metal alloy consisting tin and lead and is the way of joining different types of metals together by melting solder.
This is been used on new slip rings to get it attached to the rotor core during alternator rebuilding .
Learn more about Soldering on:
https://brainly.com/question/25759088
#SPJ1
CHECK THE COMPLETE QUESTION BELOW:
How are new slip rings attached to the rotor core during alternator rebuilding?
a. Machine clamped
b. Soldered on
c. Crimped on
d. epoxy glue
Structural Safety Assessment and Traffic Control Strategies of Widened Highway Bridges under Maintenance Works Requiring Partial Lane Closure
Structural Safety Assessment and Traffic Control Strategies of Widened Highway Bridges under Maintenance Works Requiring Partial Lane Closure journal is based on the way and techniques that can be used in maintaining the Safety on the road as well as the Assessment of Traffic Control.
What are the techniques in controlling the traffic?
There are Devices that are typically used in the traffic control, and this can include speed bumps as well as the barricades to block streets.
Others techniques are:
turn prohibitions stop signs raised pavement markers.Traffic restraint can also entails the includes programs that can foster bicycle as well as the pedestrian travel.
The rapid structural safety assessment help in inspecting and evaluating the concrete structure as well in determining the damaged structure if it is unsafe for personnel within the building .
Learn more about Traffic Control at:
https://brainly.com/question/26052026
#SPJ1
Modern aircraft are designed in a way that, when all seats are occupied, the baggage compartment is full, and all fuel tanks are full, the aircraft is:
Modern aircraft are designed in a way that, when all seats are occupied and baggage is full, and all fuel tanks are full, the aircraft is overloaded.
What is aircraft storage?Aircraft storage refers to all storage systems in an aircraft for human transportation and also to transport products among countries.
The aircraft storage system is well calculated to work is a maximum capacity in commercial fly lines.
In conclusion, modern aircraft are designed in a way that, when all seats are occupied and baggage is full, and all fuel tanks are full, the aircraft is overloaded.
Learn more about storage systems here:
https://brainly.com/question/9585033
#SPJ1
Technician A says that a voltage drop on the ground side of a bulb won’t affect its brightness because the electricity has already been used up. Technician B says that a voltage drop is one way to determine if there is unwanted resistance in a circuit. Who is correct?
Answer:
Technician B
Explanation:
For a given circuit current, the voltage drop is an indication of the resistance in the circuit.
If the voltage drop on the ground side of a bulb is unexpectedly high, it means the circuit resistance is unexpectedly high. Technician B is correct.
When a system is in deep vacuum;
a. never add refrigerant to the system.
b. never use a micron gauge.
c. never energize the compressor.
d. never energize system fans and blowers.
When a system is in a deep vacuum, never energize the compressor. The correct option is a.
What is a deep vacuum?A deep vacuum is a system in which the boiling point of liquid lowers down and the temperature lowers for outgassing. They help in freeze drying, metallurgy, distillation, etc. It used 500 or less than 500 microns for deep vacuum.
Vacuum tubes, such as cathode ray tubes, and electron microscopes are made possible by the electronic resistivity of the vacuum. Torr is the unit used to measure vacuums.
Thus, the correct option is a. never energize the compressor.
To learn more about deep vacuum, refer to the below link:
https://brainly.com/question/17465345
#SPJ1
Manual transmission has a driver-operated clutch and a movable gear selector. In manual transmission, the gears are engaged .....................
In the case above about manual transmission, the gears are engaged manually.
What is manual transmission?The Definition of the term manual transmission is regarded as a kind of a system where there is the changing gears in a manual way.
Hence, In the case above about manual transmission, the gears are engaged manually is correct.
Learn more about Manual transmission from
https://brainly.com/question/14392283
#SPJ1
what is the basic concept of the finite element method.
Answer:
The FEM is a general numerical method for solving partial differential equations in two or three space variables (i.e., some boundary value problems). To solve a problem, the FEM subdivides a large system into smaller, simpler parts that are called finite elements.
When converting liquid level units to sensor output signal units, you should first convert the liquid level units to _____ units
When converting liquid-level units to sensor output signal units, you should first convert the liquid-level units to engineering units.
The engineering units are the actual physical measurements of the liquid level, such as meters, feet, inches, or any other relevant unit of length or depth.
Once the liquid level is expressed in engineering units, you can then proceed with the conversion to the sensor output signal units, which typically involves scaling the engineering units to match the range and sensitivity of the sensor's output.
This ensures that the sensor provides an accurate and meaningful representation of the liquid level, making it easier to interpret and use the data for various applications.
Know more about engineering units:
https://brainly.com/question/33553485
#SPJ7
Which is not one of the primary characteristic of unit testing:
Answer:
Unit testing is a software development process in which the smallest testable parts of an application, called units, are individually and independently scrutinized for proper operation. This testing methodology is done during the development process by the software developers and sometimes QA staff. The main objective of unit testing is to isolate written code to test and determine if it works as intended.
Unit testing is an important step in the development process, because if done correctly, it can help detect early flaws in code which may be more difficult to find in later testing stages.
Unit testing is a component of test-driven development (TDD), a pragmatic methodology that takes a meticulous approach to building a product by means of continual testing and revision. This testing method is also the first level of software testing, which is performed before other testing methods such as integration testing. Unit tests are typically isolated to ensure a unit does not rely on any external code or functions. Testing can be done manually but is often automated. It might be helpful
A line has a slope of 2/5 and contains the point (-10, -6). What is the y-intercept (b) of the line?
Answer:
y-intercept = -2
Explanation:
The general structure of an equation in slope-intercept form is:
y = mx + b
In this formula, "m" represents the slope and "b" represents the y-intercept. Remember how the Point (-10, -6) contains one "x" value and one "y" value. Using these values in addition to the slope, you can plug them into the equation to find the y-intercept.
x = -10 (from point)
y = -6 (from point)
m = 2/5
y = mx + b <----- Slope-intercept form
y = (2/5) x + b <----- Plug 2/5 into "m"
-6 = (2/5)(-10) + b <----- Plug in "x" and "y" values from point
-6 = -4 + b <----- Multiply 2/5 and -10
-2 = b <----- Add 4 to both sides
Therefore, the value of the y-intercept is b = -2. The complete equation of the line is:
y = (2/5)x - 2
A flexible hydraulic hose identified as mil-h-8788 will have a stripe running the length of the hose. This stripe?
Answer: This a system of equations question. What you will do is make an equation comparing the two lengths then make another one as the sum of the lengths. H1 will stand for hose 1 and H2 will stand for hose 2.
so our first equation is H1=4*(H2)-20. We know this because H1 is 20 less than 4 times H2.
After landing equipment, a hydraulic flexible hose has been removing the everlasting form of a hose because of stress is called a save you high strain from extruding the seal among the transferring and desk-bound parts.
What are Hydraulics?Hydraulics is a mechanical characteristic that operates via the pressure of liquid pressure. In hydraulics-based totally structures, mechanical motion is produced with the aid of contained, pumped liquid, normally via hydraulic cylinders transferring pistons.
Hydraulic structures paintings through using pressurized fluid to energy an engine. these hydraulic presses position pressure on a small amount of fluid for you to generate a massive amount of power. Hydraulic structures are capable of shifting heavier loads in addition to offering greater force than mechanical, electrical, or pneumatic systems. The fluid energy gadget approach can without difficulty address a huge weight variety without having to use gears, pulleys, or heavy leavers.
Learn more about Hydraulics here:
brainly.com/question/20366137
#SPJ2
a. Calculate the equivalent resistance of the circuit
Answer:
no any think photo.
Explanation:
If extension done in a stork position, during backward bending in a standing position of a special test for lumbar spine, produces pain in the lumbar or sacral regions of the spine, it may indicate _____.
A handsfree device may be used if it can be activated or deactivate with a?
A handsfree device may be used if it can be activated or deactivate with a cellphone.
What is hands-free?Handsfree is a device which when connected to a cell device can be used in listening to audio, video and messages.
A driver can also activate or deactivate with a swipe when connect to the vehicle audio device.
Therefore,
A handsfree device may be used if it can be activated or deactivate with a cellphone.
Learn more on handsfree below
https://brainly.com/question/12253610
#SPJ1
In 2001, a land-development company launched an engineering project on land adjacent to a protected wetlands area
The statement that summarizes the data is that the population data should be collected over a much lingers period of time in order to draw a valid conclusion.
What is data?It should be noted that data simply means the facts or statistics that are put together to get more information about a particular issue.
It should be noted that a project simony refers to an individual or collaborative enterprise which is planned in order to achieve a particular aim. In this case, the land-development company launched an engineering project on land adjacent to a protected wetlands area.
It should be noted that the time frame that the data was collected matters a lot in order to get a valid conclusion.
In this case, the statement that summarizes the data is that the population data should be collected over a much lingers period of time in order to draw a valid conclusion.
Learn more about data on:
brainly.com/question/4219149
#SPJ1
The options to the question:
a. The data Gail to represent a broad diversity of species and so do not provide enough information to adequately draw a conclusion.
b. Population data were not sampled frequently enough to draw a valid conclusion.
c. The data show stable population trends in native species providing evidence that the engineering project has no negative impact on the ecosystem.
d. The population data should be collected over a much lingers period of time in order to draw a valid conclusion.
Metal wireways are sheet metal troughs with _____________ for housing and protecting electrical conductors and cable.
Answer:
Metal wireways are sheet metal "U"s with removable housing for protecting electrical equipment, wires, and cables.
Explanation:
These are especially used to run wire in manufacturing environments.
When passing another car, make sure you maintain at least a _______ safety cushion
based on the graph shown, for any given output level, the veritcal distance between the avc and the atc curves represents
A a result of the graph shown, for any given output level, the veritcal distance between the avc and the atc curves represents total fixed cost (TFC).
What is Vertical distance?This is known as vertical separation and it is said to be the distance that exist between two vertical positions.
Note that vertical coordinates are seen for expressing vertical position: depth, and others and as such,
See full question below
The vertical distance between the ATC and AVC curve represents
a) marginal cost (MC)
b) average fixed cost (AFC)
c) total fixed cost (TFC)
d) total cost (TC) - total variable cost (TVC)
Learn more about from
https://brainly.com/question/210650
#SPJ1
Someone claims that the volume flow rate in a circular pipe with laminar flow can be determined by measuring the velocity at the centerline in the fully developed region, multiplying it by the cross-sectional area, and dividing the result by 2. Do you agree
True or false? if i were to hook up an ac voltage source to a resistor, the voltage drop across the resistor would be in phase with the current in the circuit.
if a person were to hook up an ac voltage source to a resistor, the voltage drop across the resistor would be in phase with the current in the circuit and this is a true statement.
What is the role of a resistor in an AC circuit?A resistor is known to be a form of a passive tool that does not create or consume power.
Note that it often changes electrical energy into heat and as such, if a person were to hook up an ac voltage source to a resistor, the voltage drop across the resistor would be in phase with the current in the circuit and this is a true statement.
Learn more about resistor from
https://brainly.com/question/24858512
#SPJ1
Soru No 3
If you
Açık Öğretim Kurumlan Online Sınavı 300095
say
Bu cümlede boş
hangisi
Bu cümlede boş b/40
crijnilmelidir?
or
with someone in a conversation, you
cilindl3p4facvmyzzy2 on, you
yere seçeneklerden
hekle
indl 3p4jacymyzzxkm2ku2140
A) I'd exactly say the opposite
B) I am sorry for interrupting
C) You have a point there
ku2140
D) Never in a million years
Bu soruyu boş bırakmak istiyorum
p4facvmy
crimd13p4facy
Write a class having two private variables and one-member function which will return the area of the rectangle.
Using the knowledge in computational language in C++ it is possible to write the code being write a class having two private variables
Writting the code in C++:#include <iostream>
using namespace std;
class Rectangle { /*create a class named Rectangle*/
private:
float l,b; /*this class has two private variables l and b*/
public:
float getArea(float l, float b) /*this class has one member-function getArea which returns the area of the rectangle*/
{
return l*b; /*return the area of the rectangle*/
}
};
int main () { /*the main function to check the working of our Rectangle class*/
float l,b;
Rectangle r1; /*create an object r1 of Rectangle class*/
cout<<"Enter the length of the rectangle: ";
cin>>l; /*input the length of the rectangle from the user*/
cout<<"Enter the breadth of the rectangle: ";
cin>>b; /*input the breadth of the rectangle from the user*/
cout <<"Area of the rectangle is: "<< r1.getArea(l,b)<<" square units."; /*find the area of the rectangle using the member function of the class*/
return 0;
}
See more about C++ at brainly.com/question/19705654
#SPJ1
A light weight vehicle traveling 50 mph can stop in approximately
a. 200 meters.
b. 5 blocks.
c. 200 feet.
d. 6 seconds.
A light weight vehicle traveling 50 mph can stop in approximately 200 feet.
How a car break works?
The break system of a car is composed by several items that are always working together to slow down and bring a vehicle to a complete stop. It also has the function of keeping the car stationary when it is parked. In general, this system has two manual activation modes: the lever and the pedal, with the exception of vehicles adapted for people with disabilities.
Most vehicles today use the disc brake system. Disc brakes work by using pads, which are held inside a hydraulic caliper, receiving pressure to brake. Such pads generate friction on a disc, which makes the vehicle stop permanently.
The drum brake is another type, being older and dependent on the famous linings to cause friction in the wheel and stop the vehicle. A hydraulic cylinder makes the plies move inside the drum, which is a hollow part fastened with screws and attached to the wheels. This type of brake is on the rear wheels, for the most common models.
See more about engineering at: brainly.com/question/19117846
#SPJ1
Through Engineering, human achievement continues to advance. Write about your favorite example of engineering in action and what impresses you about it from an Engineering standpoint.
Hydroelectric power plants are outstanding engineering devices that allow people to obtain energy from renewable sources.
What is a hydroelectric power plant?A hydroelectric power plant is a center for the production of electricity based on hydropower energy systems.
Hydroelectric power plants exploit the energy of water masses (e.g., a stream) to produce clean energy for million of people around the world.
These plants have generators capable of converting mechanical energy into electricity by using simple turbines.
In conclusion, hydroelectric power plants are outstanding engineering devices that allow people to obtain energy from renewable sources.
Learn more about Hydroelectric power plants here:
https://brainly.com/question/8934285
#SPJ1
Vivian's Violins has sales of $326,000, contribution margin of $184,000 and fixed costs total $85,000. Vivian's Violins net operating income is Blank______. Multiple choice question. $241,000 $57,000 $99,000
Based on the calculations, Vivian's Violins net operating income is equal to: D. $99,000.
How to calculate net operating income?Mathematically, the net operating income of an individual or business firm can be calculated by using this formula:
Net operating income = Contribution margin - Total fixed costs
Given the following data:
Sales = $326,000Contribution margin = $184,000Fixed costs total $85,000Substituting the given parameters into the formula, we have;
Net operating income = $184,000 - $85,000
Net operating income = $99,000.
Read more on net operating income here: https://brainly.com/question/24165947
#SPJ1
The only difference between all GMA welding machines and some FCA welding machines is that all GMA welding machines must have a ______________.
Answer: Shielding gas solenoid
Explanation:
To put out a class D metal fire, you must _______ the fire.
To put out a class D metal fire, you must smother the fire and eliminate the oxygen element in the fire.
What is a Class D fire?A class D fire is a type of fire that cannot be extinguished by water. This is because adding water to it reacts with other elements in the fire intensifying the fire even more.
Smothering in this context involves adding a solution like carbon dioxide (CO2) into the fire, this results in a reduction of oxygen in the atmosphere surrounding the class D fire.
By so doing, smothering the fire eliminates the oxygen element in the fire, thereby extinguishing the fire.
You can learn more about extinguishing fires here https://brainly.in/question/760550
#SPJ1
Determine the carburizing time necessary to achieve a carbon concentration of 0.30 wt.% at a position of 4 mm into an iron-carbon alloy that initially contains 0.10 wt.% C. The surface concentration is to be maintained at 0.90 wt.% C, and the treatment is to be conducted at C. Use the diffusion data for -Fe in Table 5.2
The carburizing time necessary to achieve a carbon concentration is 31.35 hours
How to find the Carburizing Time?To determine the carburizing time necessary to achieve the given carbon concentration, we will use the equation:
(Cs - Cx)/(Cs - C0) = ERF(x/2√Dt)
where;
Cs is Concentration of carbon at surface = 0.90
Cx is Concentration of carbon at distance x = 0.30
Distance x = 4 mm = 0.004 m
C0 is Initial concentration of carbon = 0.10
ERF() = Error function at the given value
D = Diffusion of Carbon into steel
t = Time necessary to achieve given carbon concentration ,
Thus, plugging in the relevant values gives;
(Cs - Cx)/(Cs - C0) = (0.9 - 0.3)/(0.9 - 0.1)
= 0.6/0.8 = 0.75
now, ERF(z) = 0.75 and as such using ERF table, we can say that;
Z = 0.814. Thus;
(x/2√Dt) = 0.81
Using the table of diffusion data, we have;
At a temperature of (1100°C) or 1373 K, we have;
D = 5.35 × 10⁻¹¹ m²/sec.
Calculating the carbonizing time by using the equation z = (x/2√Dt);
where;
t is carbonizing time
Thus;
0.814 = (0.004/(2 × √5.35 × 10⁻¹¹ × √t))
0.814 = 0.004 /(1.4628 × 10⁻⁵ × √t)
0.814 × 1.4628 × 10⁻⁵ × √t = 0.004
1.19072 × 10⁻⁵ × √t = 0.004
√t = 0.004/(1.19072 × 10⁻⁵)
√t = 335.93
t = 112848.96 seconds
Converting to hours gives;
t = 112848.96/3600
t = 31.35 hours
Therefore, the carburizing time necessary to achieve a carbon concentration is 31.35 hours
Read more about Carburizing Time at; https://brainly.com/question/13031810
#SPJ1
An important difference between expressways and freeways is that expressways feature intersections, whereas freeways use: a) interchanges b) medians c) rumble strips d) green guide signs
An important difference between expressways and freeways is that expressways feature intersections, whereas freeways use a) interchanges.
An isolation transformer whose main purpose is to reduce voltage spikes will have a turns ratio of?
Answer:
An isolation transformer whose main purpose is to reduce voltage spikes will have a turns ratio of 1 to 1.
This is due to the windings input and output having the same waveform and amplitude.