Update: System’s Randomized Greetings
In order to start System’s voice recognition cycle, the user has to greet System by saying, “Hello System”. Before this update, System only replied either, “Good morning, how can I help you?” or, “Good evening, how can I help you?”, which, is assigned to only 1 variable. Now, System has more than 1 variable to greet user’s with by utilizing the combination of an If statement and the Math.random method. How this updated version of System’s salutation works is by assigning each greetings variable to a number and using the Math.random method to choose which variable to use. This update is to meant to add more variety to System to try to make her come alive just a little bit more than her regular and repetitive 1 line reply.



















