How to print a value from a string ?
Suppose xyz is a variable which value xyz={abcdefghijksefjg}
so, how to print 'd' from xyz value?
At first count the position of every value
If we count the value from ending position so,we can count as below
So we can write this program as
For reverse method:
Output:
How to print 'put' from 'computer'?
0 comments :
computer books list list of computer science books with authors best computer books for beginners fundamental of computer books pdf free download computer books for dummies best computer hardware books introduction to computer best computer books of all time
Powered by Blogger.
Menu Footer Widget
Followers
Search This Blog
Translate
Contact
Popular Posts
-
Software development life cycle sometime reffer to as system development life cycle and abbreviated as SDLC. A life cycle and abbreviated a...
-
Software is collection of data or computer instructions that tell the computer how to work. Examples of application software include off...
-
Suppose the program print "Hello" and Print "What is your name " then takes input from user and again print a line with...
Post a Comment