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
@abdullahweb29854 жыл бұрын
Great work bro
@abdullahweb29854 жыл бұрын
Thanks for helping us.
@learningpoint194 жыл бұрын
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_wt4 жыл бұрын
Thanku bhai love from kashmir.. Mjy smj ni arha tha logic thnxx.. Ap is book ki sb prblm smja do 😉😉
@learningpoint194 жыл бұрын
i have already record 96 lectures at this book u can check from playlist and enjoy them,,,
@spencerarea51643 жыл бұрын
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.
@learningpoint193 жыл бұрын
noted
@christain65 Жыл бұрын
God bless you Sir
@morelearning34964 жыл бұрын
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
@learningpoint194 жыл бұрын
no issue wo bad me update ho jati hn na,
@morelearning34964 жыл бұрын
@@learningpoint19 sir smj nhi aii as tr ap plz ak example syj ja dy
@ijazbalouch64154 жыл бұрын
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
@learningpoint194 жыл бұрын
bro its correct dont warry,,, you should dry run it as well if u have still problem u can whatsapp me at +923478056929
@ijazbalouch64154 жыл бұрын
@@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
@morelearning34964 жыл бұрын
@@ijazbalouch6415 y bhai same mug b yhi problem a rhi h plz sir ap again bata dy
@sajjadsajjad48794 жыл бұрын
Sir ak prime number wala question karwa day....
@learningpoint194 жыл бұрын
i will upload today,,,
@srooshdawoodi78463 жыл бұрын
Hi, I have a question?
@learningpoint193 жыл бұрын
yes please
@srooshdawoodi78463 жыл бұрын
@@learningpoint19 i want to send u a question to solve it so i dont know how to send u? can u please help me?
@learningpoint193 жыл бұрын
@@srooshdawoodi7846 write the question here, i will try to response back,
@srooshdawoodi78463 жыл бұрын
@@learningpoint19 my question is little bit long
@srooshdawoodi78463 жыл бұрын
@@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