Completing My First Programming Assignment in C
I’m excited to share that I’ve just completed my first assignment for the Programming for Problem Solving (PPS) course in my B.Tech program. This assignment was a great opportunity to dive deeper into the fundamentals of C programming, and I’m happy to say I’ve learned a lot.
Assignment Overview:
The assignment covered several key concepts, including:
Understanding the Structure of a C Program: I explored the basic structure of a C program, including preprocessor directives, the main function, and variable declarations.
Algorithm and Flowchart Design: I worked on creating algorithms and flowcharts for calculating the area of a rectangle and finding the greatest of two numbers. This helped me visualize the logical flow of a program before coding.
Primitive Data Types: I revisited the various primitive data types in C, such as
int
,float
,char
, anddouble
, which are essential for data handling in programming.Looping Statements: I learned about different looping structures like
for
,while
, anddo-while
, which are crucial for repetitive tasks in programs.1D Arrays: I also practiced developing and using 1D arrays, which are useful for storing and manipulating multiple data items efficiently.
Conclusion: This assignment has strengthened my understanding of the basics of C programming. It’s a great start, and I’m looking forward to applying these concepts in more complex programs as I progress through the course.
Feel free to check out my completed assignment by clicking on the PDF link below.
Thanks
Comments
Post a Comment