Here We Will Learn To Program C. I'll try To give my Best To Make you understand.
"Let's Begin"
 |
A Programm to Print "Myself Sahil Saini" 10 times.
From Now I Will only Make to guys understand only the New Function. To Understand other thing Check My other BLOGS
- for(i=1;i<11,i++)
{ printf("Myself Sahil Saini") } Here FOR loop is used. SYNTAX-for(Initialization Statement; Test Expression; Increment) {}. In Initialization Statement we will Initialize or give the value of the variable(i=1). In Test Expression is the condition of the loop and will only run If the condition is True(i<11) Here the loop will close at i =11 or Greater Value. In Increment we increase the value of the Variable(i++) menas increament by 1.
|
 |
Output |
Download Link Of Above Programme:-
How to Use it.
Download File >Go To Turboc3(or turboc folder)>bin>Paste File>
open Turbo c Application>File>open(or F3)>Select File
NOTE:- Above File Can Be Opened With Other Compilers(Like code blocks, visual studio, etc.), Some Changes Might Require.
THANKS
No comments:
Post a Comment