Question about Microsoft Visual Basic 6.0 for PC
Tell me the coding to be done to check that a number is prime or not
as soon as possible.
Write the following function and call it whenever you need to evaluate a number:
Private Function IsPrime(ByVal Number As Long) IsPrime = False Dim I As Long For I = LBound(Primes) To UBound(Primes) DoEvents Call UpdateStatus(Number, Primes(I)) If (Number Mod Primes(I) = 0) Then Exit Function If (Primes(I) >= Sqr(Number)) Then Exit For Next IsPrime = True End Function
Posted on Jan 06, 2009
a 6ya Technician can help you resolve that issue over the phone in a minute or two.
Best thing about this new service is that you are never placed on hold and get to talk to real repair professionals here in the US.
click here to Talk to a Technician (only for users in the US for now) and get all the help you need.
Posted on Jan 02, 2017
Tips for a great answer:
following are the general instructions on the start of diagnosing any
electronically controlled engine or transmission problem.
engine and the automatic transmission (transmission control is only
for automatics, engine is still computer controlled no matter the
transmission type) in this vehicle are computer controlled and in
most cases when a fault occurs a fault code is stored in the memory
of the computer control module. There are exception to this, such as
the Mass Airflow Meter and fuel pressure problems. What must be done
is to have all the basic testing done such as a scan of the system
for fault codes as well as a check with a live data scanner tool for
engine functions that are not within range of normal, a trained
technician is required to know what is correct and what isn't, then
based on careful diagnostics done from a factory repair manual the
correct part is replaced or the wiring repaired or the computer
replaced (known as the PCM), which is very rarely the problem. Other
basic checks must be done as well such as mechanical problems with
the engine as well as engine state of tune and mileage on the engine.
The transmission can have mechanical issues as well such as no gear
engagement at all or a failed pump or other pressure related
problems. Also engine mechanical problems ca cause many
drive-ability related problem such as rough idle and other symptoms
Oct 22, 2012 | 1999 Chevrolet S-10 Pickup
Mar 07, 2012 | 1996 Saturn SL
Jan 03, 2011 | Saturn SC2 Cars & Trucks
Aug 02, 2010 | 2002 Chevrolet Impala
Apr 15, 2009 | Microsoft Mlf Visual Studio Enterprise...
Apr 08, 2009 | Microsoft Visual Basic Enterprise Edition...
Feb 19, 2009 | Microsoft Visual Basic 6.0 (361-00686) for...
Feb 21, 2008 | Intel (RK80532PG0881M) Pentium 4, 3 GHz...
82 people viewed this question
Usually answered in minutes!
Step 2: Please assign your manual to a product: