Multiple integers are read and inserted into a linked list of FalconNodes. For each integer greater than or equal to 4 i
Posted: Tue Jul 05, 2022 10:26 am
Multiple integers are read and inserted into a linked list of FalconNodes. For each integer greater than or equal to 4 in the linked list of FalconNodes, print the integer followed by " is a lot of falcons" on a new line. Ex: If the input is 1 5, then the output is: 5 is a lot of falcons 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39} cin >> count; headFalcon = new FalconNode (count); lastFalcon = headFalcon; for (i = 0; i < count; ++i) { cin >> inputValue; currFalcon = new FalconNode (inputValue); lastFalcon->InsertAfter (currFalcon); lastFalcon currFalcon; *Your code goes here */ return 0; >D