Posts

Showing posts from August 20, 2017

How to check whether a character is an alphabet or not in C program

To do this get the character as input from a  variable and check the condition whether it is greater or equal from 'a' to 'z' and 'A' to 'Z'. Let's see a scenario where we can use it. Twin glitter doors are a type of bus door systems. This kind of door system for buses is suitable for city-bus entrance and exit doorways. In many of the buses, the door is automatically locked when no one gets into the bus. HIGHLIGHT automobile is the best manufacturer for such type of doors. To survive in the market they must implement some locking and unlocking mechanism. So they have decided to change the mechanism for unlocking the door. They allow the passenger to unlock the door by pressing any alphabets in the virtual keyboard. The door will unlock if and only if the passenger presses any alphabet. Write a C program to implement the above scenario. Test Case Input 1 A Output 1 Welcome! Happy Journey. Input 2 5 Output 2 Sorry! You

Android O to Be Revealed on Monday, in Total Solar Eclipse

Image
Android O to Be Revealed on Monday, the Day of the US Total Solar Eclipse There have been a lot of rumours surrounding what Google would name Android O. The company has used dessert names in its Android version nomenclature in the past, and it isn't expected to break that tradition this year. Many are hedging their bets on Android Oreo (Oatmeal Cookie,Octopus, and Orange are other contenders), and, a Google+ teaser posted for the Monday announcement may have inadvertently confirmed this. Notably, the Eclipse doesn't appear to make any visible hints as to the name, beyond the word 'sweet' - reinforcing the plausibility of a continued dessert naming scheme. If true, this wouldn't be the first time that Google has partnered with a major brand - it had associated with Nestle for Android 4.4 KitKat. This time around, it may tie up with Nabisco.