0
Is it possible to use cin>> in NESTED IF loop? Or it only works if we assign value to variable ex. Int=100
5 Answers
+ 3
cin is an object belongs to C++'s standard library and as long as the scope of namespace covers all parts of your code (which is usual most of the time) you would use cin in almost everywhere of your code to get the input.
+ 1
try this đđđ
int mark = 100;
if (mark)
if (mark)
if (mark)
if (mark)
for(;;)
cin >> mark;
return 0;
+ 1
thanks@Babak Sheykhan (PERS)
0
with!!
0
plz give proper answer