answersLogoWhite

0


Best Answer

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.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Write a C program to find lowest number among ten numbers using for loop?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Write a Shell program to find the smallest number from a set of numbers?

k


A program c plus plus on automorphic numbers or not?

how to write a program that counts automorphic number from 1 to 999


Write a program large number and small number among n numbers by using If statement?

12


Program for print prime all number from 1 to 100 in foxpro?

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.


Write a java script program to print first ten odd natural numbers in C?

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.


How can I write a program to display prime numbers from 1 to 100?

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.


Write a programme for substraction of two numbers in c language?

substracion of any two number program in c


Write a c program to accept a numbers and generate square root cube and exponential values?

write a c program to accept a number and generate a square root cube and exponential values


Can you give me a program that will compute number 1 to 5?

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 program in Lex to eliminate white space and collect numbers as a token?

write a lex program to delete space from the program


How do you write an assembly language program to find the sum of n numbers using array?

write an assembly language program to find sum of N numbers


Write a c programm to find lowest common factor of two numbers?

A waste of time. The lowest common factor of any two numbers is 1.