ATM mini c project? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

ATM mini c project?

How we add something new like last transaction showing in atm?

29th Jun 2020, 1:52 PM
Kaushal Kishore
Kaushal Kishore - avatar
3 Answers
+ 1
printf("last transaction") printf() is used to print message to visible screen area. Like why are you asking this question? are you really building ATM ?
29th Jun 2020, 2:11 PM
Sudarshan Rai
Sudarshan Rai - avatar
0
If it's just the last transaction you need to recall....then, declare a string e.g. char transaction[20]....then after each actual transaction, strcpy() the transaction name into the char array. (just an idea). We need to see your code first really as there might be a better way e.g set a flag and pass that though a switch construct.
29th Jun 2020, 2:44 PM
rodwynnejones
rodwynnejones - avatar
0
Sudarshan Rai 👑 No, I am just making the project for my clg assignment .
30th Jun 2020, 2:48 AM
Kaushal Kishore
Kaushal Kishore - avatar