Study CS Engg

www.studycsengg.gq

  • Home
  • Syllabus
    • Semester 3
    • Semester 4
    • Semester 5
    • Semester 6
    • Semester 7
    • Semester 8
  • Notes
  • Question papers
    • Semester 3
    • Semester 4
    • Semester 5
    • Semester 6
    • Semester 7
    • Semester 8
  • Computer programs
    • C programs
    • C++ programs
    • PL/SQL programs
    • Microprocessor programs
    • Java programs
    • Lex programs
    • Perl programs

Perl programs







1. Perl program to find factorial of a number using recursion

2. Perl program to find factorial of a number ("for" loop)

3. Perl program to find Fibonacci series up to a given number of terms

4. Perl program to check whether a number is palindrome or not

5. Perl program to find sum of digits of a number

0 comments:

Post a Comment

Home
Subscribe to: Posts (Atom)
  • About
  • Tags
  • Popular

Flickr Photos

Popular Posts

  • Java program to implement sliding window protocol
    Sender (slidsender.java) import java.net.*; import java.io.*; import java.rmi.*; public class slidsender { public static void main(String ...
  • Perl program to find sum of digits of a number
    print"Enter a number: "; $n=<STDIN>; $s=0; while($n>0) { $s=$s+($n%10); $n=$n/10; } print"Sum is $s\n";
  • Perl program to check whether a number is palindrome or not
    print"Enter a number: "; $n=<STDIN>; $t=$n; $s=0; while($n>0) { $r=$n%10; $s=($s*10)+$r; $n=int($n/10); } if($t==$s) { p...
  • Perl program to find the factorial of a number ("for" loop)
    print "Enter a number: "; $n=<STDIN>; $t=$n; $f=1; for($i=0;$i<$t;$i++) { $f=$f*$n; $n=$n-1; } print "Factorial is ...
  • Perl program to find the Fibonacci series for a given number of terms
    print "Enter the limit: "; $n=<STDIN>; $f1=0; $f2=1; print "Fibonacci series:\n"; if($n==1) { print "0\n...
  • Lex program to implement lexical analyzer
    NOTE: You need to create a file in.txt for providing input program. delim [ \t\n] ws {delim}+ digit [0-9]+ op [-+*/]+ relop [<=>] s...
  • Semester 3 Switching Theory & Logic Design module 1
    Download STLD notes (module 1). What is included? * Number systems. * Decimal and binary number systems. * Binary to decimal and de...
  • Java program to implement remote method invocation (RMI)
    AddClient.java import java.rmi.*; import java.lang.*; import java.io.*; public class AddClient { public static void main(String args[]) { ...
  • Semester 6 Software Engineering module-5
    Topics included: * Implementation techniques. * Programming guidelines. * Structured programming. * Software testing. * Software ...
  • Java program to display the Fibonacci series up to a given number
    import java.io.*; class fibonacci { public static void main(String args[]) throws IOException { System.out.println("Enter a number: ...
 

Follow us on G+

Follow us on FaceBook

Contact us

 
  • Be our Fan

    • Facebook
    • Twitter
    • You Tube
    • Google Plus
  • Search the Site

  • Blogroll

Copyright © Study CS Engg 2015. All rights reserved. Designed By Templateism | MyBloggerLab