+ 3

I don't know what's wrong.

The program below is a bank account. I want to let function (display) show the info of the user only if their account is a saving account. but it doesn't show the info even if it was a saving account, and the program tell me that it's a current account, I tried too much but I don't understand what's wrong! Can someone help me, please? My teacher wants this program today. https://code.sololearn.com/cIZpAUEdOd3N/?ref=app

13th Apr 2020, 12:56 PM
Janna Al-Ward
Janna Al-Ward - avatar
7 Respostas
+ 2
It is working i checked
13th Apr 2020, 2:42 PM
Raj Kalash Tiwari
Raj Kalash Tiwari - avatar
+ 2
I guess it is causing error for conio.h just remove that header file if not required or use some other platform to run same program
13th Apr 2020, 2:26 PM
Raj Kalash Tiwari
Raj Kalash Tiwari - avatar
+ 1
Same🤷🏻‍♀️ Raj Kalash Tiwari
13th Apr 2020, 2:36 PM
Janna Al-Ward
Janna Al-Ward - avatar
+ 1
Means did you tried this
13th Apr 2020, 2:37 PM
Raj Kalash Tiwari
Raj Kalash Tiwari - avatar
13th Apr 2020, 2:40 PM
Janna Al-Ward
Janna Al-Ward - avatar
+ 1
It works now, the mistake was with the second for loop in the main program (wrote the variable i instead of j ), I don't know what links it to the error, but it was the mistake😅. Thank you for your helping, Raj Kalash Tiwari.
13th Apr 2020, 4:05 PM
Janna Al-Ward
Janna Al-Ward - avatar
+ 1
Your welcome....🙏🙏🙏
13th Apr 2020, 4:06 PM
Raj Kalash Tiwari
Raj Kalash Tiwari - avatar