Thursday, October 15, 2015

Time Conversion Program

The objective of this assignment is to continue to practice parameter passing between methods and functions. I designed an application that will convert a user input integer number of seconds into equivalent number of hours, minutes, and seconds. I created a method to enter the initial seconds, then created functions to convert the seconds to the proper amount of hours and minutes. I then created the last function to display the results. I used "out" to pass by reference and a modulus (%) to calculate the remaining user input value. The following is the output of the executable after completing the calculations: 












Social Media Report

Since the introduction of Facebook and Twitter, organizations such as Hilton and Marriott are both using these social media platforms to boost brand loyalty and recognition to their audiences. Both Hilton and Marriott uses Facebook and Twitter to create a vibrant culture and lifestyle. They both identify with their wide range of audiences through travels, pleasures, luxuries and much more. Their audiences can vary from leisure, to business travelers, to anywhere in between. They both are very proactive in responding to guest dissatisfaction by commenting and offering further assistance for the disgruntled Facebook or Twitter user using social media to express their disappointment. However, although both organizations are competing within the same industry, their social media strategies are different from one another.

Hilton’s social media strategy is to promote travel and leisure by posting pictures of different travel destinations from around the world and to engage their audiences by allowing them to comment. They also connect with their audience by allowing them to submit pictures to post on Facebook and Twitter. By posting scenic pictures on Facebook and Twitter, they are inspiring their audience to come to experience this moment for yourself. They also hyperlink promotions and other newsfeed through Facebook and Twitter. To manage relationships with their audiences, Hilton post stories of community, experience, and current trends. A year after Hurricane Odile’s destruction to Baja California Peninsula, Hilton posted different videos showing unity, strength, and commitment during the rebuilding process. The following is a Facebook post by Hilton:



Hilton will also recognize current trends through Facebook and Twitter such as “I’m against bullying #SPIRITDAY”, which was displayed on their cover photo for both social media platforms as shown below:

(Facebook)


(Twitter)

Marriott’s social media strategy is to brand themselves as the industry leader when it comes to cutting edge technology.  The heading “Travel Brilliantly” markets new technological features such as their new virtual reality room service feature and offers a guest a virtual reality experience. A guest can experience this service by using a headset called “VR” that is available in some hotels. The following are Facebook and Twitter posts by Marriott : 

(Facebook)

(Twitter)

To manage relationships with their audiences, Marriott promotes different technologies such as different mobile apps through Facebook and Twitter and empowers their audience to engage by being able to provide valuable feedback to them . They also encourage their audience to share ideas and are open to new creative concepts in mobile applications that’ll reinvent travel. The following is a Facebook post by Marriott : 


Marriott will also post current traveling tips based on the season and recognize current trends such as “#NationalDessertDay” as shown below:



In conclusion, social media is a powerful tool that can help organizations connect and engage with their audiences and helps build brand loyalty and recognition. From my research and observation, both Hilton and Marriott are very proactive in updating, connecting, and responding to their audiences through Facebook and Twitter. Clearly, the use of social media platforms by organizations is a powerful way to connect, promote, and share news with their audiences. Social media provides organizations with a wealth of useful, and valuable information and much, much more, which should validate the importance and utilization of social media to any organization.

Monday, October 5, 2015

Math Operations Program

I decided to tackle this assignment after work tonight, and a few syntax errors, and hours later, I finally succeeded! This assignment 's objective is to learn how to create functions, and methods, and to pass, and receive variables from them. I created four static functions that performs various math operations (*/+-) in the mainModule source file. The mainModule is the class that contains Main() and the four functions. I used no Console code in the functions, so therefore I had to pass and receive variables by passing in parameters and returning the result. The functions have two parameters ( values that the user will perform math operations on ) and is programmed to return the result. I used various custom numeric format specifiers to determine how many digits should be printed to the right of the decimal. I decided to use double as the floating-point value. These functions have been tested in Main and the following are the results of the calculations: