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
strojnjashka [21]
3 years ago
6

Given the integer variables x , y , and z , write a fragment of code that assigns the smallest of x , y , and z to another integ

er variable min . Assume that all the variables have already been declared and that x , y , and z have been assigned values,So if the value of x is 19 the value of y is 13, and the value of z is 23, then after your code executes, the value of min would be 13.
Computers and Technology
1 answer:
exis [7]3 years ago
6 0

Answer:

int min

if (x<=y) then

 min=x

else

 min=y

endif

if (min>=z) then

 min=z

endif

Explanation:

I wrote a simple, generic piece of code that first compares the x and y variables and assigns to min the smallest of the two values, then it compares the min variable to the third value and check if the value stored in min is bigger than z, in that case, it means that z is the smallest of all three and it assigns the value of z into min. I took into consideration the possibility that two or the three numbers be equal, which it will still throw the smallest values of the three.

You might be interested in
HTML importance in web desgin<br>​
Inessa [10]

Answer:

HTML is a significant tool for building up a site. It is a programming language used to describe the structure of information on a web page.

Explanation:

6 0
3 years ago
Why is it important to understand the basic ways in which pictures and video are stored in the computer?
nalin [4]

Answer:

This is important to understand the basic ways to store pictures and video in a computer because both of them consume a relatively large storage spaces in a the computer compared with normal text files.

Explanation:

Nowadays, many computers shipped with a SSD drive (Solid State Drive) with only around 256 - 512 Gb. With this capacity, the storage spaces left to store the pictures and video are very limited after installation of the essential software.

One common way to store pictures and video is to save them at an external hard drive. Another option is the cloud storage service such as Google Drive, Google Photo etc. These storage mediums obviate the need to store those media files into the local computer machine.

6 0
3 years ago
What are the correct steps to find the system specifications such as the amount of ram or system type for windows 7 machine?
Nutka1998 [239]

First, click the Start button. Then, select Control Panel. Next, go to System and Security. To find out the amount of RAM and system type of your device, select System. The information you need will be displayed along with the type of processor, computer name, domain, and windows activation details.

5 0
4 years ago
The tuna marketers' task in the "tunathewonderfish.com" website and related campaign was to ________.
Wewaii [24]
The answer to this question is "to monitor all the elements of the marketing mix for a Oregon winery". This is the main task of the tuna marketer's task in the emailing or website which is very known s tunwonderfish.com and this compaign was exclusively related to the elements of mixing in a large Oregon winery but not including the production.
4 0
4 years ago
Try drawing the bass clef sign by tracing over the dotted lines. then draw five more on your own
Jobisdone [24]

Answer:

ok

Explanation:

did it. It was a little difficult to keep my pencil straight.

6 0
3 years ago
Other questions:
  • Many professional photographers take pictures of people. What skills would someone have to have to be successful in these types
    13·1 answer
  • How would you say an hard drive works
    9·2 answers
  • Discuss the different types of user-friendly interfaces and the types of users who typically use each.
    12·1 answer
  • Setting up network encryption involves
    5·1 answer
  • If a user's input string matches a known text message abbreviation, output the unabbreviated form, else output: Unknown. Support
    14·2 answers
  • What is displayed on the console when running the following program?
    5·1 answer
  • Public classes are accessible by all objects, which means that public classes can be ____, or used as a basis for any other clas
    10·2 answers
  • What is computer system<br>explain the role of bank in computer<br>​
    15·2 answers
  • Why is John Von Neumann to a remarkable name?<br>si​
    15·1 answer
  • Algorithm to eat orange<br><br>​
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!