C 2lab
C 2lab
(COMPUTER SCIENCE)
GRADE: XI (DF-1)
KATHMANDU, NEPAL
2024
Table of Contents
1. Acknowledgement I
2. Objectives II
3.1 C Programming
4. Work Done
5. Conclusion ……
1. Acknowledgement.
I would like to express my sincere gratitude to Achyut Shah Thakuri for his invaluable
guidance and support throughout this C programming lab. His insightful explanations
and timely feedback were instrumental in my understanding of the core concepts of C
programming, such as variables, data types, operators, control flow statements, and
functions. His patience and encouragement motivated me to persevere through
challenges and strive for excellence. I am particularly grateful for his assistance in
troubleshooting errors and providing alternative approaches to problem-solving. I got to
learn a lot from his expertise in C programming, especially in the area of input and
output operations. By sharing his knowledge and experience, he helped me to develop a
deeper understanding of the underlying principles and best practices
2. Objective
In this lab, I successfully achieved the objectives outlined. I became familiar with
various programming constructs, enhancing my understanding of fundamental concepts.
The implementation of conditional statements helped me learn how to apply decision-
making logic effectively in programs. Through the practice of nested if statements, I
gained the ability to construct and analyze complex logical conditions. Additionally, I
explored the switch statement, understanding its structure and applications in simplifying
multi-condition scenarios. Overall, this lab reinforced my comprehension of control
structures and their significance in writing efficient and readable programs, meeting all
the stated objectives.