Write a program whose inputs are three integers, and whose output is the smallest of the three values.

Ex: If the input is:
7 15 3
the output is:
3

Can someone please help I'm stuck on what to do....

Write A Program Whose Inputs Are Three Integers, And Whose Output Is The Smallest Of The Three Values.Ex:

Answers

Answer 1

Answer:

#include <stdio.h>

#define MIN(i, j) (((i) < (j)) ? (i) : (j))

int main(void) {

 int a,b,c, smallest;

 printf("Enter 3 numbers (separated by spaces): ");

 scanf("%d %d %d", &a, &b, &c);

 smallest = MIN(MIN(a,b), c);

 printf("Smallest number is %d.\n", smallest);

 return 0;

}

Explanation:

This is one way to do it. The MIN macro is a common way to implement an easy to read mechanism to pick the smallest of two values.


Related Questions

Microsoft office's ________ box enables you to search for help and information about a command or task

Answers

Microsoft office's Search box enables you to search for help and information about a command or task.

What is the Microsoft search box?

The Windows Search Box is known to be one that functions by helping the user to be able to find files and see information on their device and all of OneDrive, Outlook, and others.

Note that At the top of a person's  Microsoft Office apps that is seen on the Windows, a person will be able to find the new Microsoft Search box and this is known to be a powerful tool used for search.

Therefore, Microsoft office's Search box enables you to search for help and information about a command or task.

Learn more about Microsoft office from

https://brainly.com/question/15131211

#SPJ1

A ________ is a small message box that displays when the pointer is placed over a command button.

Answers

An enhanced ScreenTips is a small message box that displays when the pointer is placed over a command button.

What are ScreenTips?

ScreenTips is known to be a term that connote a small windows that shows any kind of descriptive text if a person place the pointer on a command or on a control.

Note that Enhanced ScreenTips are found to be bigger windows that shows a lot of descriptive text than a ScreenTip.

Therefore, An enhanced ScreenTips is a small message box that displays when the pointer is placed over a command button.

Learn more about ScreenTips from

https://brainly.com/question/26677974

#SPJ1

The default output of a command is displayed on the?

Answers

Answer:

It is displayed on the console or screen.

the internet of things (iot) is a world where interconnected, internet-enabled devices or "things" can collect and share blank without human intervention.

Answers

The  internet of things (iot) is a world where interconnected, internet-enabled devices or "things" can collect and share blank without human intervention is a true statement.

What is Internet of Things explain?

The Internet of Things (IoT) is known  to be a term that connote a kind of a network that is made up of physical objects which are said to be embedded with  things such as sensors, software, as well as  other forms of technologies.

They are known to be mad for the purpose of linking as well as exchanging data with other kinds of devices and systems over the use of internet.

Therefore, The  internet of things (iot) is a world where interconnected, internet-enabled devices or "things" can collect and share blank without human intervention is a true statement.

Learn more about internet of things from

https://brainly.com/question/19995128

#SPJ1

the internet of things (iot) is a world where interconnected, internet-enabled devices or "things" can collect and share blank without human intervention. True/false

Data communications and networking can be considered as a global area of study because:_______.

Answers

Answer: Networks and Communication run the world (I.e., Everything on a computer or non-person communication is driven over a computer network)

Explanation:
Data communications is literally the basis of computer networks by using advanced mathematics and agreed upon computational standards that allow for communication between others via phone, computer, radios, etc. The creation of systems that allow the data communications are contained in network devices and a collection of networking applications create the network. Some real world examples of this can be seen in cellular carriers like Verizon, TMobile, and AT&T. Their whole businesses are built on ensuring data communications can be had in a wireless and accessible way for end users across their networks. And for instance if you talk to people across states or across countries, you are indeed traversing a global area. There will always be a need for data communication and networking to ensure everyone can continue to communicate with one another electronically.

Cheers.

some programmers dislike return statements in the middle of a method. it is always possible to restructure a method so that it has a single return statement. rearrange the following lines of code to produce such a version of the firstspace method of the preceding exercise.

Answers

Using the knowledge in computational language in JAVA it is possible to write a code that produce such a version of the firstspace method of the preceding exercise.

