You've got a very important message to get out to all your followers on Twitter. Unfortunately, Twitter only allows 280 characters per Tweet. Your message is over 1,000 characters long and you're wondering how many Tweets it will take to get your whole message out.
Calculate the number of Tweets required, rounding up to the nearest integer.
Ask the user for the number of characters in their message
-
ifthe length of the message is less than themax_lengthallowed for a Tweet, output amessagetelling the user they only need one Tweet -
Otherwise, calculate the number of Tweets required, rounding up to the nearest integer and output a
messagetelling the user the number of Tweets they will need.
Display different messages to the user depending on how many Tweets their message requires.