Please Muje koi banda Loops samjha day C++ kay main bara sukar guzar hon ga...
Please Muje koi banda Loops samjha day C++ kay main bara sukar guzar hon ga...
Moved 2 AAE
visit this thread
http://www.itdunya.com/t263119/
Main check kar k ap ko btata hun.
loop main 3 types k hay.loop or while loop or do whilw loop
Ap oper wale thread ko parho agr samjh nhi aya tu btado.
adilnesmith, you do not have permission to access this page. This could be due to one of several reasons:
Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
yeah a raha hai....
Slam.wr.wb...!!
jo basitgul wali post hy us p jo red clr sy click here likha hua hy wahan click kro..!! boht achi info urdu he main hy umeed hy apko aram sy smjh a jay gi....!!
Bhai Kya Yad dila hai 3 Saal pehlay c++ para ta...
phir b jitna yad hai wo ap ko asan alfaz mai bta deta hoon...
C++ mai 3 qisam k loops hotay hain
1. For Loop
2. While Loop
3. Do While Loop
Asal mai Loop ki Zarorat hamain programming mai os waqt parti hai jub hum same code bar bar repeat karna chahtay hoon...
Ok
For Loop : Ye Loop os waqt use hota hai jub apko maloom ho keh ap ne loop kitni bar chalana hai...
e.g
agar mai 1 se 10 value print karna chahta hoon tho
for(int i=1;i<=10;i++)
{
cout<<i<<endl;
}
For loop mai 3 chazain use hoti hain
1. Initialization int i=1
2. Condition i<=10
3 Increament/Decreament i++
Agar itna Samaj Gaey ho tho reply karo phir mai while aur do while b samja deta hoo...
Bookmarks