Writting the code:

import java.util.Scanner;

public class FindSpaces

{

   

   

   public static int firstSpace(String str)

   {

       boolean found = false;

       int position = -1;

       for(int i = 0; !found && i < str.length(); i++)

       {

           char ch = str.charAt(i);

           if(ch == ' ')

           {

               position = i;

               found = true;

           }

       }  

       return position;

   }

   

   public static void main (String[]args)

   {

       Scanner in = new Scanner (System.in);

       String inputStr = in.nextLine ();

       int firstSpacePosition = firstSpace (inputStr);

       System.out.println (firstSpacePosition);

   }

}

See more about JAVA at brainly.com/question/12975450

#SPJ1

using the resources available in your library, find out what laws your state has passed to prosecute computer crime.

Answers

The laws my state has passed to prosecute computer crime is Information Technology ACT, 2002 - It is known to be the law that stated that it will deal with cybercrime as well as electronic commerce in all of India.

What are Cybercrime?

Cybercrime is known to be a type of a crime that entails the use of a computer as well as a network.

Note that the computer is one that can or have been used in the commission of any kind of crime, or it one that is said to be under target. Cybercrime is a type of crime that can harm a person's security as well as their financial health.

Therefore, based on the above, The laws my state has passed to prosecute computer crime is Information Technology ACT, 2002 - It is known to be the law that stated that it will deal with cybercrime as well as electronic commerce in all of India.

Learn more about computer crime from

https://brainly.com/question/13109173

#SPJ1

A(n) _____ is a framework for describing the phases of developing information systems.

Answers

Systems development life cycle also known as SDLC

What is the term for the process of giving computers instructions about what they should do next? (1 point)

A. Programming

B. Step-by-step

C. Developing

D. Scheduling

Answers

It’s programming, that gives the set of instructions to the computer, it’s the computers way of understanding what a human wants the computer to do

What is the output? void iseven(int num) { int even; if (num == 0) { even = 1; } else { even = 0; } } int main() { iseven(7); cout << even; return 0; }

Answers

The outpot based from the code is No output. It is because a compiler error occurs due to unknown variable even.

A compiler is a program that is used to convert code written in natural language processing so that it can be understood by computers. So, the main task of a compiler is to do conversion for the code. There are two types of compilers:

A cross compiler that runs on machine 'A' and generates code for another machine 'B'.Source-to-source compiler, which is a compiler that translates source code written in one programming language into source code in another programming language.

Learn more compiler https://brainly.com/question/28232020

#SPJ4

Type the correct answer in the box. Spell all words correctly.

George is creating a professional presentation for his client and wants to add his company’s logo, some images, and a video of his manufacturing unit into a slide. Which parts of the slide layout should he use?

George must use the [ ? ] of the slide layout to insert the company logo, images, and the video into his slide.

Answers

George must use the media of the slide layout to insert the company logo, images, and the video into his slide.

What is a slide?

A slide can be defined as a single page of a presentation that is made up of text-based information or images, which can be used to teach and educate an audience on a subject matter.

What is a slide layout?

In Computer technology, the slide layout feature of a presentation software’s interface such as Microsoft PowerPoint, can be used to insert two or more tables, logo, images, and the video in a slide and format the text on all slides.

In this scenario, George must use the media of the slide layout to insert the company logo, images, and the video into his slide.

Read more on slides here: brainly.com/question/7019369

#SPJ1

Name the piece of hardware found in a tablet computer that is both an input and output device.

Answers

Answer:

The screen.

Explanation:

You interact with the tablet via the screen and it displays information.

A(n) ______ bus is used to transfer information about where the data should reside in memory.

Answers

A School bus.......

a complete model of the skeleton that could be useful for all practical applications would b a dissected human a dissected human a 3d computer generated model a 3d computer generated model such a model is impossible such a model is impossible a 2d computer generated model

Answers

A complete model of the skeleton that could be useful for all practical applications would be: C. such a model is impossible.

What is a model?

A model can be defined as the creation of a physical object either from kits, components or other applicable materials that are acquired by the builder, so as to simulate a phenomenon or process.

