# Solutions To Deitel's C How To Program Exercises

Below are links to the solutions to Deitel's C How to Program (7th Edition) exercises that have been posted so far. This page is updated as more solutions to the exercises are posted. You are "STRONGLY ADVISED" to try to solve the problem first before checking the solution. Note that there are multiple ways of solving problems. That is to say, you may have another way (maybe even better) of solving the problem(s). In such case(s) please let us know. Only answers to programs are provided here. Answers to self review exercises, multiple choice questions and theoretical questions are not provided. You can test run the programs online for free at ideone.com.

Chapter Two

Exercise 2.16 - C program to perform simple arithmetics
Exercise 2.17 - C program to print values with printf
Exercise 2.18 - C program to compare two integer numbers
Exercise 2.19 - Larger and smaller value
Exercise 2.20 - Diameter, circumference and area of a circle
Exercise 2.21 - Shapes with asterisks
Exercise 2.23 - Largest and smallest integers
Exercise 2.24 - Odd or even
Exercise 2.25 - Program to print your initials
Exercise 2.26 - Multiples
Exercise 2.27 - Checkerboard pattern of asterisks
Exercise 2.29 - Integer value of a character
Exercise 2.30 - Separating digits in an integer
Exercise 2.31 - Table of squares and cubes
Exercise 2.32 - Body mass index calculator
Exercise 2.33 - Car-pool savings calculator

1. thanks. I would try these exercises with online IDE

2. What of the other Chapters?

3. hi to everyone plz me need chapter 3 exercise solution books name C how to programe

1. Hey u have chapter 3 notes plz send me plz plz.....

4. plz email me if anyone who have solution manual of C how to programe

1. this is my email happymama789@gmail.com

2. 3. 37 answer

5. 3. 37 plz answer thi qustion plz..... urgently..

6. 3. 37 plz answer thi qustion plz..... urgently..

7. Sir,
Can you please send me the full version of solution manual of "C How to program?" in pdf ?
My email address is musharrafaziz1471@gmail.com.

8. Sir,
Can you please send me the full version of solution manual of "C How to program in C edition 7th dietel and dietel?" in pdf ?
My email address i

9. William Phalane
July 11,2018 at 18:02 PM

Sir

Can you please send me solution manual for chapter three to six? My email address is phalanemw@gmail.com

10. Hiii need chapter 3

DISCLAIMER: Opinions expressed in comments are those of the comment writers alone and does not reflect or represent the views of the post author. We reserve the right to delete any post deemed inappropriate or offensive and/or spammy. Please do not use abusive words/hate speech.

I Appreciate your valuable Feedback. So, Please DO NOT SPAM - Spam comments will be deleted immediately.

Don't use brand name in name field and you're not allowed to use links in comments unless it's necessary. Such comments will be removed immediately. To get notified of replies or follow-up comments, click the box next to notify me.

Thanks.