









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
An introduction to the c programming language, covering topics such as the history and development of c, the strengths and weaknesses of the language, and the importance of algorithms in programming. It discusses the different types of programming languages, including low-level languages like machine language and assembly language, as well as high-level languages like c. The document also explains the process of compiling a c program and the key concepts of algorithms, including sequence, selection, and repetition. Additionally, it presents a case study on designing and developing a c program to calculate the circumference of a circle, and discusses common programming errors. Overall, this document serves as a comprehensive introduction to the fundamentals of c programming, making it a valuable resource for students or individuals interested in learning this widely-used programming language.
Typology: Slides
1 / 17
This page cannot be seen from the preview
Don't miss anything!
CNG 230 Lecture - 1
Program translation
The circumference, C, of a circle is given by the formula C = 2 x PI x r, where PI is the contast 3.14, and r is the radius of the Circle. Using this information, write a C program to calculate the circumference of a circle that has 2-inch radius.