ATM
Error(s): source_file.c: In function ‘main’:
source_file.c:30:29: error: ‘deposit’ undeclared (first use in this function)
scanf("%d",&deposit);
^
source_file.c:30:29: note: each undeclared identifier is reported only once for each function it appears in
source_file.c:7:9: warning: unused variable ‘deposite’ [-Wunused-variable]
int deposite,accountnumber, pin,choice,a,balance =10000;
^
source_file.c:9:5: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&accountnumber);
^
source_file.c:11:5: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&pin);
^
source_file.c:18:5: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&choice);
^
source_file.c:25:14: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a);
^
|
|