Best Answer


User Avatar

Wiki User

โˆ™ 2013-02-14 16:40:26
This answer is:
User Avatar
Study guides


20 cards

A polynomial of degree zero is a constant term

The grouping method of factoring can still be used when only some of the terms share a common factor A True B False

The sum or difference of p and q is the of the x-term in the trinomial

A number a power of a variable or a product of the two is a monomial while a polynomial is the of monomials

See all cards
1196 Reviews

Add your answer:

Earn +20 pts
Q: How do you write a program in BASIC to find the GCD and LCM of two integer numbers?
Write your answer...
Still have questions?
magnify glass
Related questions

How to write a visual basic program to find the maximum of three numbers?

' Return the maximum of a,b,c Function max(ByVal a As Integer, ByVal b As Integer, ByVal c As Integer) As Integer Dim maxAB As Integer maxAB = Math.Max(a, b) Return Math.Max(maxAB, c) End Function

Write a program to compute the sum of first ten integer numbers in PHP?

$n = 10*(1+10)/2;

Write a program to subtract integer y from integer x?

x -=y;

How do you write a program in Basic to display all the even numbers up to 100?

In visual basic: Module Module1 Sub Main() Dim Inst As Integer For Inst = 0 To 100 Step 2 Console.WriteLine(Inst) Next End Sub End Module

How do you find sum of 100 numbers using fortran programme?

The following is for F95 and later (due to the use of intrinsic SUM ): My assumptions: -Your numbers are integers -Your numbers are stored in an array -The numbers you are describing are 0-100 program findSum !I assumed integer, replace this with your data type integer, dimension(100) :: numbers integer :: sumOfNumbers !We populate an array with our numbers !Replace this with your numbers do i=1,(size(numbers)+1) numbers = i end do !We find the sum of those numbers sumOfNumbers = sum(numbers) !We write out the sum to prompt write(*,*) 'Sum is: ', sumOfNumbers end program findSum

Write a VB program for binary search?

dim a as integer

How do you write prime numbers?

In the same way as you would write any integer.

How do you write a program to find out the square and cube of first ten natural numbers in gw basic?

First you will need to have some basic programming knowledge. You can use this to help make the program that is needed.

How can I write a program to display prime numbers from 1 to 100?

Write a function that implements an algorithm that checks to see if a particular integer is prime (returning a boolean). Write a program that uses that function on each number from 1 to 100, and if true, displays that number.

How would you write Visual Basic Code to declare an Integer variable called intNumber?

Dim intNumber As Integer

Write a program that inputs two real numbers then exchange their values?

write a program

How do you write the password program in vb?

write a program to create password like **** in visual basic language

People also asked