write a program to find area of rectangle​

Answers

Answer 1

Answer:

program by INPUT statement

Explanation:

CLS

REM to find the area of rectangle

INPUT L

INPUT B

LET AOR = L * B

LET " AOR = "; AOR

END                

                                                                                                     Press F5

Answer 2
Area of Rectangle - Python

Assuming that the question needs Python program to find the area of a rectangle. Since we are not given in the Question only by which programming language we write the required program, therefore here we use python program.

Before we write the required program for this question, let's first take some hint for better understanding and know that what we need to do in this program.

Let us take a look at what we need to do in this program.

We know that, the area of rectangle is defined as the product of its length and breadth respectively.

→ Area of rectangle = length * breadth

First we would take user input to accept the values of length and breadth of the rectangle from the user.

We then calculate the area of the rectangle using the required formula of it.

The Program

# Program to find the area of rectangle

# Take user input to accept length

length = float(input("Enter the measure of length: "))

# Take input to accept breadth

breadth = float(input("Enter the measure of breadth: "))

# Calculate the area of rectangle using the formula

area = length * breadth

# Assign the result

print("The area of rectangle is", area, "square units.")

[Hashtag (#) is only a single line comment in Python, It's not printed in the program, I have used them here for understanding the program step-by-step. If you want then you can remove those comments from the program.]

The Output

Enter the measure of length: 5

Enter the measure of breadth: 10

The area of rectangle is 50.0 square units.


Related Questions

What is the output of:

print (8 % 4)

Answers

Answer:

0

Explanation:

The statement, print(8 % 4) will produce the output 0 ;

The print statement is an inbuilt function which is used to output a typed string or display result of a Mathematical calculation and so on.

The expression in the print statement gives 0;

8%4 means, the remainder when 8!is divided by 4 ; 8 /4 gives 2 without a remainder. Meaning that :

8%4 = 0

Hence, print(8 % 4) = 0

Choose the issue that is occurring from the drop-down menu. During the , development teams transform the requirements into a software application design. During the , the software design is implemented by developers in code. In the , software is evaluated for quality. Any issues with the software are logged as to be resolved by developers. Software that is maintained by developers is said to be .

Answers

Answer: See explanation

Explanation:

During the, (software design phase), developmentt teams transform the requirements into a software application design.

During the (software development phase), the software design is implemented by developers in code.

In the (software evaluation phase), software is evaluated for quality.

Any issues with the software are logged as (bugs) to be resolved by developers.

Software that is maintained by developers is said to be (supported).

Answer:

1) 2

2) 1

3) 2

4) 2

5) 3

Explanation: just did it

I just need some help working out this Java code! I can list the instructions below:
Modify the CountSpaces program so that contains a String that holds your favorite inspirational quote. Pass the quote to the calculateSpaces method and return the number of spaces to be displayed in the main method.

We're given this to start however I have been struggling as there are two classes and it's been confusing me. Thanks so much for any help! All good and God Bless!

public class CountSpaces
{
public static void main(String[] args)
{
// write your code here
}
public static int calculateSpaces(String inString)
{
// write your code here
}
}

Answers

Answer:

public class CountSpaces

{

   public static void main(String[] args)

   {

       String quote = "The concept of infinity is meaningless inside of an insane human mind.";

       int nrSpaces = calculateSpaces(quote);

       System.out.println("Nr spaces in your quote is " + nrSpaces);

   }

   

   public static int calculateSpaces(String inString)

   {

       int count = 0;

       

       for (int i = 0; i < inString.length(); i++) {

           if (inString.charAt(i) == ' ') {

               count++;

           }

       }

       return count;

   }

}

Explanation:

In this example there is only one class, and since all methods are static the true concept of the class is not even being used.

What is a number that refers to the position of an item on a list?
variable
parameter
operator
index
PLZ HELP IM TIMED

Answers

Answer:

Parameter

Explanation:

a parameter is an argument that is used to call something, for example in an array when 0 is referenced as the first element in the array.

what is an operating system​

Answers

Answer:

An operating system is the primary software that manages all the hardware and other software on a computer. The operating system, also known as an “OS,” interfaces with the computer’s hardware and provides services that applications can use.

the software that supports a computer's basic functions, such as scheduling tasks, executing applications, and controlling peripherals

Indicate whether the following statements are true or false:

a) Viruses protection programs only scan a computer's data for harmful viruses. True or False?

