Exercise #3 Practice with basic programming. Due at the end of class time on Tues. Feb. 29 For this assignment you are to write the hello world program in each of the following languages. C C++ Python Shell Script Perl Java For passing credit: ------------------- You must have the "executable" form of each program and the code for each program. YOU MUST HAVE VALID COMMENTS FOR EACH LINE OF THE PROGRAM. The output from your program will be: Hello World! ***note*** The "executable" form of each program may vary, ie for java you must compile your program using JDK and then turn in your .java file and .class files, however for perl you need only turn in your .pl file. For an A: --------- You must have the above and add one bit of functionality. Your programs must read two numbers from the command line and output the result of adding those numbers to the user. Your output will look something like the following: Hello World! Enter a number and press return: 4 Enter another number and press return: 76 Result: 4 + 76 = 80 Naming your files: ------------------ The names of your files should be as follows. helloC.c helloC++.cc helloPy.py hellosh helloPe.pl helloJ.java TURNIN PROCEDURE: ---------------- When you are ready to turn in your assignment cp them to a directory named exercise2 in your exercises_done directory. > cd > cd exercises_done > mkdir exercise3 > cp ../exercises_dev/helloC.c exercise3 > cp ../exercises_dev/helloC++.cc exercise3 etc.... Remember all development should be done in your exercieses_dev folder. It will pay off to keep your directories organized. Once you copy the source files to the exercises_done/exercise3/ directory, make sure to recompile to create the following executables: helloC, helloC++, helloJ.class(?) Note that the Perl, Python, and unix shell script don't get compiled.