This ultimately implies that, a model should be probabilistic in nature rather than being perfect, so as to effectively illustrate or describe the relationship that is existing between an independent variable and the dependent variable.

Generally, some of the ways in which models cannot be useful include the following:

Building intuition for situations.Useful for all practical applications.Making predictions that can be verified.

In this context, we can reasonably infer and logically deduce that a complete model of the skeleton that could be useful for all practical applications would be impossible.

Read more on models here: https://brainly.com/question/27844970

#SPJ1

Complete Question:

A complete model of the skeleton that could be useful for all practical applications would be

A. a 3D computer generated model

B. a 2D computer generated model

C. such a model is impossible

D. a dissected human

Answer:

C. Some translation work will require a human being instead of a computer.

Explanation:

The number ____ is the standard dots per inch used for blogs, social media, webpages, and emails.

That question is for my photography class.

Answers

Answer:

72 dpi

Explanation:

72 DPI is standard for social media posts and others. It is not 300 DPI which is standard for print.

The standard dots per inch (DPI) used for blogs, social media, webpages, and emails can vary depending on the specific platform and device.

A common standard for these digital mediums is 72 DPI.

DPI refers to the resolution or sharpness of an image on a digital display. A higher DPI means more dots or pixels per inch, resulting in a clearer and more detailed image. On the other hand, a lower DPI means fewer dots per inch, resulting in a less sharp image.

For digital content displayed on screens, a DPI of 72 is often used because it strikes a balance between image quality and file size. This resolution is considered sufficient for viewing images online without causing excessive loading times or using excessive bandwidth.

It's important to note that when printing physical copies, a higher DPI is generally recommended to achieve better print quality. In print media, resolutions like 300 DPI are commonly used to ensure sharp and detailed prints.

Know more about dots per inch,

https://brainly.com/question/32108345

#SPJ3

Develop the IPO chart to calculate the area of a Triangle

Answers

The IPO chart to calculate the area of a Triangle is given below:

The Formula

at=area of triangle

b=Bredth ,h=height.

Formula=0.5×b×h.

Algorithm:

-Step 1:-Start.

Step 2:-Declare at,b,has float.

Step 3:-Initialize value of b and h.

Step 4:-Calculate at 0.5×b×h.

Step 5:-print area of triangle .

Step 6:-End.

Read more about algorithms here:

https://brainly.com/question/13800096

#SPJ1

the information mis infrastructure supports the day-to-day business operations and plans for multiple choice security breaches and theft. all of the answer choices are correct. malicious internet attacks. floods and earthquakes.

Answers

The information MIS infrastructure supports the day-to-day business operations and plans for: D. All of the above.

What is an information system?

An information system (IS) can be defined as a collection of computer systems and Human Resources (HR) that is used by a business organization or manager to obtain, store, compute, and process data, as well as the dissemination (communication) of information, knowledge, and the distribution of digital products from one location to another.

What is MIS?

In Business management, MIS is an abbreviation for marketing intelligence system and it can be defined as a type of information system (IS)  which is designed and developed to uses both informal and formal information-gathering procedures to obtain strategic information from the marketplace.

In conclusion, the information MIS infrastructure generally supports the daily business operations and plans for:

Security breaches and theft.Floods and earthquakes.Malicious internet attacks.

Read more on marketing intelligence system here: brainly.com/question/14951861

#SPJ1

Complete Question:

The information MIS infrastructure supports the day-to-day business operations and plans for ____________.

A. Security breaches and theft

B. Floods and earthquakes

C. Malicious internet attacks

D. All of the above

kate decides to download an extension to her favorite browser to quickly store links on her spreadsheet software. while downloading the software, she ignores the opt-out check box that allows the extension to download a search toolbar.

Answers

Since Kate has decides to download an extension to her favorite browser to quickly store links on her spreadsheet software. the situation that has occurred here is the fact that option d: She has installed PUPs (potentially unwanted programs).

What is a potentially unwanted program (PUP)?

The term known as a potentially unwanted program (PUP) is known to be a kind of a program that is known to not be needed that is they are unwanted.

