Question: answer all Q Skills Testing 1: (students should work on their own) Increment (++)/Decrement (--) Operators Task 1: Find the results for each of the

 answer all Q Skills Testing 1: (students should work on their
own) Increment (++)/Decrement (--) Operators Task 1: Find the results for each
of the programs below by manually showing the complete solutions below each
answer all Q

Skills Testing 1: (students should work on their own) Increment (++)/Decrement (--) Operators Task 1: Find the results for each of the programs below by manually showing the complete solutions below each program, then encode it using the free online compiler through the link: https://www.onlinegdb.com to verify the output. (3 marks) (separate sheets for the full solutions) a). #include int main() { int a = 4, b = 7.c C=-a. b++; printf("%d %d %d", a, b, c): return 0; } Write your complete manual solutions here 0.5 mark): Outcome / Result (Write here the output that was displayed on the screen) (0.5 mark] Note: Save the c program as E3T1AYourD.c b). #include int main() int d, z = 7, y = 6; d = ++2 + y- printf("%d %d %d", d, z, y); return 0; ) Write your complete manual solutions here 0.5 mark): Outcome / Result (Write here the output that was displayed on the screen) 10.5 mark] Note: Save the c program as E3T1BYourID.C c) #include int main() { int x, y = 6, z = 9: x = -y-+ ++z; printf("%d %d %d", x, y, z); return 0; } Write your complete manual solutions here 0.5 mark) Outcome / Result (Write here the output that was displayed on the screen) 10.5 mark] Note: Save the c program as E3T1CYourD.C Skills Testing 2 (students should work on their own) Task 2 Below is the C Program that will ask the user to enter the C Programming Theory and Practical marks. It will calculate and display the total mark and through the use of a conditional operator, it will also show the status as PASSED if the total mark is greater than or equal to 67, otherwise it will show the status as FAILED. However, there are errors and missing program linels. Your task is to fix these errors and supply the missing line/s. Use the dialog formats below as your references for the input and output requirements: (3 marks) Sample Dialog Format 1: C Programming Theory Mark (0-70) : 49.75 C Programming Practical Mark (0-30): 25.2 Total Mark is 74.95 Status: PASSED Sample Dialog Format 2: C Programming Theory Mark (0-70) : 40.5 C Programming Practical Mark (0-30): 26.45 Total Mark is 66.95 Status: FAILED C Program for Task 2: #include int main() { float th, pr, tot; printf("C Programming Theory Mark (0-70): "); scanf("%f",&Th) printf("C Programming Practical Mark (0-30): "); Tot = th + pr; printf(" Total Mark is %.3f ,tot"); tot

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!