Inputs no.from user until user enter Negative number then Find Average, Max and Minimum no 2024?

  Рет қаралды 9,620

Learning Point

Learning Point

Күн бұрын

Пікірлер: 27
@soulprincess1838
@soulprincess1838 2 жыл бұрын
Sir, can you please help me to find maximum and minimum number which is entered by users (his choice) using while loop, in which maximum and minimum is assigned NONE
@abdullahweb2985
@abdullahweb2985 4 жыл бұрын
Great work bro
@abdullahweb2985
@abdullahweb2985 4 жыл бұрын
Thanks for helping us.
@learningpoint19
@learningpoint19 4 жыл бұрын
bro there are a lot of lecture at c++ if have any issue you can tell me i will try to solve my best,,, and most welcome at learning point channel regards
@Dont_know_wt
@Dont_know_wt 4 жыл бұрын
Thanku bhai love from kashmir.. Mjy smj ni arha tha logic thnxx.. Ap is book ki sb prblm smja do 😉😉
@learningpoint19
@learningpoint19 4 жыл бұрын
i have already record 96 lectures at this book u can check from playlist and enjoy them,,,
@spencerarea5164
@spencerarea5164 3 жыл бұрын
u are calculating float type of average value from int types of sum and count variables ,so your result showing the int type of avg value without decimal points,so here it's an implicit conversion is working.......it could be better if u used the explicit conversion of int type variables count and sum into float types in order to get float type result of avg ; that shows the result including decimal point.
@learningpoint19
@learningpoint19 3 жыл бұрын
noted
@christain65
@christain65 Жыл бұрын
God bless you Sir
@morelearning3496
@morelearning3496 4 жыл бұрын
Sir first pr jo ap ny min or max ko value assign karni h ag rto wo ak hi value h then max or mint find karna difficult h
@learningpoint19
@learningpoint19 4 жыл бұрын
no issue wo bad me update ho jati hn na,
@morelearning3496
@morelearning3496 4 жыл бұрын
@@learningpoint19 sir smj nhi aii as tr ap plz ak example syj ja dy
@ijazbalouch6415
@ijazbalouch6415 4 жыл бұрын
Bro hum jo first num laty ha us ko hum maxi aur mini dono ma ka andr rkh laty ha aur jb hum while ma dubara if conditions ka use krty ha first condition to both situation false ho gi mtlb if aur else ma. If(num>Max) aur maxi ma phly say num isi trh else if conditions bhi asy ho ga mtlb jo first num enter kry gy us ka smj ni a rha maxi aur min ma
@learningpoint19
@learningpoint19 4 жыл бұрын
bro its correct dont warry,,, you should dry run it as well if u have still problem u can whatsapp me at +923478056929
@ijazbalouch6415
@ijazbalouch6415 4 жыл бұрын
@@learningpoint19 bro dry run ho rha ha Lakin bat Mery smj ma ni a rha kh first num ko hum maxi aur mini dono kalay use kr rhy ha aur jo while ka andr hum if else dono ma if(num>maxi) maxi=num and else if (num
@morelearning3496
@morelearning3496 4 жыл бұрын
@@ijazbalouch6415 y bhai same mug b yhi problem a rhi h plz sir ap again bata dy
@sajjadsajjad4879
@sajjadsajjad4879 4 жыл бұрын
Sir ak prime number wala question karwa day....
@learningpoint19
@learningpoint19 4 жыл бұрын
i will upload today,,,
@srooshdawoodi7846
@srooshdawoodi7846 3 жыл бұрын
Hi, I have a question?
@learningpoint19
@learningpoint19 3 жыл бұрын
yes please
@srooshdawoodi7846
@srooshdawoodi7846 3 жыл бұрын
@@learningpoint19 i want to send u a question to solve it so i dont know how to send u? can u please help me?
@learningpoint19
@learningpoint19 3 жыл бұрын
@@srooshdawoodi7846 write the question here, i will try to response back,
@srooshdawoodi7846
@srooshdawoodi7846 3 жыл бұрын
@@learningpoint19 my question is little bit long
@srooshdawoodi7846
@srooshdawoodi7846 3 жыл бұрын
@@learningpoint19 Write a program which will take any number of integer inputs other than zero from the user and when the sentinel value of zero is received from the user calculate and printoutA. Maximum of all input numbersB. Minimum of all input numbersC. Average of all input numbersNotes:. Your program should keep asking a new number until zero is received. When zero is input, your program should calculate and print results.. Your program should not crash (raise a runtime error) in any condition. Your program should provide necessary messeges ( like welcome, input output messeges) to the user.. Your program should provide a different output messege if no values other than zero is input.Sample inputs and outputs ( note the values, not the formatting):İnput: İnput: input3 5 11 2 0 8- 3- 7 18 5 9 0 21 - 1 0Output Output: output:Maximum: 11 Maximum: 18 Maximum: 21Minimum: 2 Minimum: - 7 Minimum: - 1Average: 5.25 Average: 5.00 Average: 10.00
@howardcanode4713
@howardcanode4713 2 жыл бұрын
とうございます」、
НИКИТА ПОДСТАВИЛ ДЖОНИ 😡
01:00
HOOOTDOGS
Рет қаралды 3,1 МЛН
Seja Gentil com os Pequenos Animais 😿
00:20
Los Wagners
Рет қаралды 73 МЛН
I tricked MrBeast into giving me his channel
00:58
Jesser
Рет қаралды 25 МЛН
Calculate Sum and Average of N Numbers using Arrays: C Program
10:06
Why You Shouldn't Nest Your Code
8:30
CodeAesthetic
Рет қаралды 2,8 МЛН
15 Years Writing C++ - Advice for new programmers
4:04
SyncMain
Рет қаралды 1,2 МЛН
EvenSum and OddSum from 1 to N using c++ (While Loop) in 2024 URDU/HINDI
11:08
How I Would Learn To Code (If I Could Start Over)
13:43
Namanh Kapur
Рет қаралды 7 МЛН