mide003
mide003 mide003
  • 08-09-2017
  • Computers and Technology
contestada

write a Qbasic program to write the factors of a number with commas
please

Respuesta :

kaevras
kaevras kaevras
  • 08-09-2017
DIM Num AS INTEGER

CLS

INPUT "Enter number: ", Num

Num = ABS(Num)

FOR i = 1 TO Num
    FOR j = 1 TO Num
        IF i * j = Num THEN
            PRINT i
            PRINT ", "
            PRINT -1 * i
            PRINT ", "
        END IF
    NEXT j
NEXT i


Answer Link

Otras preguntas

When a car is parked in hot sunlight, the temperature of the car’s seats _____ and the thermal energy of the seats _____ . ______ decreases, increases, remains
Please help!! 25 points!! Compound intrest!! Scotty invests an amount at 2% interest compounded annually. After 3 years, he has $3183.62. What was the original
What's 18/9 in simplest form
Martin works 32 hours a week for $7.50 an hour. Calculate his straight time pay over a 4-week period.
The concept of separation and balance of powers in the Constitution refers to which of these situations?
where would page numbers appear in a properly formatted buisness documnet
Is the sentence "Hey, love, how are you doing?" Punctuated correctly ?
Olvidamos el champú. a. la olvidamos b. los olvidamos c. lo olvidamos
Kate Alexander worked 40 hours last week. Her pay rate is $8.50 per hour. Assuming 7.65% social security withholding, how much should her employer withhold from
Which of the following is the most significant contrast between vinyl and digital recordings? storage capability sound quality purchase price playback ability