Difference between revisions of "Exercise 4.2 D"

From Earlham CS Department
Jump to navigation Jump to search
(New page: Return to Aug 30-Sept 5 <pre> #!/usr/bin/perl -w use strict; #Damian Almiron #Ex 4-2 #Pseudocode: #Write a program that stores an integer in a variable and prints it out. ...)
 
(No difference)

Latest revision as of 12:19, 18 December 2009

Return to Aug 30-Sept 5


#!/usr/bin/perl -w

use strict; 

#Damian Almiron

#Ex 4-2 

#Pseudocode:

#Write a program that stores an integer in a variable and prints it out. 
 

#Store integer

my $number= '4'; 

print "The variable is $number.\n"; 

exit;