Without using any loops print {{{}}} (u cant use
goto,for,while etc..).
Answer Posted / jeevan
Use recursive function for this
in example example user has entered 3
(Code is written in VB)
Num = 3
Itt = 0
ListPR = ""
Function PrintPra(ListPR as String,Itt as integer)
if Itt < 3 then
ListPR = "{" & ListPR "}"
itt = itt +1
'Call the Function again
PrintPra(ListPR,Itt)
else
Print ListPR
end
End if
End function
Is This Answer Correct ? | 6 Yes | 3 No |
Post New Answer View All Answers
In a soap company a soap is manufactured with 11 parts. For making one soap you will get 1 part as crap. At the end of the day u have 251 such scraps. From that how many soaps can be manufactured?
why should we hire the others waiting to be interviewed?
At 6o'clock ,a watch strokes 6 times.The time between first and last is 30secs.At midnight 12o' clock how much time for all strokes?
sir i need generalKnowledge previous questions for rrb secunderabad goods guard exam
how soon can you travel down to start your new job?
P pages read in d mins after day p+1 pages read in d+1 mins last day 379 pages done in 317 mins find p+4
foot is related to man in the same way hoof is related to...........
There is puzzle with the word "CONSTANTINE" and exactly don't know the question if anybody knows the Q&A plz send it ahmed.basha.munna@gmail.com
4_4_4_4=22 use all sign of maths
what three specific job positions do you target from qatar airways group u.k?
what job position/s are you currently holding with your current employer?
What is the syllabus for numerical aptitude exam to be held by the United bank of India. Plz inform me through email. Thanking You!
In rail road there are some stations. Each station should have tickets to all other stations.If they add some new stations they need 46 more tickets.How many stations are there before and after adding the stations?
Wo kay chej hi jo saal may 1 baar aata hai months may 2 baar aata hai weeks may 4 baar aata hai or din may 6 baar
sir i need catholic syrian bank previous question papers fully. it will be helpful for me to greater extend .please do the needful to me.