C Program To Find Range of Set of Numbers

preview_player
Показать описание

Write a C program to find the range of a set of numbers entered through the keyboard. Range is the difference between the smallest and biggest number in the list.

Example: If biggest number in the list is 5 and smallest number in the list is 1. The difference between them is the range. i.e., 5 – 1 = 4. So range = 4.

Note: abs() returns the absolute value of a number. Absolute value is always positive.

C Programming Interview / Viva Q&A List

C Programming: Beginner To Advance To Expert
Рекомендации по теме
Комментарии
Автор

How does the program know which number is big and which is small

abhishekkumarshaw_
Автор

Is "return 0 ;" is important?

wannabemusician
Автор

how about getting the range without using any loop statements?

joralyncantero
Автор

Unable to understand small=big=num;
Can u help me to understand this statement

vardan
Автор

Don't.understand how you have taken if condition & explain the small & big value. Plz explain it properly.

kajolkeshri
Автор

Sir u can explain out put wonderful, but when come to code u cannot able to explain propely, initially u tell that why iam taking limit --

kumarbharath
Автор

I think somewhere it is not working properly

tosifansari
Автор

Going very fast bro can't able to understand 😪

neeraj
Автор

Apky view itny kum kyu hain channel tu Purana ha...apka channel monitized ha k ni...

mehwishdoll