Question: Research several car-pooling websites. Create an application that calculates your daily driving cost, so that you can estimate how much…
Question: We introduced the body mass index (BMI) calculator in Exercise 1.14. The formulas for calculating BMI areCreate a BMI calculator…
Question: Using only the techniques you learned in this chapter, write a program that calculates the squares and cubes of the…
Question: Write a C program that prints the integer equivalents of some uppercase letters, lowercase letters, digits and special symbols. As…
Question: Display the following checkerboard pattern with eight printf statements and then display the same pattern with as few printf statements as…
Question: Write a program that reads in two integers and determines and prints whether the first is a multiple of the second.…
Question: Print your initials in block letters down the page. Construct each block letter out of the letter it represents, as…
Question: Write a program that reads an integer and determines and prints whether it’s odd or even. [Hint: Use the remainder operator.…
Question: Write a program that reads in three integers and then determines and prints the largest and the smallest integers in the…
Question: Write a program that prints the following shapes with asterisks.
1 2 |
/* <br /> * Author: AGHATISE OSAZUWA<br /> * Website: www.cscprogrammingtutorials.com <br /> *<br /> * Program to print shapes with asterisks.<br /> */<br /><br />#include <stdio.h><br />int main ( ){<br /> //Program to print shapes.<br /> puts("********* *** * * n");<br /> puts("* * * * *** * * n");<br /> puts("* * * * ***** * * n");<br /> puts("* * * * * * * n");<br /> puts("* * * * * * *n");<br /> puts("* * * * * * * n");<br /> puts("* * * * * * * n");<br /> puts("* * * * * * * n");<br /> puts("********* *** * * n");<br /> return 0;<br />}<br /> |
Question: Write a program that reads in the radius of a circle and prints the circle’s diameter, circumference and area. Use…
Question: Write a program that inputs three different integers from the keyboard, then prints the sum, the average, the product, the…