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

we should use the dynamic array to resize the array then we
can change the size of the array

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of folders object of scripting.filesystemobject class in vbscript?

1144


Write a test case using Test if the images,a particular test exists,check if the page links match,page response is within a certain range,parameterization of the test,the test should comprise of actions,the test should use a custom function,the test should use global repository

2021


How to capture a runtime error in vbscript?

866


Write a code to print numbers from 5 to 0?

936


What is byref and byval parameters in vbscript?

838


Write a Script for ATM in QTP

3617


1. How do declare public variable in vb scripts?

1800


what is used of Property........End Property loop ? how to write the script for it?

1947


How regexp.execute method works?

834


How to open browser in vb script?

843


What is the use of the instr function?

808


How you can call vbscript functions?

802


Hi, Can anyone please send me vb script examples to practice vb and also material to learn vb scripting in QTP? my email id : hareen_11@yahoo.com

2050


What is the use of the formatdatetime function in the vbscript language?

783


How to create a cookie using vbscript?

858