b) Software piracy is the authorised distribution and use of computer programs. True or False?

c) An individual has no right to examine the contents of any personal record representing him/her. True or False?

d) Information should not be held for longer than necessary.
True or False?

e) The privacy of the individual should be protected. True or False?

Answers

Answer:C

Explanation:I got it correct on the computer

Answer: a False (they scan for all of them)

b True

c False

d True

e True

Explanation:

todas las computadoras son controladas por hardware?

Answers

Answer:

"La placa base está compuesta de más partes que alimenten y controlen el equipo. A diferencia del software, el hardware es una entidad física. ... Sin embargo, sin la creación de hardware para realizar tareas dirigidas por software a través de la unidad central de procesamiento, el software sería inútil."

Explanation:

(Sorry, I don't know much Spanish, so there might be mistakes. I hope this helps you.)

What can always be seen in the Styles gallery?

O built-in styles with samples

O the original formatting of the document

O changes that have been made to the document's text

O examples of the last five formats used

Please help ASAP

Answers

Examples of the last five formats used

Answer:

examples of the last five formats used

please mark me as brainliest i dont have 1 yet :/

what do you understand by the terms:
I)input
ii)process
iii)storage
iv)output

Answers

an output device translate information processed by the computer into a form which you can understand.

input device are used to enter information such as letters, numbers, sounds or picture into a computer.

Can anyone help me solve this?

Answers

Answer:

what should be basically be done in this question?

that’s not a question

Emilio has created a document in Word and needs to print labels. He is shopping at a store and finds Avery labels
and another brand that is less expensive. What does Emilio need to do before buying the less expensive labels?
O He needs to make sure the number of labels is the same.
O He needs to make sure that the dimensions match the Avery labels.
O He needs to check to see if they are compatible with Word.
O He needs to check to see if Word has a setting for that label.

Answers

Answer:

He needs to check to see if they are compatible with Word

Explanation:

A label is a attachment to an object, with the aim of identifying the object such as the mail to address on an envelop, In MS Word, there several label templates to choose from, which are located under the Mailings tab

To create a label in MS Word, we have the following steps

1) Select Labels under the Mailings tab

2) Select the Options button in the Labels dialogue box, then select the label vendor and the product of the vendor to be used

3) Enter the address of the mail in the Address box after selecting the vendor

Therefore, Emilo being at the shopping center rathe then on his computer will only have access to check if the cheaper label is also compatible with MS Word, from the label vendor's specifications

How Many types of application Software are there?​

Answers

Answer:

there are 2 types of application software

A professional-looking portfolio gives a clear message. What does it convey?
Ο Α. .
that you like to build up a sales pitch
OB. that you like to flaunt your work
OC. that you are serious about your work
OD.
that you put on a show for effect
Ο Ε.
that you only care about appearances
Reset
Next

Answers

Answer:a

Explanation:

A professional-looking portfolio gives a clear message that you put on a show for effect. Thus, the correct option is D). that you put on a show for effect.

What is a professional portfolio?

Professional portfolio refers to the collection of work and other documents that make clear the abilities of the candidate to the potential employers.  It can be created in both digital and physical format.

A portfolio is an collected album of all work samples and professional documentation that provides proof about the accomplishments, skills, potential and samples of an individual's work.  

In order to give portfolio a professional look, there are several categories to be consider such as Personal Information, Values, Personal Goals and History, Accomplishments and Job History, Skills and Attributes, Education and Training as well.

Learn more about professional portfolio here:-

https://brainly.com/question/20411709

#SPJ2

Read the integer numbers in the text file "1000 Random Number from 0 to 100.txt" into a list

PLEASE HELP THANK U!!

Answers

Answer:

random_number_file = open("1000 Random Number from 0 to 100.txt", 'r')

random_number_list = random_number_file.readlines()

print('random_number_list)

Explanation:

The name of the file containing the random integer text is ; "1000 Random Number from 0 to 100.txt"

The random_number_file variable stores the opened file ("1000 Random Number from 0 to 100.txt") using the open keyword and reads it ('r')

This file stored in the random_number_file variable is the read into a list by using the readlines() method on the random_number_file

Kirstie needs a computer for word processing, emailing, downloading high definition TV
series from an online store and basic photo editing.
Which computer would you recommend for Kirstie? Give reasons for your answer.

Answers

NmmkkjdijdjrjrjdjirjrkdidiL028

Please help me with my question ​

Answers

Answer:

1. Template

2. Name of the website

3. Signature of the instructor

One of the following is NOT a type of Intellectual Property

Answers

Group of answer choices.

a) Copyright

