Late but great and to the point here. The only flaw I see is that with your if statement for your choice variable. The loop will continue with any answer other than 'n'. So I can put in value there, and it won't result in an error. Maybe implement an exception?
use a variable to count the number of input. with every input increase it and check whether you have crossed 100 entries. if so then stop taking input.
thank you sir but i have one problem the compiler does not show errors but the program does not want to calculate the average something about float or something
Why we are converting the user data into lower case ie. If condition
Late but great and to the point here. The only flaw I see is that with your if statement for your choice variable. The loop will continue with any answer other than 'n'. So I can put in value there, and it won't result in an error. Maybe implement an exception?
yes. that can be done :)
how to find the sum of series for integer value of n
When v run the program in the end of program i dont get numbers s value, it directly exit.
Plz help
How the code be like if we want to limit the user to input numbers not more than 100 times?
use a variable to count the number of input.
with every input increase it and check whether you have crossed 100 entries. if so then stop taking input.
Brother I need your help,please reply so that I can message you on Facebook 🎆
you can post your query here :)
@@ExampleProgram drive.google.com/file/d/1bCVs-j6ueeKeoRGvPcauiawDFWTArm60/view?usp=drivesdk
very good ,you explain very good!
Thank you! 😃
thank you sir but i have one problem the compiler does not show errors but the program does not want to calculate the average something about float or something
Thanks sir
Welcome
Why are Indians' classes always better?
Yes
fr lol
if the input is 2 ?
sum will be 2
average will be 2
@@ExampleProgram
here 2 will be input and
Output
24
2+22
you can't explain well