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]
2 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]2 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
The y component of velocity in a steady, incompressible flow field in the xy plane is v = -Bxy3, where B = 0.4 m-3 · s-1, and x
love history [14]

Answer:

attached below

Explanation:

3 0
3 years ago
What careers could you potential do if you
Margarita [4]

Answer:

Engineering careers. If you want to stay in engineering, your job opportunities are very much linked to your degree type, and you probably know what many of them are already. ...

Consulting. ...

Technical writing. ...

Business. ...

Investment banking. ...

Law. ...

Manufacturing and production. ...

Logistics and supply chain.

Explanation:

3 0
3 years ago
Hãy trình bày các bộ phận chính trong một bộ điều khiển điện tử (ECU) dùng trên ô tô. Cho biết công dụng của từng thành phần.
mestny [16]

Answer:

sorry but I can't understand this Language.

Explanation:

unable to answer sorry

5 0
2 years ago
A fisherman tries to escape a flash flood by walking up the 10 degree hill. If the water is rising at 0.11 m/s, how fast must he
FromTheMoon [43]

10.5 mph I’m pretty sure so so sorry if I’m wrong

6 0
3 years ago
Read 2 more answers
Why did Percy most likely send Medusa's head to Olympus when he knew this would upset the gods?
Maksim231197 [3]

Answer: To show his father what he had done

Explanation:

Percy Jackson is the son of the great Greek god of the seas, Poseidon. He did not however, know this for a long time. After he finds out, his life becomes more exciting as he embarks on many adventures.

According to Grover who is his best friend and guardian, Percy sent Medusa's head to Mount Olympus to show his father what he had done so that Poseidon would acknowledge and be proud of him.

7 0
2 years ago
Other questions:
  • 4.71 A full-wave rectifier circuit with a 1-kΩ operates from a 120-V (rms) 60-Hz household supply through a 6-to-1 transformer h
    10·1 answer
  • Thermal energy storage systems commonly involve a packed bed of solid spheres, through which a hot gas flows if the system is be
    13·1 answer
  • (35 points) This is a legit question that I have for a device FOR my homework.
    12·1 answer
  • You could be sued if you injure someone while rescuing them if...
    11·2 answers
  • Steam in a heating system flows through tubes whose outer diameter is 5 cm and whose walls are maintained at a temperature of 19
    13·1 answer
  • Storing parts outside doesn't cause any environmental risks as long as the items are covered.
    12·2 answers
  • Your sprayer has a 60-foot wide boom with 36 nozzles along this 60-foot length. Your spray speed is 4.5 miles per hour and you w
    15·1 answer
  • The minimum recommended standards for the operating system, processor, primary memory (RAM), and storage capacity for certain so
    12·2 answers
  • Write the output expression for a NOR gate with inputs , , and .​
    7·1 answer
  • The density of a certain type of steel is 8.1 g/cm3. What is the mass of a 100 cm3 chunk of this steel
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!