to keep DaniWeb a student-friendly place to learn, don't expect quick solutions to your homework. We'll help you get started and exchange algorithm ideas, but only if you show that you're willing to put in effort as well.
# include <stdio.h>
# include <conio.h>
Void main ( )
Int a , l, n, max, min;
Print (“ how many element in the array”);
Scanf (“%d”, & n);
Printf(“enter the element : \n”);
For (i=0, i< = n – 1; i++);
Scanf (“%d”, &a [a]);
Max = a(o);
Min = c(o);
For (i = 1; i< = n – 1; i++)
If (max <a [i])
Max = a[i];
If (min > a[i])
Min = a[i];
Printf(“maximum element in the array is :%d\ n”, max);
Printf(“minimum element in the array is: % \n”, min);
Getch ( );
i have done this,but this is simple program to find max & min from array.
But i didnt get how to represent the fraction.
Hi I'm having a problem implementing a mini shopping cart drop down in the header to show the user all the products they have in their shopping cart. It seems the only solution for this is Ajax, and I've looked all over and can't find anything that I could possibly ...
Help! I want to create a java program that finds the highest even integer among the values entered by the user. Stop asking values when a value less than 1 have been entered. If no even integer is entered, display "No Even Integer"