Even if there is the possibility that users are known to be consented to download it, the  PUPs is known to be made up of spyware, adware as well as dialers, and they can be downloaded in line  with a program that a given user wants.

Therefore, Since Kate has decides to download an extension to her favorite browser to quickly store links on her spreadsheet software. the situation that has occurred here is the fact that option d: She has installed PUPs (potentially unwanted programs).

Learn more about potentially unwanted programs from

https://brainly.com/question/25091456

#SPJ1

Kate decides to download an extension to her favorite browser to quickly store links on her spreadsheet software. While downloading the software, she ignores the opt-out check box that allows the extension to download a search toolbar.

What has occurred here?

a.

Kate has installed an injection.

b.

Kate has installed a backdoor.

c.

Kate has installed a Trojan.

d.

Kate has installed a potentially unwanted program (PUP).

suzanne’s at 2 inches per week suzanne’s at 1.5 inches per week megan’s at 3 inches per week megan’s at 2.5 inches per week

Answers

Based on the above, the plant that grew at a faster rate would be Megan’s at 2.5 inches per week.

What is the growth rate about?

The term growth rates is known to be one that is often used to show the annual alterations in a variable.

Note that:

Megan's rate = 12 - 4.5 / 4 -1

= 2.5 inches per week

Suzanne's rate = 11 - 5 / 4-1

= 0.5 inches per week

Based on the above,, the plant that grew at a faster rate would be Megan’s at 2.5 inches per week.

Learn more about growth rate from

https://brainly.com/question/2480938

#SPJ1

Megan and Suzanne each have a plant. They track the growth of their plants for four weeks. Whose plant grew at a faster rate, and what was the rate? Suzanne’s at 2 inches per week Suzanne’s at 1.5 inches per week Megan’s at 3 inches per week Megan’s at 2.5 inches per week

Select the correct answer.
Which letter will be uppercase in the below sentence?

she will have exams next week.

A.
s in she
B.
h in have
C.
e in exams
D.
w in week
E.
n in next

Answers

Answer:D

Explanation:

When an event occurs, the agent logs details regarding the event. what is this event called?
a. mib
b. get
c. trap
d. oid

Answers

If an event occurs, the agent logs details regarding the event. what is this event called GET.

The information in the agent log file is known to be the beginning of the log file, which is stated to show the agent's launch and handling of the services and configuration settings.

Keep in mind that the agent log also contains a history of the activities performed by the agent during runtime, along with any errors, and that it is utilised to investigate deployment issues.

As a result, if an event happens, the agent logs information about it. What is this GET event, exactly?

The agent monitoring services' startup and configuration settings are displayed at the log file's beginning. The sequence of agent runtime activity and any observed exceptions are also included in the agent log.

Learn more about agent logs:

https://brainly.com/question/28557574

#SPJ4

montague e, xu j. understanding active and passive users: the effects of an active user using normal, hard and unreliable technologies on user assessment of trust in technology and co-user. applied ergonomics 2012; 43:702–712.

Answers

The purpose of this study was to comprehend how, in various technological environments, passive users judge the reliability of active users and technologies.

An experiment was created to change how various technologies operated as active people interacted with them and passive users watched them. The technology and partner were rated by both active and passive users.

Exploratory data analysis indicates that passive users formed opinions on technologies based on how they worked and how active users engaged with them.

The results of this study have significance for how technologies should be designed in settings where active and passive users engage with technology in various ways. Future research in this area needs to examine strategies that improve affective involvement and trust calibration.

Learn more about active and passive:

https://brainly.com/question/22600158

#SPJ4

The complete question is'' what are the effects of an active user using normal, hard and unreliable technologies on user assessment of trust in technology and co-user''

What are two problems that can be caused by a large number of arp request and reply messages?

Answers

The two problems that can be caused by many ARP requests and reply messages are if switching is slowed down by a lot of ARP request and reply messages, the switch may have to alter its MAC table a lot and the other one is the ARP request will overwhelm the entire subnet because it is transmitted as a broadcast.

What is ARP?