b) Trademark

c) Trade Secrets

d) Privacy​

Answer:

d) Privacy​

Explanation:

An intellectual property can be defined as an intangible and innovative creation of the mind that solely depends on human intellect.

Simply stated, an intellectual property is an intangible creation of the human mind, ideas, thoughts or intelligence. They include intellectual and artistic creations such as name, symbol, literary work, songs, graphic design, computer codes, inventions, etc.

Generally, there are different types of intellectual property (IP) and this includes;

a) Copyright

b) Trademark

c) Trade Secrets

However, privacy is a type of intellectual property.

Have you searched Buzz Ch.at on playstore​

Answers

Answer:

Reorder terms.

y=52x−1

Cancel the common factor of 22.Factor 22 out of −2-2.

y−4=5x2+52⋅(2(−1))y-4=5x2+52⋅(2(-1))

Cancel the common factor.

y−4=5x2+52⋅(2⋅−1)y-4=5x2+52⋅(2⋅-1)

Rewrite the expression.

y−4=5x2+5⋅−1y-4=5x2+5⋅-1

Multiply 55 by −1-1.

y−4=5x2−5

what type of data type is 1+78-5​

Answers

Answer:

Integer

Explanation:

Given

[tex]1 + 78 - 5[/tex]

Required

The datatype

1, 78 and -5 are all numbers and they are without decimal points,

When a number is without decimal, such number is referred to as integer.

Hence, the datatype is integer

If a user has just added a simple triangle shape into a diagram, how can the triangle be adjusted? Check all that
apply.

O by making it bigger

O by adjusting it to be SmartArt

O by making it smaller

O by adjusting it to be different style

O by making it thinner

O by making it thicker

O by adjusting it to be a different color

O by rotating it

Answers

Mark Brainliest please

Answer :

By making it bigger
By adjusting it to be SmartArt

Q4. What is one of the benefits of using a library in a program?

Answers

Answer:

Simplifies creating a complex program

Explanation:

Why did Stephen Hawking stop playing hide and seek?

Answers

Answer:

because she keeps using a metal detector.

A collection of wiress connecting the CPU with main memory that is used to identify particular location is called

Answers

Answer:

Address buses are made up of a collection of wires connecting the CPU with main memory that is used to identify particular locations (addresses) in main memory. The width of the address bus (that is, the number of wires) determines how many unique memory locations can be addressed.

Explanation:

Address buses are made up of a collection of wires connecting the CPU with main memory that is used to identify particular locations (addresses) in main memory.

What is CPU?

The electronic equipment that carries out the instructions included in a computer program is known as a central processing unit (CPU), sometimes known as a central processor, main processor, or simply processor.

The CPU executes fundamental mathematical, logical, controlling, and input/output (I/O) activities as directed by the program's instructions. In contrast, specialized processors like graphics processing units and external components like main memory and I/O circuitry (GPUs).

Although CPUs' shape, design, and implementation have evolved throughout time, their basic function has remained mostly same. The arithmetic-logic unit (ALU), which performs arithmetic and logic operations, processor registers.

Therefore, Address buses are made up of a collection of wires connecting the CPU with main memory that is used to identify particular locations (addresses) in main memory.

To learn more about CPU, refer to the link:

https://brainly.com/question/16254036

#SPJ5

help,these are true and false and tick and cross ​

Answers

Answer:

1.

a.true

b.false

2a internal

Explanation:

hope it helps you

n
Which of the following is not a goal of a persuasive speaking?
a. to motivate to action
b.
to change attitudes, beliefs, or values
to strengthen or weaken attitudes, beliefs, or values
d. to define, demonstrate, or instruct
C.

Answers

Answer: D. to define, demonstrate, or instruct.

Explanation:

Persuasive speaking is the form of speaking that we usually engage in. It is used to convince people. As individuals, we usually engage in persuasive speaking. We argue about different things and try to convince the other person to agree with us.

Th goals of persuasive speaking is to motivate to action, to change attitudes, beliefs, or values and to strengthen or weaken attitudes, beliefs, or values.

It should be noted that the goal of persuasive speaking isn't to to define, demonstrate, or instruct. Therefore, the correct option is D.

