Press green flag to begin. Follow instructions from cat. *In the comments when it says made by both it means that it was done using the driver-navigator system* PSEUDO-CODE PROCEDURE Insert into List DISPLAY (Where would you like to insert the contact?) INPUT (answer) (Index)=(answer) DISPLAY(Please input the first and last name) INPUT (answer) INSERT (Names, Index, answer) DISPLAY (Please input the contact's home phone #) INPUT (answer) INSERT (Home Phone #, Index, answer) DISPLAY (Please input the contact's mobile phone #) INPUT (answer) INSERT (Mobile Phone #, Index, answer) DISPLAY(Please input the area code of your contact's home phone #) INPUT (answer) INSERT (Area Code, Index, answer) PROCEDURE Area Codes Decimal to Binary PROCEDURE user input PROCEDURE Display/Return List DISPLAY (What list would you like me to read back to you?) INPUT (answer) IF (answer=Names) { DISPLAY (The items on your list were...) SET (ListLength=LENGTH (Names)) SET (Index=0) REPEAT UNTIL (ListLength=0) { SET (Index=Index + 1) DISPLAY (Names, Index) SET (ListLength=ListLength - 1) } } IF (answer=Home Phone #) { DISPLAY (The items on your list were...) SET (ListLength=LENGTH (Home Phone #)) SET (Index=0) REPEAT UNTIL (ListLength=0) { SET (Index=Index + 1) DISPLAY (Home Phone #, Index) SET (ListLength=ListLength - 1) } } IF (answer=Mobile Phone #) { DISPLAY (The items on your list were...) SET (ListLength=LENGTH (Mobile Phone #)) SET (Index=0) REPEAT UNTIL (ListLength=0) { SET (Index=Index + 1) DISPLAY (Mobile Phone #, Index) SET (ListLength=ListLength - 1) } } IF (answer=Area Codes) { DISPLAY (The items on your list were...) SET (ListLength=LENGTH (Area Code)) SET (Index=0) REPEAT UNTIL (ListLength=0) { SET (Index=Index + 1) DISPLAY (Area Code, Index) SET (ListLength=ListLength - 1) } } PROCEDURE user input
Binary to Decimal converter based on example about "The Amazing Binari detailed in edhesive module 3.2.1 Sort function based on example in edhesive module 3.11.2