Address Resolution Protocol is referred to as ARP. The system must translate an IP address into a MAC address before someone can ping an IP address to their local network. The user will need to use ARP to resolve the address in order to accomplish this.

There are some other problems that can be caused by many ARP request and reply messages are :

Because they focus all the traffic from the associated subnets, switches get overloaded.All nodes on the local network must process each and every ARP request message.ARP reply messages have a huge payload because of the 48-bit MAC address and 32-bit IP address that they include, which could cause the network to become overloaded.

To get more information about ARP :

https://brainly.com/question/12975431

#SPJ1

When packets arrive at their destination at different speeds, they sometimes arrive out of order. what does this cause?
a. jitter
b. latency
c. dropped packets
d. error rates

Answers

What cause based on the question is a. Jitter. Jitter is the variation in time between arriving data packets, caused by network congestion, or route changes. The longer the data packet is sent, the more jitter will affect the audio and network quality.

Standard jitter measurement in milliseconds (ms). If you receive a jitter higher than 15-20ms, it can increase latency and result in packet loss, causing a decrease in audio quality. Symptoms of jitter include:

Audio is intermittent Call pending or disconnectedStatic, intermittent, or garbled audio

If the test results show the Jitter rating is higher than 15-20ms, there is most likely a problem with the Internet Service Provider (ISP). If the test cannot be plugged directly into the modem, the ISP should be able to run the test. If they run into a jitter problem in the end, they should be able to solve it.

Learn more jitter https://brainly.com/question/13661659?

#SPJ4

Protection against active attacks (falsification of data and transactions) is known as?

Answers

Answer:

Message authentication.

Explanation:

how to move the text in computer​

Answers

Answer:

to move text selected test click on the cut icon from home tab put the cursor where you want to play the selected text click on paste icon from home tab

1)write a python program to check wheter the given number is even or odd
2) write a python program to add any 5 subjects makrs, find sum and average (average=sum/5)
3)write a python program to print numbers from 1 to 100 using loops

Answers

Answer:

n = 16

if n%2:

 print('{} is odd'.format(n))

else:

 print('{} is even'.format(n))

m1 = 5

m2 = 4

m3 = 6

m4 = 8

m5 = 9

sum = m1+m2+m3+m4+m5

average = sum/5

print("The sum is {}, the average is {}". format(sum, average))

for i in range(1, 101): print(i, end=",")

Explanation:

Above program does all three tasks.

Answer:

1) num1 = int(input("Enter the number to be checked: "))

if num1%2==0:

   print("Your number is an even number!")

else:

   print("Your number is not even!")

2) maths = int(input("Enter your maths mark: "))

english = int(input("Enter your english mark: "))

social = int(input("Enter your social mark: "))

science = int(input("Enter your science mark: "))

computer = int(input("Enter your computer mark: "))

Sum =  maths + english + social + science + computer

average = Sum / 5

print("Sum of your marks are:",Sum)

print("average of your marks are:",average)

3) num = 0

while num <= 99:

   num+=1

   print(num)

Explanation:

Welcome.

When a user interface is created in the window editor, the ide automatically generates the ________ needed to display each component in the window.

Answers

The ide automatically creates the graphical user interface required to display each component in the window when a user interface is built in the window editor. A system of visual, interactive components for computer software is known as a GUI (graphical user interface).

A graphical user interface presents information-conveying and action-representative items for the user to interact with. The objects change color, size, or visibility when the user interacts with them. In 1981, Alan Kay, Douglas Engelbart, and a handful of other researchers created the graphical user interface for the first time at Xerox PARC.

Learn more about graphical user interface https://brainly.com/question/14758410

#SPJ4

A programmer is developing software for a social media platform. The programmer is planning to use compression when users send attachments to other users. Which of the following is a true statement about the use of compression?

A. Lossy compression of an image file generally provides a greater reduction in transmission time than lossless compression does.
B. Lossless compression of an image file will generally result in a file that is equal in size to the original file.
C. Sound clips compressed with lossy compression for storage on the platform can be restored to their original quality when they are played.
D. Lossless compression of video files will generally save more space than lossy compression of video files.

Answers

