Category Archives: One Dimensional Array Programs in C Language

C Program to Find Smallest Number in Array

Q: Write a C Program to Find Smallest Number in Array The Basic Logic of Smallest Number in Array Program First of all the user will input any 5 numbers in array. The program assumes that the first number is minimum number min = numArray[0]; This C program uses a for loop to get each… Read More »

 26 total views

C Program to Find Largest Number in Array

Q: Write a C Program to Find Largest Number in Array. The Basic Logic Behind Finding Maximum Number in Array First of all the user will input any 5 numbers in array. The program assumes that the first number is maximum number max = numArray[0]; This C program uses a for loop to get each… Read More »

 26 total views,  1 views today

Find Average Temperature of Week

“Find Average Temperature of Week” is a C language program to input 7 days temperature in Array and Find Average”. In this  C language program we enter temperature readings of a week in a float array and then calculate and display average temperature of the week. Here is the source code in C language for… Read More »

 198 total views,  11 views today

Array input output C program

“Array input output C program” is a C language program to input 10 integer numbers in a 10 element array. This program will show the entered elements on screen, too. Array is a data structure which represents the collection of items of same type. For example, array of 10 integers may be defined as: int… Read More »

 66 total views,  2 views today