Skip to main content

User input and Conditional statements

Body

User input and Conditional statements

In this part you will learn: 1. Taking input from user 2. Conditional statements 3. C syntax 4. Showing output 5. Tabs and new lines In this tutorial I will teach you how take input from user and how to use conditional statements. Basic Step: Open Dev C++ then File > new > source file and start writing the code below.
  1. 
  2. #include<stdio.h>&#13;
  3. #include<conio.h>&#13;
  4. &#13;
  5. </conio.h></stdio.h>
These are the header files that we need for coding. The main header is stdio.h which provides us with most of the functions for coding in C and the second header files is just for using a

Add new comment

File attachments
Screenshot