Access & Learn
Home
Home
/
4th BCA
/
Lab Program
/
UNIX Part B
/
Lab 5: Find the length of the string
Lab 5: Find the length of the string
08:52
echo "Enter the string"
read str
len=`expr length $str`
echo "Length of $str = $len"
No comments
Subscribe to:
Post Comments ( Atom )
Infolink
Follow Us
1113957
likes
441
followers
758
subscribers
Facebook
Popular Posts
Write a java Program to Perform String Operation
import java.util.*; class StringOperation { public static void main(String args[]) { String first=" ",second=" ...
Lab 7:Write a Visual Basic Program to Find Divisible by 5
Function DIV5(ByVal N As Integer) If N Mod 5 = 0 Then DIV5 = True Else DIV5 = False End If End Function Private Sub Command1_Click()...
Write a java program to display Prime Number
import java.util.*; public class PrimeNumber { public static void main(String args []) { Scanner sc = new Scanner(System.in); in...
Lab 4:Write a Visual Basic Program for Vending Mechine
Private Sub Command1_Click() If Option1.Value = True Then MsgBox ("Your Bill is " & Label2.Caption * Val(Text1.Text) &...
Total Pageviews
Search This Blog
Labels
4th BCA
(37)
About Me
(1)
JAVA
(10)
Lab Program
(38)
UNIX Part A
(10)
UNIX Part B
(10)
VB Part A
(10)
VB Part B
(8)
Translate
Followers
Powered by
Blogger
.
Leave a Comment