Join Our Email Alerts-Subscribe
Important Note:Login & Check Your Email Inbox and Activate Confirmation Link



Enter Your Email :

Copyright Disclaimer:
Section 107 of the Copyright Act Fair Use Contents .
We are forwarding content link(s) from our website to content website & We are not serving any contents.
Main Source:Google.com.All the Content PDF link(s) is/are obtained from GoogleSearch
for the purpose of Education & Teaching Intention. Not for commercial purpose.
Technicalsymposium.com is not liable/responsible for any copyright issues.

program to find the minimum and maximum no. in the list

#include<stdio.h>
int minimum(int a[],int n)
{
int k;
if(n==0)
return a[0];
else
{
k=minimum(a,n-1);
return ( k<a[n] ? k : a[n]);
}
}
int maximum(int a[],int n)
{
int k;
if(n==0)
return a[0];
else
{
k=maximum(a,n-1);
return ( k>a[n] ? k : a[n]);
}
}
void main()
{
int n,a[10],i;
clrscr();
printf("\n\n\t\tPROGRAM TO FIND MINIMUM & MAXIMUM IN THE LIST\n\n");
printf("\n\t\tEnter the no. of elements in the list : ");
scanf("%d",&n);
printf("\n\tEnter the Elements : \n\t");
for(i=0;i<n;i++,printf("\t"))
scanf("%d",&a[i]);
printf("\n\n\t\tMINIMUM NUMBER IN THE LIST : %d",minimum(a,n-1));
printf("\n\n\t\tMAXIMUM NUMBER IN THE LIST : %d",maximum(a,n-1));
getch();
}

Fresher Jobs & IT Jobs and Off-Campus

Programming & Projects PDF

Conferences & Symposium Details

B.E/Medical Lecture Notes PDF

GRE/TOEFL/IELTS/GMAT/SAT Notes

Aptitude/Placement Papers

Technicalsymposium.com-Contents

Technicalsymposium.com-Contents

Conference & Symposium Details

Government Jobs Details

Off-Campus Interviews & Walk-in/Career Pages

Software Jobs and IT Jobs Details

Bank Jobs & PO/Clerk Jobs Preparation Books PDF

Bank Quick Study Notes & Question Papers PDF

IES Syllabus & Question Papers-Free Download

Placement Papers with Answers PDF

Aptitude Study Notes & Puzzles PDF

Technical Interview Questions with Answers PDF





Technicalsymposium.com-Contents

Technicalsymposium.com-Contents

BE/B.Tech/M.Sc & B.Sc & Commerce Lecture Notes-Free Download

Engineering Maths Lecture Notes-Free Download

GRE Study Materials & Notes-Free Download

TOEFL Study Materials-Free Download.

IELTS Study Materials & ebooks-Free Download

GMAT Study Materials-Free Download

SAT Study Materials & ebooks-Free Download

Engineering Physics Lecture Notes-Free Download





Technicalsymposium.com-Contents

Technicalsymposium.com-Contents

Resume Formats and Resume Writing Tips

Group Discussion Topics & Answers

HR & Situational and Behavioral Interview Questions & Answers

General Job Interviews Materials-Free Download

Engineering Chemistry Lecture Notes-Free Download

Anna University Question Papers and Study Notes PDF

Programming & Manuals and Projects PDF

GATE Question Papers and Study Materials & ebooks PDF

All Engineering ebooks & Study Notes PDF

Paper Abstracts and Conference Papers PDF