jokester4u
Junior Member level 2
- Joined
- Nov 26, 2013
- Messages
- 20
- Helped
- 1
- Reputation
- 2
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 124
how do i add if inside if to represent if a key press to give a choose to select hot drink and cold drink . and when its hot drink then the hot drink also have menu for tea and coffee. and if tea it should display the cost .... this is what i have done but it stuck at option tea.. and it doesnt go for the cost
Code C - [expand] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 lcddata("1. HOTT DRINK"); command(0xC0); lcddata("2. COLDD DRINK");} if(key1==0) { command(0x01); command(0x06); lcddata("3. TEAA"); if(key3==0) {command(0x01); command(0x06); lcddata("INSERT 1.55 RM"); command(0xC0); lcddata(" FOR TEAA "); } }
Last edited by a moderator: