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............. 

Input and output device

Input and Output devices :


An input device is used to feed data and instructions into a computer. In the absence of an input device computer would have only been a display device to stop in this section we will read about some of the widely used input devices

Kryboard:
The keyboard is the main input device for computer. Computer keyboards look very similar to the keyboard soft typewriters, with some additional keys.
Using a keyboard the user can type of document, use keystrokes shortcuts kam access my - play games and perform numerous other task. Most keyboards have between 80 and 120, which includes the following:
Typing keys: these include the letter of the alphabet. The layout of the keyboard is known as QWERTY for its first 6 letters.
Numeric Keys: these include a set of cheese come arranged in the same configuration found on calculator to speed up data entry of numbers. When the num lock key is set to on the user can type numbers commerce.com or input the symbols /, *, - + when the num lock key is set to off the numeric keys can be used to move the cursor on the screen.

Function key: these are used by applications and operating systems 2 into specific commands they are often placed on the top of the keyboard in a single row. Function keys can be program so that their functionality varies from one program to another.
Control Key: these are used to handle control of the cursor and the screen. For Arrow keys are arranged in an inverted datatype function between the typing and the numeric keys and are used to move the cursor on the screen in small increments. In addition to the arrow keys these are other curser keys.

Inside the keyboard:
Keyboard is like a miniature computer that has its own predecessor and circuitry to carry information to and from that processor for stop the circuitry has a key metrics, which is a grid of circuits underneath the keys. Each set it is broken at a point below each key when a key is pressed it response to pressing a switch there by completing the circuit.

POINTING DEVICES:
Pointing input device enables users to easily control the movement of the pointer to select items on a display screens to select commands from commands menu to draw graphics eat some examples of pointing devices include mouse trackball light pen joystick and touchpad.

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