Feed Headline Animator

What is a string discuss its input and output functions

String: -

The collection of characters is called a string.
For example
“Pakistan” is a string
A string is always enclosed in double quotes.

String input function: -

To input a string we use get ( ) function and its format is:
Get (variable);

String output function: -

To display a string on screen we use puts ( ) function. The syntax of a string output function will be as:
Puts (variable);


Posted by: Wasim Javed

No comments:

Post a Comment