Question: Programming Exercise (50 points) The code is supposed to perform one of the operations in each switch case. Submit the corrected program. (10 points) 1.

 Programming Exercise (50 points) The code is supposed to perform oneof the operations in each switch case. Submit the corrected program. (10

Programming Exercise (50 points) The code is supposed to perform one of the operations in each switch case. Submit the corrected program. (10 points) 1. Follow the Textbook Appendix B or Unix tutorial PPT given in the homework folder to complete the following tasks: (5 points) 11 Create a new directory called CSE240. Use cd CSE240 to enter the new directory, Use Swd command to find the path from the Unix root directory to your current directory. switch statement without using breaks. The progr 1s tested on NS VLsual C++ platf HLnclude stdies tipragra eacode: sable 1996; a Talas) 12 Use vi to create a new program called hello.c and enter the following code into the program. You must use your name to replace the name "John Doe" at 4, 18, b acint"ck Ke ", th) 8 generalasuedu - defautsttp - SSH Secure Shel File Edit yiew window He Ie SS S A Do d eciate." xon peltELF a b; Ad default point invalid operator "); Quick Connect Profiles +1nclude Katdo.h> printick Ke ", th) princt ("H2 here, my name is John Doe le") d b; printELF , 4); a b; Ad default point invalid operator "); 14-5: Connected to talasu.edu SH2 - as 128-cbc. - hmac md5-ne T69 Use Ecc hello.C-o hello to compile the program. Fix any compilation errors if any 13 Use ts, lis- , and is -al, respectively, to list files in the directory. Use command hello to executed the compiled code. What is the output? print4"ck . = Ke ", th); ; Ltch (sh) ( d pitELF d a b; Ad default point invalid operator "); Submit the screenshots containing the answers to questions 11, 12, and 1.3 2. In this question, you will use two different programming environments (IDES) to edit, debug, and execute a simple C program. The basic part of C program is similar to Java. The purpose of the homework is to learn the programming environments. Read textbook Section 2.2.3, the tutorial in section I and Unix tutorial Appendix B.2. eciatfLt = Ke ", h; Ltch (ch) d printELF a b; Adn default point invalid operator "); 21 Use GCC on ASU General Server and a text editor to enter the program on textbook page 41 (the code is given on the next page). Compile, debug (find and fix any syntax errors). and execute the program and fix any semantic errors, for example, by adding "break" statements in the required places and by fixing incorrect characters copied into the programming environmentif any, and by type changing to print a floating point number, eciatfL "ck Ke ", th) Ltch (ch) d printELF a b; default point invalid operator "); CSE240 - Introduction to Programming Languages Homework 01 Page CSE240 - Introduction to Programming Languages Homework 01 Page Programming Exercise (50 points) The code is supposed to perform one of the operations in each switch case. Submit the corrected program. (10 points) 1. Follow the Textbook Appendix B or Unix tutorial PPT given in the homework folder to complete the following tasks: (5 points) 11 Create a new directory called CSE240. Use cd CSE240 to enter the new directory, Use Swd command to find the path from the Unix root directory to your current directory. switch statement without using breaks. The progr 1s tested on NS VLsual C++ platf HLnclude stdies tipragra eacode: sable 1996; a Talas) 12 Use vi to create a new program called hello.c and enter the following code into the program. You must use your name to replace the name "John Doe" at 4, 18, b acint"ck Ke ", th) 8 generalasuedu - defautsttp - SSH Secure Shel File Edit yiew window He Ie SS S A Do d eciate." xon peltELF a b; Ad default point invalid operator "); Quick Connect Profiles +1nclude Katdo.h> printick Ke ", th) princt ("H2 here, my name is John Doe le") d b; printELF , 4); a b; Ad default point invalid operator "); 14-5: Connected to talasu.edu SH2 - as 128-cbc. - hmac md5-ne T69 Use Ecc hello.C-o hello to compile the program. Fix any compilation errors if any 13 Use ts, lis- , and is -al, respectively, to list files in the directory. Use command hello to executed the compiled code. What is the output? print4"ck . = Ke ", th); ; Ltch (sh) ( d pitELF d a b; Ad default point invalid operator "); Submit the screenshots containing the answers to questions 11, 12, and 1.3 2. In this question, you will use two different programming environments (IDES) to edit, debug, and execute a simple C program. The basic part of C program is similar to Java. The purpose of the homework is to learn the programming environments. Read textbook Section 2.2.3, the tutorial in section I and Unix tutorial Appendix B.2. eciatfLt = Ke ", h; Ltch (ch) d printELF a b; Adn default point invalid operator "); 21 Use GCC on ASU General Server and a text editor to enter the program on textbook page 41 (the code is given on the next page). Compile, debug (find and fix any syntax errors). and execute the program and fix any semantic errors, for example, by adding "break" statements in the required places and by fixing incorrect characters copied into the programming environmentif any, and by type changing to print a floating point number, eciatfL "ck Ke ", th) Ltch (ch) d printELF a b; default point invalid operator "); CSE240 - Introduction to Programming Languages Homework 01 Page CSE240 - Introduction to Programming Languages Homework 01 Page

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!