1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Papessa [141]
3 years ago
6

To print factorial of anyinput number QBASIC​

Computers and Technology
1 answer:
lukranit [14]3 years ago
5 0

Answer:

The program in QBasic is as follows;

PRINT "Number: "

INPUT N

LET FACT = 1

FOR I = 1 TO N

     FACT = FACT * I

NEXT I

PRINT FACT

END

Explanation:

This prompts user for number

PRINT "Number: "

This accepts input from the user

INPUT N

This initializes the factorial to 1

LET FACT = 1

This iterates through the number the user inputs and calculates its factorial

<em>FOR I = 1 TO N </em>

<em>      FACT = FACT * I </em>

<em>NEXT I </em>

This prints the factorial

PRINT FACT

The program ends here

END

You might be interested in
Strange<br><br> String<br><br> Striated<br><br> Stop
VashaNatasha [74]
What is this supposed to be?!
4 0
3 years ago
Characteristics of the printer​
sveticcg [70]
Important printer characteristics include resolution, speed, color, and cache memory.
4 0
3 years ago
A line in the Agile Manifesto reads, "____________ and _____________ over processes and tools". Please select which option best
nikitadnepr [17]

Answer:

Option D i.e., Individuals; Interactions is the correct option.

Explanation:

Because Agile Manifesto is the development software tool that is used to reads the line for the individuals and it also interacts with the process of the user. It also used to collaborate with their customers to negotiates the contacts of the customers.

Other option is not correct because they are not related to the following statement.

5 0
3 years ago
Choose a different well-known company that you know of, and describe its direct and indirect competitors. Describe at least 2 di
geniusboy [140]
Nondirect competition is the variance between vendors whose products or services are not the same but that could gratify the consumer need
Lets take exampl of microsoft corporation
The indirect competitors are WHOLE FOODS and WAL-MART
Direct competitors sells the product or services that are same
the direct competitors are Apple, Google, HP, IBM
hope it helps
6 0
3 years ago
Read 2 more answers
Which of the following self-contained APs are autonomous, or independent, because they are separate from other network devices a
const2013 [10]

The self-contained APs are autonomous, or independent, because they are separate from other network devices and even other autonomous AP,these are referred to as the Fat APs

Explanation:

A <u>fat AP wireless access poin</u>t is used to manage wireless client. In other words it can provide wireless access independently.It can handle encryption,authentication,and management of communication of client devices.

There are two types of wireless access points, <u>intelligent (fat) and thin wireless access points. </u>

A thin access point can be a radio and antenna, that is  controlled by a wireless switch.

Some  role of Fat APs include

  • It controls the functionality of a central switch
  • It provides for the  Encryption of connected client devices
  • It Manages the connected client devices
  • It also performs the task of Authentication of the  connected client devices
3 0
4 years ago
Other questions:
  • What will be displayed after the following statements have been executed? int x = 15, y = 26, z = 32; x = x + 12; y = y/6; z -=
    15·1 answer
  • You are opening a existing file fot output. how do you open the file without erasing it
    7·1 answer
  • Teachers in most school districts are paid on a schedule that provides a salary based on their number of years of teaching exper
    10·1 answer
  • A range of cells can be converted into an Excel ________ so that the data can be analyzed
    7·1 answer
  • Need help developing code!!
    9·1 answer
  • How do you add a section break that would start the new section on the same page?
    12·2 answers
  • Declare a Scanner reference variable fileInput, and assign it a newly created Scanner object that is associated with a file name
    10·1 answer
  • What is the most likely reason that a digital artist would use a program such as Autodesk Maya or Max to create 3-D images for a
    12·1 answer
  • Select the one that uses the heading tag correctly. <br><br>a. <br><br><br>b. <br><br>c. <br><br>d.
    12·2 answers
  • To find out what a database contains simply look at the ________ inside the database.
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!