Answer:

Simple Answer: D

A ____ is an icon that does not directly represent a file, folder or application but serves as a link to it?​

Answers

Answer:

Shortcut

Explanation:

A file can be defined as a computer resource that avails end users the ability to store or record data as a single unit on a computer storage device.

Generally, all files are identified by a name, icon, size, and type (format) such as audio, image, video, document, system, text, etc.

Furthermore, files are organized or arranged in directories. These directories are paths that describes the location wherein a file is stored on a computer system.

A software can be defined as a set of executable instructions (codes) or collection of data that is used typically to instruct a computer on how to perform a specific task and solve a particular problem. Thus, it's a computer program or application that comprises of sets of code for performing specific tasks on the system.

In Computer science, it's possible to create a shortcut in several directories (locations) on a computer, so as to reference a file, folder or software application and serve as an executable link.

Hence, a shortcut is an icon that does not directly represent a file, folder or application but serves as a link to it.

Additionally, deleting the shortcut of a data file, folder or software application would not permanently delete or uninstall the main data file respectively.

the first day anna read a quarter of the book. on the second day she read a third of the remainder. noticed that after two days he had 80 pages left unread. how many pages did the book have?​

Answers

Answer:

160 pages

Explanation:

[tex]Day\ 1 = \frac{1}{4}[/tex]

[tex]Day\ 2 = \frac{1}{3}Remainder[/tex]

[tex]Left = 80[/tex]

Required

The number of pages

Let the number of pages be x.

So, on day 1; we have:

[tex]Day\ 1 = \frac{1}{4}x[/tex]

After day 1, there are:[tex]\frac{3}{4}x[/tex] left ----------------- i.e x - 1/4x

On day 2, we have:

[tex]Day\ 2 = \frac{1}{3} * \frac{3}{4}x[/tex]

[tex]Day\ 2 = \frac{1}{4}x[/tex]

At this point, we have:

[tex]Day\ 1 = \frac{1}{4}x[/tex]

[tex]Day\ 2 = \frac{1}{4}x[/tex]

[tex]Left = 80[/tex] ---- pages left

The summation of all must equal x, the book pages

[tex]Day\ 1 + Day\ 2 + Left = Total\\[/tex]

[tex]\frac{1}{4}x + \frac{1}{4}x+ 80= x[/tex]

Simplify the left-hand side

[tex]\frac{1}{2}x+ 80= x[/tex]

Collect like terms

[tex]x - \frac{1}{2}x= 80[/tex]

Simplify

[tex]\frac{2-1}{2}x= 80[/tex]

[tex]\frac{1}{2}x= 80[/tex]

Multiply by 2

[tex]2 * \frac{1}{2}x= 80*2[/tex]

[tex]x = 160[/tex]

. Create a java File call Sales.Java contains a Java program that prompts for reads in the sales for each of 5 salespeople in a company. It then prints out the id and amount of sales for each salesperson and the total sale. 2. Compute and print the average sale. 3. Find and print the maximum and minimum sale. 4. After the list, sum, average, max and min have been printed, ask the user to enter a value. Then print the id of each salesperson who exceeded that amount, and the amount of their sales. Also print the total number of salespeople whose sales exceeded the value entered. 5. Instead of always reading in 5 sales amounts, in the beginning ask the user for the number of sales people and then create an array that is just the right size. The program can then proceed as before

Answers

Answer:

The program is as follows:

import java.util.*;

public class Sales{

public static void main(String[] args) {

 Scanner input = new Scanner(System.in);

 int salesPeople;

 System.out.print("Number of Sales People: ");

 salesPeople = input.nextInt();

 int[] salesID = new int[salesPeople];

 float[] salesAmount = new float[salesPeople];

 float total = 0;

 for(int i = 0; i<salesPeople;i++){

     System.out.print("ID: ");      salesID[i] = input.nextInt();

     System.out.print("Amount: ");      salesAmount[i] = input.nextFloat();

     total+=salesAmount[i];  }

 System.out.println("ID\t\tAmount");

 for(int i = 0; i<salesPeople;i++){

     System.out.println(salesID[i]+"\t\t"+salesAmount[i]);  }

 System.out.println("Total Sales: "+total);

 System.out.println("Average Sales: "+total/salesPeople);

 Arrays.sort(salesAmount);

 System.out.println("Minimum Sales: "+salesAmount[0]);

 System.out.println("Maximum Sales: "+salesAmount[salesPeople-1]);

 float sales;

 System.out.print("Print records that exceed: ");      sales = input.nextFloat();

 System.out.println("\nID\t\tAmount");

 int count = 0;

 for(int i = 0; i<salesPeople;i++){

     if(salesAmount[i]>sales){

         System.out.println(salesID[i]+"\t\t"+salesAmount[i]);

         count++;      }  }

 System.out.print("Total sales records that exceed "+sales+" are: "+count);

}

}

