Task 3 include irvine32.inc include macros.inc .data title1 byte "Choose Your Favourite Fruit",0 msg byte "Select 'Yes' if you'd like to rank your top 3 favourite fruits, or select 'No' to exit",0 favFruits byte 3, 20 dup(0) .code main proc lea edi, favFruits lea ebx, title1 lea edx, msg call MsgBoxAsk cmp eax, 06h je yess mwrite "Exiting the Program" call crlf jmp exittt yess: mwrite "Enter your top 3 Favourite Fruits: " call crlf mov ecx, 3 l1: push ecx mwrite "Enter the Fruit : " mov edx, edi mov ecx, 20 call readstring add edi, 20 pop ecx loop l1 mwrite "Your top 3 Favourite Fruits are :" call crlf mov ecx, 3 lea edi, favFruits l2: mov edx, edi call writestring add edi, 20 call crlf loop l2 exittt: exit main endp end main