Can anybody code this problem for me in VB script -
Create an array of 4 elements, increase its size to 7
elements and then find out which of the elements are prime
(use functions)

Answer Posted / sadashivbyagi

using dynamic array

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Set srchobj=Description.Create() srchobj("type").value="text" srchobj("name").value="q" srchobj("html tag").value="input" browser("micclass:=google").Page("micclass:=google").webedit (srchobj).Set "qtp" what's wrong in my code pls tell me ? the above code working fine and i got my result pass,now i am trying to run the program it shows general run time error why?pls help me i am in learning stage ?

1550


how to increase the values in text box in a given text box increament by two values by clicking on button

1641


wht must be the interview question on corinthian information technology solutions incorporated.

2184


HOw we can apply web service checkpoint in QTP 9.5? I tried it out with net connection also. But not getting success.

2057


When to use function procedures and what are its characteristics?

547






Explain the functionality of vbscript?

538


How can you destroy an object in vbscript?

637


how to check whether link is disabled in QTP??

5629


what is diff between static and dynaic arrys?

1584


Explain about constants in vb script?

571


i have a problem with this error(this error related edit and delete button,when i click this button in datagrid..i will get this error)"Invalid postback or callback argument. Event validation is enabled using in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation." this is my code : <%@ Page Language="VB" Debug="false" %> <%@ import Namespace="Sytem.Data" %> <%@ import Namespace="System.Data.OleDB" %>

(Search Based On Staff I.C No) IC.No (XXXXXX-XX-XXXX)   ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> Total Leave Taken : Days

2340


What are class variables?

612


how does vb script help in web page designing? explain with example.

1584


what is the standards used for writing the script in QTP

1885


regular expression that will recognize a browser as long as its name property starts with mybrowser

1759