A true statement about the use of compression is Lossy compression of an image file generally provides a greater reduction in transmission time than lossless compression does.

What is Compression?

This refers to the process of modifying, encoding or converting the bits structure of data to use less space.

Hence, we can see that A true statement about the use of compression is Lossy compression of an image file generally provides a greater reduction in transmission time than lossless compression does.

Read more about data compression here:

https://brainly.com/question/17266589

#SPJ1

A clogged printer nozzle is a possible disadvantage of using ____. a. a laser printer b. an inkjet printer c. a wi-fi printer

Answers

A clogged printer nozzle is a possible disadvantage of using an inkjet printer.

Inkjet printers are relatively light and inexpensive but provide reasonable quality assurance.

In an inkjet printer, the printer nozzle shoots the ink drops onto the print paper, which is discharged by a large electrostatic charge, thermal expansion, or sound waves.

There can be various reasons for the printer nozzle to get blocked including dust, high temperature, and if the temperature is lower than required then it may not be possible for the filament to melt.

On the other hand, laser and wi-fi printers do not require printer nozzles. Ink is not used in a laser printer as they are based on lasers to print paper.

To learn more about inkjet printers, click here:

https://brainly.com/question/8204968

#SPJ4

Other Questions
a bicyclist traveled from 15.6 m/s to 21.1 m/s over a distance of 30 meters a) what is the acceleration of the bicyclist?b) How much time does it take the bicyclist to travel the 30 meters Write the fraction below as apercent. Round your percent to thenearest tenth if necessary.650 20% de los animales en un centro de rescate de animales son gatos. Qu porcentaje son perros? the norwegian kroner:usd exchange rate is 10:1 while the norwegian kroner:euro rate is 12:1. if you start with 1,000,000 euros, how many usd will you have, using these exchange rates A 90-day note is signed on october 21. the due date of the note is? january 21 january 19 january 20 january 18 Differential cost is the difference in ________ between two alternatives.a. average cost b. total cost c. median cost d. marginal cost he atmosphere exerts a pressure of 14.7 lbf/in.2 on top of the 6-in.-diameter piston. the absolute pressure of the air inside the cylinder is 16 lbf/in.2 the local acceleration of gravity is g Prompt: How do you think the Founders' views and actions regarding slavery affected the United States in later generations? Respond to this prompt in at least two paragraphs. Each paragraph should begin with a topic sentence that states the paragraph's main idea and include at least two supporting detail sentences. Finish each paragraph with a concluding sentence that ties the paragraph's ideas together. Pay attention to spelling, grammar, and writing mechanics. Explain the orgin of the word culture. Explain the two diffrent meanings of to care for On a cloudy day, a yellow flower is likely to appear ________ it does on a bright sunny day. Solve inequality. t+8 19 Find the caloric content of 100g of fruit salad containing 20g of apple, 25g of strawberry, 15g of grapes, 30g of banana, and 10g of honey. What is the most specific name for the figure?A(0,-2a)B(-3a,-2a)C(-3a,a)D(0,a)A. Parallelogram B. RectangleC. SquareD. Rhombus An investor purchased a corporate bond at 98th in 5/8 and sold the bond at 101 and 3/4 how much money did he make? A deep prolonged breath that fills the lungs believed to be caused by the need to increase the level of oxygen in the blood iscalled whatr? Some athletes prepare for competition at sea level by sleeping in a tent in which PO is kept low. When climbing high peaks, some mountaineers breathe from bottles of pure O . In a short essay (100-150 words), relate these behaviors to the mechanism of O transport in the human body and to physiological interactions with our gaseous environment. What is the present value of a 670 paymnet in three years when the discounte rate is 7 pecent? Which of the following is a true statement? a. All mammals have menstrual cycles. b. The endometrial lining is shed in menstrual cycles but reabsorbed in estrous cycles. c. Estrous cycles are more frequent than menstrual cycles. d. Ovulation occurs before the endometrium thickens in estrous cycles. Concepts from the field of ________ like perception and personality help marketers understand why and how consumers behave as they do. _________________________ is the spontaneous decay in the structure of an atom's nucleus.