answersLogoWhite

0

at first a temporary variable is taken.after this the first array element is assign to this temporary varable.if the nth element in array. write a loop which is run in n-1 times.within the loop we check the condition

temp=a[0];

int j=1;

for(i=0;i<=n-1;i++)

{

if(temp>a[j])

temp=a[j];

j++;

}

print temp;

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

What technology was invented by Xilinx?

Xiliix is known for inventing the field programming gate array or FPGA.This technology is used for semiconductors.They use programmable logic and are industry leaders.


What is the purpose of AND array?

AND array is used for developing digital circuit it is used in PLA programmable logic array and PAL programmable array of logic to implement the function. the number of and array will depend on how long you has function to be implemented.These are Digital circuits.


What is GAL16V8?

Generic Array Logic


What is Difference between programmable logic array and programmable array logic?

Using and gate - pla is programmable while pal is fixed


What is the purpose of and?

AND array is used for developing digital circuit it is used in PLA programmable logic array and PAL programmable array of logic to implement the function. the number of and array will depend on how long you has function to be implemented.These are Digital circuits.


What has the author James H Andrews written?

James H. Andrews has written: 'Logic Programming' -- subject(s): Automatic theorem proving, Logic programming, Programming languages (Electronic computers), Semantics 'Proof-Theoretic Characterisations of Logic Programming'


What are the application of programmable array logic?

Programmable array logic is used for designing the digital circuits easily.for example large function which has several variable can easily implemented by using programmable array logic.These are the type of PLD's programmable logic devices.


What has the author Isaac Balbin written?

Isaac Balbin has written: 'Logic programming' -- subject(s): Bibliography, Logic programming


What has the author Akikazu Takeuchi written?

Akikazu Takeuchi has written: 'Parallel logic programming' -- subject(s): Parallel logic programming


What are the different logic gates?

1.) what is operating system? 2.) what an array ? how is an array different from ordinary variable ?


What does the acronym 'LPAR' stand for?

The acronym 'LPAR' stands for many different things such as logical partition, logic for programming artificial intelligence and reasoning, logical partitioning and large phased-array radar.


What is ladar in robotics?

Ladder logic is the programming scheme used when programming most control systems, such as robotic controllers. It's most common when programming a PLC (Programmable Logic Controller)