Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- typedef struct Transaction
- {
- int day,month,year;
- int amount;
- char currency[3];
- }Transaction;
- int main ()
- {
- int N;
- scanf("%d",&N);
- int i;
- for(i=0;i<N;i++)
- {
- printf("%d/%d/%d %d",Transaction[i].day,Transaction[i].month,Transaction[i].year,Transaction[i].currency);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement