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
PIT_PIT [208]
3 years ago
13

Write an algorithm to get the value of length and breadth of a rectangle from the user and find its area. inn qbasic

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

Answer:

IN PYTHON ::

x=int(input('Enter length:'))

y=int(input('Enter width:'))

print('Area of the rectangle is', x*y,'squared units')

I hope it will be useful.

You might be interested in
In cell F29, use an IF function to display the correct Shipping Charge, based on the amount of the Discounted Total. If the Disc
sladkih [1.3K]

Answer:

= IF(B29 >= B28,0,(0.05 * B29))

Explanation:

Given

Free Shipping Minimum = B28

Shipping Charge = F29

Required

Write a formula in F29 to calculate the total shipping charge based on the condition in the question.

To solve this, the following assumption needs to be made.

It'll be assumed that cell B29 contains the value for Discounted Total.

So,

Discounted Total = B29

The condition in the question says

1. If Discounted Total (B29) is greater than or equal to the Free Shipping Minimum (B29), then Shipping Charge (F29) is 0

This can be represented as

If(B29 >= B28)

F29 = 0

2. Else (i.e. if (1) above is false), Shipping Charge (F29) equals 5% of Discounted Total (B29)

This can also be represented as

F29 = 0.05 * B29

Writing the formula in (1) and (2) together in Excel format;

= IF(B29 >= B28, 0, (0.05 * B29))

The above formula will give the desired result based on the condition in the question.

Take for instance;

Free Shipping Minimum = B28 = 28

Discounted Total = B29 = 30

Since 30 >= 28, the value of F29 will be 0 because it satisfies condition 1.

But if

Free Shipping Minimum = B28 = 30

Discounted Total = B29 = 28

Since 28 < 30, the value of F29 will be 5% of 28 = 1.4 because it satisfies condition 2

8 0
3 years ago
Kendra is taking a class in Finance and she has been asked to give a speech about a case study in which she's been working. She
Nezavi [6.7K]

Answer:

hcjcbfbdndndjjxjdjdjfjf

Explanation:

v

6 0
3 years ago
A network administrator is required to upgrade wireless access to end users in a building. To provide data rates up to 1.3 Gb/s
matrenka [14]

Answer:

B

Explanation:

I choose b and it was correct

8 0
4 years ago
What function does a mobile device’s accelerometer serve?
Masteriza [31]

Answer:

The correct answer is: <u>A.  it determines the orientation of the device</u>

Explanation:

An accelerometer is a sensor in mobile phone devices that is used to detect the orientation of the phone and then change the orientation of the content displayed on the mobile screen to adjust accordingly.

So the correct answer is:

<u>A.  it determines the orientation of the device</u>

4 0
4 years ago
Read 2 more answers
How many tens are there in the number 156?<br> A. 1<br> B. 15<br> C. 6<br> D. 56
dexar [7]

Answer:

15

Explanation:

15 times 10 is 150, therefore there is 15 tens inside 156.

7 0
3 years ago
Read 2 more answers
Other questions:
  • What are the basic steps of programing??
    9·2 answers
  • When creating wireframe geometry and the autocursor is on what happens when you push the shift key?
    13·1 answer
  • A multistep protocol used to identify and control potential threats to food-safety is the
    8·1 answer
  • As a graphic designer, you'll refer to a line as which of the following? A. Point B. Border C. Rule D. Frame
    9·2 answers
  • What is the Java source filename extension? What is the Java bytecode filename extension?
    14·1 answer
  • While these two approaches have similarities in terms of the topics they address, ________ will cover broad IT management topics
    7·1 answer
  • Suppose that a is a one-dimensional array of ints with a length of at least 2. Which of the following code fragments successfull
    8·1 answer
  • Which command should you select to track changes in a document?
    9·2 answers
  • 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
  • Write a function named partfthat takes inas parameterstwo parallel lists: a list of times (in increasing order), and a list of d
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!