Explanation:

See attachment for program source file where comments are used as explanation

Diana has created a graphic design portfolio for a major project. What kind of portfolio would increase Dlana's chances of getting selected?
OA
a portfolio with some case studies of her graphic design work
OB.
a portfolio with graphic designs in her favorite theme
Ос.
a portfolio containing contact numbers of references
OD.
a portfolio that emphasizes large images and many colors
OE. a portfolio that emphasizes her qualifications and experience

Answers

Answer:

Hello There!!

Explanation:

I believe the answer is O A. a portfolio with some case studies of her graphic design work.

hope this helps,have a great day!!

~Pinky~

1. Ngangingazi Ukuthi Ukulalela Abazali Nothisha Bami Kuletha Impumelelo
Enhle Kangaka.
[50]​

Answers

Answer:

yebo kumele ubalalele ngoba ayikho into yakho eyophumelela ungabalalelanga abazali

Other Questions
Read this excerpt from "Mending Wall," by Robert Frost:Something there is that doesn't love a wall,That sends the frozen-ground-swell under it,And spills the upper boulders in the sun,And makes gaps even two can pass abreast.The work of hunters is another thing:I have come after them and made repairWhere they have left not one stone on a stone,But they would have the rabbit out of hiding,To please the yelping dogs.What is the speaker of this poem doing? {x+y=-4{y=2x-1 Help please. Thanks in advance. Who was the first person to suggest the existence of atoms? A man realizes he lost the detailed receipt from the store and only has the credit card receipt with the after-tax total. If the after-tax total was $2,033.00, and the tax rate in the area is 7%, what was the pre-tax subtotal? can somebody please help me with this, I'm not sure which one goes on what, but I'm not trying to get this wrong because in almost finished. I would much appreciate your help DUE TODAY!!! PLS HELP IF YOU KNOW!!! You bought your car at the cost of $3000.If the value depreciates each year at a rate of 5%.By how much did the value of the bicycle devalued for macroscale distillations, or for microscale distillations using glassware with elastomeric connectors, compare the plot from your simple distillation with that from your fractional distillation. in which case do the changes in temperature occur more gradually Compltez chaque phrase en utilisant un mot ou une expression du vocabulaire de cette leon.check the pic: What South Korean city of dubious strategic value did General Douglas MacArthur become determined to take thereby probably allowing North Korean forces to escape the trap after the breakout from Pusan? Mannisto Inc. uses the FIFO inventory cost flow assumption. In a year of rising costs and prices, the firm reported net income of $219,017 and average assets of $1,413,720. If Mannisto had used the LIFO cost flow assumption in the same year, its cost of goods sold would have been $36,220 more than under FIFO, and its average assets would have been $31,640 less than under FIFO.Required:Calculate the firm's ROI under each cost flow assumption (FIFO and LIFO). Let's start! Take a look at all of these blocks. You can reach the number 10 by adding the blocks in many different ways. BUT, what is the LEAST number of blocks you need to add together in order to reach the number 10? What is the common ratio for the sequence 5.-10. 20.-40. ? -2 -1/21/2 2 What is the role of family in the philosophy? For Confucianism, Daoism, and Legalism. Question 12 of 30Which of the following best describes the difference between an adaptationand adapting?A. An adaptation takes place during an individual's lifetime. Adaptingtakes place over many generations.B. An adaptation is a genetic trait that improves an individual'schances of survival. Adapting is changing behavior or appearancein response to experience.C. An adaptation is a learned behavior. Adapting is a geneticprocess.D. Adapting improves an individual's chances of survival. Anadaptation is a change made in response to experience. Please help me!!!!!!!! Our twenty-fifth wedding anniversary is at the end of the next year. -> By the end of the next year.... Please someone help me help please asap ASAP ASAP ASAP PLEADEEEEEEEEE simplify 4 by 5 + 2 in bracket 3 minus 2 by 3 in bracket