1 Write a single C statement to accomplish each of the following: a) Define the

1 Write a single C statement to accomplish each of the following:
a) Define the variable number to be of type int and initialize it to 0.
b) Prompt the user to enter an integer. End your prompting message with a colon (:) followed by a space and leave the cursor positioned after the space.
c) Read an integer from the keyboard and store the value in integer variable a.
d) If number is not equal to 7, display “number is not equal to 7.”
e) Display “This is a C program.” on one line.
f) Display “This is a C program.” on two lines so the first line ends with C.
g) Display “This is a C program.” with each word on a separate line.
h) Display “This is a C program.” with the words separated by tabs.
2 Write a statement (or comment) to accomplish each of the following:
a) State that a program will calculate the product of three integers.
b) Prompt the user to enter three integers.
c) Define the variable x to be of type int and initialize it to 0.
d) Define the variable y to be of type int and initialize it to 0.
e) Define the variable z to be of type int and initialize it to 0.
f) Read three integers from the keyboard and store them in variables x, y and z.
g) Define the variable result, compute the product of the integers in the variables x, y and z, and use that product to initialize the variable result.
h) Display “The product is” followed by the value of the int variable result.
3 Using the statements you wrote in Exercise 2, write a complete program that calculates the product of three integers
4 Write a single C statement or line that accomplishes each of the following (subtasks a, b, c and d are unrelated)
a) Display the message “Enter two numbers.”
b) Assign the product of variables b and c to variable a.
c) State that a program performs a sample payroll calculation (i.e., use text that helps to document a program).
d) Input three integer values and place them in int variables a, b and c.

Place this order or similar order and get an amazing discount. USE Discount code “GET20” for 20% discount