Wiki User
∙ 11y ago#include<stdio.h>
#include<conio.h>
void main(void)
{
int max=0,min=0;
int temp;
int n,i;
clrscr();
printf("what is the lenght of number set?\n");
scanf("%d",&n);
printf("\n\nNow enter the numbers\n");
for(i=1;i<=n;i++)
{
scanf("%d",&temp);
if(temp>max)max=temp;
if(i==1)min=temp;
if(temp<min)min=temp;
}
printf("\n\nThe range of set is %d",max-min);
getch();
}
Wiki User
∙ 11y agoAll of the whole numbers between one and a billion. Honestly, we're not robots here. Write a program and do it yourself, if you really need them.
for (int i = 2; i < 10; i ++) printf("%d\n", i); You did say even and odd numbers between 1 and 10. That's allnumbers between 1 and 10.
If relating to a Master`s course: 60 ects is a 1 year program 120 ects is a 2 year program
write a shell program for finding out gcd of three given numbers? write a shell program for finding out gcd of three given numbers? write a shell program for finding out gcd of three given numbers? check bellow link http://bashscript.blogspot.com/2009/08/gcd-of-more-than-two-numbers.html
write an assembly language program to find sum of N numbers
the difference between that two words is the spelling, numbers of letters and the first letter in that two particular words
what is different between a program symphony and a tone program
Program is the US spelling.Programme is the UK spelling.
VBnet program to find the prime numbers between 100 to 200?
nothing
Curriculum is to study. Program is to train.
difference between audit program audit & note book
the letters after pro
You can use int i; for (i = 10; i <= 50; i += 2) {//print i} as a program to print even numbers between 10 and 50.
it is a thing . believe me
An application is a program