Hi Venkat,

Thanks for your reply.

I have tried the code you sent. But it is not working out. Please see if 
you can make it.


Regards,
P.Nikhilesh



On Monday, May 4, 2015 at 10:44:10 PM UTC+5:30, Venkat Reddy Bandaru wrote:

> Hi Nikhil,
> Below the code
>
> inum=inputbox("enter number")
>  for i =1 to inum
> If inum mod i =0 or i=1 then
> If i=1 Then
>  i = 1
> End If
>    ivalue = Ivalue & " " & i 
> End If
> Next
>
> print trim(ivalue)
>
>  
>  Thanks & Regards,
> Venkat Reddy Bandaru
> [email protected] <javascript:>
> +91.9884524606
>
>
> On Mon, May 4, 2015 at 6:47 PM, nikhilesh p <[email protected] 
> <javascript:>> wrote:
>
>> Hi All,
>>
>> I have been trying to build a logic for printing the below given numbers 
>> in the given format. Could any of you help me out in printing this?
>>
>> 1
>> 1 2
>> 1 2 3
>> 1 2 3 6
>> 1 2 3 6 12
>>
>> Regards,
>> P.Nikhilesh
>>
>> -- 
>> -- 
>> You received this message because you are subscribed to the Google
>> "QTP - HP Quick Test Professional - Automated Software Testing"
>> group.
>> To post to this group, send email to [email protected] 
>> <javascript:>
>> To unsubscribe from this group, send email to
>> [email protected] <javascript:>
>> For more options, visit this group at
>> http://groups.google.com/group/MercuryQTP?hl=en
>>
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "QTP - HP Quick Test Professional - Automated Software Testing" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
-- 
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

--- 
You received this message because you are subscribed to the Google Groups "QTP 
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to