Create a program that will accept a number n. Display whether the number is positive or negative.
1. Create a
2. Execute the program using the compiler.
a. Save, compile and run the program.
b. Screenshot the output and paste in a word document. Label with “compiler-Save-compile-run”. Note when you screenshot, paste the entire image of the screen.
c. Edit the source code and save.
d. Run the program again without compiling.
e. Screenshot the output and paste in a word document. Label with “compiler-Save-run”
f. Compile the program again and run.
g. Screenshot the output and paste in a word document. Label with “compiler-Compile-run”
3. Create the same program using an different language that will run in an interpreter.
a. Save and run the program.
b. Screenshot the output and paste in a word document. Label with “interpreter-save-run1”.
c. Edit the program.
d. Screenshot the output and paste in a word document. Label with “interpreter-save-run2”.
e. Save word document as “Activity1-interpreter-compiler”.
Step by step
Solved in 7 steps with 6 images