Question: Write a Javascript function NumberStats(number) in that takes in a user specified sentence and prints a certain words in uppercase. For a sentence that is

 Write a Javascript function NumberStats(number) in that takes in a user

Write a Javascript function NumberStats(number) in that takes in a user specified sentence and prints a certain words in uppercase. For a sentence that is without any of the mentioned words, you should print the entire sentence in uppercase. The words to be checked are (soen287, comp249, assignment2). The search should be case insensitive. Sample outputs are mentioned below. This is assignment2. >> This is ASSIGNMENT2 The deadline is July 29th >THE DEADLINE IS JULY 29TH

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!