| | |
How To Uswe A For Loop
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
•
•
•
•
I Want To Use A For Loop To Enter Three Answers From Three Questions But My Problem Is I Don't Have An Idea Coz I'm New To This C++ Language Please Help? THE LOOP STARTS TO COUNT FROM 100
C++ Syntax (Toggle Plain Text)
for(i=0;i<n;i++) { cout<<"I am new to c++"<<"\n"; }
Loop Starts to count from 100 ? Up or Down ?
You want to enter 3 answers for 3 questions. So why would you need to count from 100 anyways ?
Regards
MiniGWeek
•
•
Join Date: May 2007
Posts: 30
Reputation:
Solved Threads: 0
the loop is starting from hundred because hundred people completed the following questionnaire.
what is your highest qualification
1.if grade 10
2.if grade 12
3.if any tertiary qualification
how old are you
1.if below 20
2.if between 20-32
3.if above 32
what is your gender.
1.m if male
2.f if female
3.h if hetero
what is your highest qualification
1.if grade 10
2.if grade 12
3.if any tertiary qualification
how old are you
1.if below 20
2.if between 20-32
3.if above 32
what is your gender.
1.m if male
2.f if female
3.h if hetero
![]() |
Similar Threads
- Help with gui loop. (C)
- Loop...without the loop (Java)
Other Threads in the C++ Forum
- Previous Thread: Input an Array then Find sum of digits and num of digits
- Next Thread: a department-store customer progam
| Thread Tools | Search this Thread |
api application array arrays based beginner binary bitmap c++ c/c++ calculator char char* class classes coding compile compiler console conversion convert count data database delete desktop developer directshow dll dynamiccharacterarray email encryption error file forms fstream function functions game generator getline graph homeworkhelper iamthwee ifstream input int integer java lib linux list loop looping loops map math matrix memory multiple newbie news node number numbertoword output parameter pointer problem program programming project proxy python random read recursion recursive reference return rpg sorting string strings struct template templates text tree url vector video visual visualstudio win32 windows winsock word wordfrequency wxwidgets






