Closed mrravipandee closed 1 year ago
How to handle the situations when something other than an integer and "x" is entered? @mrravipandee
Use the if condition to break the loop.
On Tue, 18 Jul, 2023, 18:37 Rishi Raj, @.***> wrote:
How to handle the situations when something other than an integer and "x" is entered? @mrravipandee https://github.com/mrravipandee
— Reply to this email directly, view it on GitHub https://github.com/kunal-kushwaha/DSA-Bootcamp-Java/pull/1091#issuecomment-1640197899, or unsubscribe https://github.com/notifications/unsubscribe-auth/AR2T4UNAHEKKV4Q3VFHIMBTXQ2DB3ANCNFSM6AAAAAA2IYK7AY . You are receiving this because you were mentioned.Message ID: @.***>
In your program use after if condition in while loop, else if condition.
Brother after sometime I will send you the code, in that code your problem will be solved.
Connect with me: https:mrravipandee.bio.link
On Tue, 18 Jul, 2023, 18:53 Ravi Pandey, @.***> wrote:
Use the if condition to break the loop.
On Tue, 18 Jul, 2023, 18:37 Rishi Raj, @.***> wrote:
How to handle the situations when something other than an integer and "x" is entered? @mrravipandee https://github.com/mrravipandee
— Reply to this email directly, view it on GitHub https://github.com/kunal-kushwaha/DSA-Bootcamp-Java/pull/1091#issuecomment-1640197899, or unsubscribe https://github.com/notifications/unsubscribe-auth/AR2T4UNAHEKKV4Q3VFHIMBTXQ2DB3ANCNFSM6AAAAAA2IYK7AY . You are receiving this because you were mentioned.Message ID: @.***>
Solve question, Sum of N