1. Welcome Text
Using a sequence of printf calls, create program that outputs the following text pattern to the console:
Ensure the program output exactly as described, and that the whitespace of your source code is well formatted.
2. Pattern
Using a sequence of printf calls, create a program that outputs the following pattern to the console:
Pattern 1:
Pattern 2:
Ensure the program output exactly as described, and that the whitespace of your source code is well formatted.
3. Two animals
Implement a C program which when executed produces the following output exactly.
Ensure the program output exactly as described, and that the whitespace of your source code is well formatted.
4. Two animals
Implement a C program which when executed produces the following output exactly.
5. A Question of Age
Write a C program that prompts the user to input their age, and then prints it on the screen in the following form: You are X year old. However, the x must be replaced with the age that the user entered.
An example of the program is as follows:
Ensure the program output exactly as described, and that the whitespace of your source code is well formatted.
6. Three Number Reverse
Write a C program which asks the user to input three whole numbers. The program must then output the numbers in entry order, followed by outputting the numbers in reverse order.
An example of the program is as follows:
Think carefully about the number of variables you will need, and the steps require to complete the calculation.
Ensure the program output exactly as described, and that the whitespace of your source code is well formatted.
Test the program with a variety of input values, and ensure your program always correct outputs the expected result.
Write a C program which asks the user for a whole number, then calculates and outputs the cube of the number.
Example of program is as follows when the user enters the number 5.
Another example of the program when the user enters the number 9.
Think carefully about the number of variables you will need, and the steps required to complete the calculation.
Ensure the program output exactly as described, and that the whitespace of your source code is well formatted.
Test the program with a variety of input values, and ensure your algorithms always correctly calculate the expected output.
8. Square Calculator
Create the program which asks the user for the length of one side of a square.
The program must then calculate the perimeter and area of the square.
An example of the program's output is as follows:
Think carefully about the number of variables you will need, and the steps required to complete the calculation.
Ensure the program output exactly as described, and that the whitespace of your source code is well formatted.
Test the program with a variety of input values, and ensure your algorithms always correctly calculate the expected output.
Here your all all supporting materials and programming help in reasonable price. For more details or if you have any query you can contact us at below mail id
Comments