i want to do error handling in my project of Phonebook Managemnet System using conditional statements | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

i want to do error handling in my project of Phonebook Managemnet System using conditional statements

I want to implement something like that if someone jumps to other options like SEARCH or EDIT without entering data, how can I resolve that??????? https://code.sololearn.com/cSqQhuW86KzP

2nd Jul 2020, 11:11 AM
Uzair
Uzair - avatar
1 Answer
+ 1
Not sure if this switch is really a good way to do that, but what exactly do you want to do? Jump to a method (what the normal workflow would be)? Change the value and leave out the break statements to go to other branches?
2nd Jul 2020, 1:43 PM
Sandra Meyer
Sandra Meyer - avatar