Sunday, 14 June 2015

print counting in c++ without using loop,recursion and goto


counting without using loop,recursion or goto

can you write a code for printing counting without using loop,recursion,goto statement?

hey everyone who likes to code has written a code in c++ for coding.also everyone has designed a code for printing counting 1 to 100. but can you design a code for printing counting without using loop,recursion and goto statement?
The one answer could be simply printing 1 to 100 using cout statement but that's not a coder's answer.
the one could be using class and the code is written below
interesting isnt it??
there are more alternatives ways, try to design one of your own
bbye... and stay tuned for more such interesting posts......

No comments:

Post a Comment