If you had an array int numbers[10]; you would do it like this:
CODE:
int lowestnumber = numbers[0];
for(int i = 0; i < 10; i++){
if(numbers[i] < lowestnumber)
lowestnumber = numbers[i];
}
END CODE
I think this should work, and in the end the variable lowestnumber will hold the lowest value in the ten.
Hope this helps.
how to write a program that counts automorphic number from 1 to 999
12
Q.1 Write a program to print first ten odd natural numbers. Q.2 Write a program to input a number. Print their table. Q.3 Write a function to print a factorial value.
write a lex program to delete space from the program
Reference:http:cprogramming-bd.com/c_page2.aspx# strange number
k
how to write a program that counts automorphic number from 1 to 999
12
Prime numbers are numbers that are only divisible by themselves and the number 1. You can write a program to print all prime numbers from 1 to 100 in FoxPro.
Q.1 Write a program to print first ten odd natural numbers. Q.2 Write a program to input a number. Print their table. Q.3 Write a function to print a factorial value.
Write a function that implements an algorithm that checks to see if a particular integer is prime (returning a boolean). Write a program that uses that function on each number from 1 to 100, and if true, displays that number.
substracion of any two number program in c
write a c program to accept a number and generate a square root cube and exponential values
nr\m;laeoh9y0m g.qthnedxc In fortran: do i=1,5 write(6,*)i enddo stop end This program will write the numbers 1 to 5 on the screen.
write a lex program to delete space from the program
write an assembly language program to find sum of N numbers
A waste of time. The lowest common factor of any two numbers is 1.