write a struct programme to keep bank details in c
#include<stdio.h>
#include<string.h>
struct customer{
int account_num;
int IFSE_code;
float Balance;
char name[10];
};
int main()
{
struct customer n1 = {6066,58741,9854123,"nilabhru"};
printf("%d\n",n1.account_num);
printf("%d\n",n1.IFSE_code);
printf("%0.3f\n",n1.Balance);
printf("%s\n",n1.name);
return 0;
}
Comments
Post a Comment