
Explore the basics of C programming, including data types, input/output, looping, and if statements. Learn about structured programming, lexical scope, and recursion.
Install the codeblock editor for C programming by visiting codeblock.org, downloading the binary release for your system, and completing the installer with next and agree.
Explore the basic C data types: char, int, and float, noting that int uses four bytes and float stores decimal values in single precision.
Learn how to use variables in C, including naming rules, how to declare them, and data types such as int, float, and char.
Learn how to use printf to display data in c, including printing hello world, integers with %d, and floats with %f, and how to set two-decimal precision.
Learn how to use scanf to take user input in C, including stdio.h and using %d and %f format strings with ampersand, followed by printing results with printf.
Explore how the if else statement evaluates a test expression and executes the if block when true, else the else block, printing even or odd results from user input.
Explore how for loops in C execute a block of statements repeatedly, using initialization, a final condition, and increment or decrement, demonstrated through a short example with i and printf.
Learn how to implement a while loop in a C program by initializing i to 0, printing i, and incrementing until i reaches 10.
Learn how to add comments in C programming to clarify code, not be executed, aid debugging, and coordinate large projects with many contributors using /* */ and //.
Write a C program that reads an integer temperature and prints cold for temp < 0, normal for 0 <= temp < 100, and hot for temp >= 100.
Learn to build a C program that reads two integers, start and finish, with scanf, and sums all numbers from start to finish using a for loop, then prints result.
Why learn C ?
C is often considered to be the mother of all languages because so many other languages have been based on it.
Though C is simple it is one of the most powerful languages ever created. Considering it was created over 40 years ago, it is still used heavily and is usually in the top 5 or 10 most popular and most widely programming languages in the world.
Learning C can actually make you a better programming in other languages like C++, Java, or C# by equipping you with a mental model of what the computer is actually doing when you run your programs.
By learning how things really work "under the hood", and understand memory space, CPU architecture and so on, you can create more efficient programs, and obtain a huge advantage over other programmers in the process.
If you want to become a better developer, learning C is a great way to start!
In This course you will know about how to programming with C, display a C code. And create your own project using C language.
Some topic you will learn like data type, looping and more.
This course is for everyone that want to learn programming form zero.
All you need is a computer and internet connection.