Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@melezorus34 ok but tell me can i write this program with only using LOOPS AND IF ELSE CONSTRUCT.
-
You can write anything with loops and if else.
Recursion is a different kind of repeating something and can be simpler than loops in some cases.
Try different constructs and see what fits best for the problem. -
-
Or, you know, you could learn something from the people here by reading suggestions and applying them to the problem.
-
@lbfalvy thanks for reminding me i can't do gags like this because of my stupid country.
Gotta ace and get myself outta here *internal scream* -
@lbfalvy
can't get paypal bcuz bla bla paypal doesn't have a representative here for tax purposes.
Can't use moneygram or similar services [for this purpose] because I'd have to be a [personal] business to be able to get donations/payments.
I _won't_ create a company for the sole reason that I and my works are not popular enough to cover the fees coming with creating and maintaining a business. -
@melezorus34 I don't think I could pay taxes on my ko-fi income here either, but there's a certain sum up to which you can get paid without taxation.
if possible please learn me on partition of number N ,Using C LANGUAGE.
For EX N= 6 thus,
Output is
6
51
42
411
33
321
3111
222
2211
21111
111111
question