See a problem in else if statement

Dangling else problem

Image
Hello, This problem comes when we use else if statement and do some mistake more describe is given below......... Dangling else problem: One of the major problem with nested if is dangling else problem. The problem arises when both outer if statement inner if statement might pair with common else statement. Thus the compiler is not able to judge to pair the else with which statement. The solution to this problem is given by the compiler that it pairs else with the recent if thus sometimes giving wrong result.                                           Hence the programmer should put early bracket wherever required. This post is may very short because my only aim was to describe this problem. Thank you, Keep supporting............. 

Pointing Devices




Pointing devices:

Pointing input device in able the user to easily control the movement of the pointer to select item on a display screen to select command from commands menu to draw graphics some examples of pointing devices include mouse trackball, light pen, joystick and touchpad.

Mouse:
The mouse is an input device that was invented by Douglas engelbart in 1963. It is the key input device used in a graphical user interface which can be used to handle the pointer easily on the screen to perform various functions such as opening a program or file. With the mouse the users no longer need to memories commands, which was easily a necessity when working with text based online environment like MS-DOS.
Some advantages of mouse is dead mouse is easy to use and can be used to quickly place the cursor anywhere on the screen it is inexpensive it also helps to quickly and easily draw figures with points and click capabilities make it a necessary to remember and type in commands.

Trackball:

Trackball is a pointing device that is used to control the position of the cursor on the screen. It is usually used in Notebook computers, where it is placed on the keyboard that trackball is nothing but an upside down Mouse where the ball rotates in place within a socket. The user roles able to position the cursor at an appropriate position on the screen and then click one of the buttons near the track ball that to select objects or to position the cursor for text entry.
                   Remove the pointer, ball is rotated with thumb common singers on the palm of the hand that one's stages of the tribal over a mouse is that the former is stationary and so it does not require much space to use. Moreover, individual track balls can be placed on any type of surface, including the users lab. These advantages make tribals very popular pointing devices for portable computers and mobile phones.
                
The advantages of track molluscs that the trackball provides better resolution and it occupies space and also it is easier to use as compared to mouse as its use in was left hand and ARM moments.

And disadvantages of trackball is that the trackball chamber is often covered with dust, so it must be cleaned regularly.

Touchpad:
Touchpad is a small, flat, rectangular stationary pointing device with the sensitive surface of 1.5 -2  square inches. The user has to slide his or her finger tips across the surface of the Pack 2.2 a specific object on the screen. The surface translate the motion and position of the users finger to a relative position on the screen. There are also buttons around the edge of the pad that work like mouse buttons. Touchpads are widely used in laptop and are inbuilt on the laptop keyboards for stop they can also be attached to a PC or be used with personal digital assistants and iPods.

The working of a Touchpad is similar to that of a mouse or a trackball the pressure of the finger on the surface leads to a capacitance affect which is detected by the services centres and appropriate signals to the CPU, which interprets them and displays the pointer on the screen.

Some advantages off Touchpad is that Touchpad occupy less space and they are easier to use as command to a mouse as their use in was left hand and ARM moments and Touchpad is enabled in the keyboard and its the need to carry an extra device.

please support 

Comments

Popular posts from this blog

Libraray Fine Hackerrank solution in C || Balanced Brackets Hackerrank solution in C

Permutations of Strings hackerrank solution in C || Permutations of Strings

Introduction to C part 2