answersLogoWhite

0

#include<stdio.h>

#include<conio.h>

void main()

{

int x[10],r;

for(int i=1;i<=5;i++)

{

printf("enter the number");

scanf("%d",&x[i]);

}

r=x[5]-x[1];

printf("%d",r);

getch();

}

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

How do you find the range when all the numbers are the same?

If all the numbers are the same, the set has no range. The range is zero.


What is the mean the median the mode and the range in maths?

the mean is where you add all the numbers then divide by the number of numbers the median is when u write all the numbers in order then find the one in the middle and the mode is the most common one. the range is the smallest number subtracted from the largest number.


How. to. write an. algorthim. to find the. sum of. first. 15 natural. numbers?

Write an. Algorthim. To. Find the. Sum. Of. First15 natural. Numbers


What are two numbers with a range of 7?

To find range you simply subtract the highest and lowest numbers in a set. So that means to find two numbers with a range of 7, you must choose two numbers that are 7 apart.Some numbers with a range of 7 are:-3 and 40 and 73 and 10


How do you find a range in numbers?

the range of the number is the maximum minus the minimum.


How do you find he range of a set of data?

Find the smallest and the largest values/numbers. These form the range.


Find the domain and range fx3x-2?

the domain is all real numbers and the range is all real numbers the domain is all real numbers and the range is all real numbers


Find the range both of them?

Find the range of both of what? Unless you give us the numbers, we can't answer the question.


How do you write a number sentence to find range of the data?

greatest-least=range


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


How do you find range in a set of numbers?

The first step is to sort the numbers from highest to lowest. The range is then the difference between the first and last numbers, or the highest and lowest.


Can you write an algorithm to find the beast numbers?

maybe