I am facing issue in C programming.
Jaba program run garxu taba log in garda euta password magnu parne hunxa jasma password 12345 rakheko xu if yo password milena vane feri log in garnu parne hunxa but whenever maile wrong password halxu yesle feri login garnu parne ta dekhauxa but right password halda pani feri wrong vanera login gar vanera interface ma dekhauxa. Right password 12345 ho suru mai 12345 hanyo vane login hunxa but suruma wrong halyo ani feri right halda vane login hudaina kina ho ??
Need help!!!!!!!!
try clearing char/array memory after every incorrect password attempt…then it will work
.
.
explanation:
u are incrementing i in every attempt
solution:
timro start: ko direct below nai set i=0
so that whatever u input loop ko starting ma i ko value chai 0 nai hos…purano attempt ko increment nabasos
hope i m making this clear😅
Thank you so much !!!
My problem has solved!!
glad if i could help
.
also close questions after the query is solved…you can also vote the best answer if any😅