1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
padilas [110]
3 years ago
10

What is the output of the following program fragment. Choose appropriate data-types of variables to match output.

Engineering
1 answer:
Alexxx [7]3 years ago
3 0

Answer:

1

Explanation:

Given :

i=7;j=8;k=9;

printf(“%d”,(i+10)%k/j);

The printf function only displays the result

%d - is used for the display format

However, the actual calculation is in the expression: (i+10)%k/j

Given the variables :

i = 7 ;

j = 8 ;

k = 9 ;

(i + 10) = (7 + 10) = 17

(i + 10) % k = 17 % 9

% = remainder value after division

17 % 9 = (17 / 9) = 1 remainder 8

17 % 9 = 8

Hence,

(i + 10) % k = 8

(i + 10) % k / j

j = 8

8 / 8

= 1

You might be interested in
1<br>M<br>A BLIND COOK WHO DEFEATED<br>OVER 30,000 HOME COOKS!<br>y of​
REY [17]

Answer:

u needa be more clear sweet pee <3

Explanation:

3 0
3 years ago
A company specification calls for a steel component to have a minimum tensile strength of 1240 MPa. Tension tests are conducted
Pavlova-9 [17]

Answer:

a) The minimum acceptable value is 387.5 HV using Vickers hardness test.

b) The minimum acceptable value is 39.4 HRC using Rockwell C hardness test.

Explanation:

To get the tensile strength of a material from its hardness, we multiply it by an empirical constant that depends on things like yield strength, work-hardening, Poisson's ratio and geometrical factors. The incidence of cold-work varies this relationship.

According to DIN 50150 (a conversion table for hardness), the constant for Vickers hardness is ≈ 3.2 (an empirical approximate):

\mbox{Tensile strength}=HV*3.2\\\\HV  = \frac{\mbox{Tensile strength}}{3.2} =\frac{1240}{3.2}=387.5

According to DIN 50150, the constant for Rockwell C hardness test is ≈31.5 around this values of tensile strength:

\mbox{Tensile strength}=HRC*31.5\\\\HRC  = \frac{\mbox{Tensile strength}}{31.5} =\frac{1240}{31.5}=39.4

8 0
3 years ago
According to Gary Sirota, the proposed Bajagua wastewater treatment plant is a beneficial solution because __________.
DIA [1.3K]

Gary Sirota assert that the proposed Bajagua wastewater treatment plant is a beneficial solution because all contractual obligations must be met before service fee is due.

<h3>Who is Gary Sirota?</h3>

Gary Sirota is the owner of a law group called Coast Law Group.

In one of his speeches, he asserted that the proposed Bajagua wastewater treatment plant is a beneficial solution because all contractual obligations must be met before service fee is due.

Read more about treatment plant

<em>brainly.com/question/20406569</em>

8 0
2 years ago
Which of the following justifies the need for an already-certified engineer to continue to take classes?
tatiyna
What are the answer choices?
Without the choices, I’d say so that they can further progress their engineering education. New technologies and new mechanical advancements are always coming out so it would be beneficial for the engineer to keep up to date by taking classes.
3 0
3 years ago
Select the properties and typical applications for the high carbon steels.
yanalaym [24]

Answer:

<u>Option-(A)</u>

Explanation:

<u>Typical applications for the high carbon steels includes the following;</u>

It is heat treatable, relatively large combinations of mechanical characteristics. Typical applications: railway wheels and tracks, gears, crankshafts, and machine parts.

3 0
3 years ago
Other questions:
  • Water vapor at 6 MPa, 500°C enters a turbine operating at steady state and expands to 20 kPa. The mass flow rate is 3 kg/s, and
    8·1 answer
  • What should the resistance value be on a size 5 motor starter coil
    14·1 answer
  • For what two reasons do countries specialize? Countries specialize so that opportunity costs can be increased. Countries special
    13·1 answer
  • Which of the following is an example of seeking accreditation?
    7·1 answer
  • What is this i dont understand this at all
    9·1 answer
  • Some wire of radius is 1.262mm has a resistance of 20Ω. Determine the resistance of a wire of the same length and material if th
    14·2 answers
  • 3. What type of tool do you use to make angles?
    15·1 answer
  • A person has driven a car 180 m in 40 seconds. What is the car’s speed?
    12·1 answer
  • Describe the meaning of the different symbols and abbreviations found on the documents that they use
    11·1 answer
  • The static weight distribution is changed laterally by
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!