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

no spamming or links
A function is a reusable piece of code that accomplishes a task.
true or false

Answers

I think the answer is true,
The answer is true. They are, indeed, reusable and complete tasks you assign them.

The kinetoscope is ___________________ a. a disk with a series of drawings around the edge, showing the same object in slightly different poses. b. a standard communications protocol used to connect computer networks around the world. c. a device that creates the illusion of movement and was the forerunner to the modern projector. d. a portable device for recording audio and video.

Answers

Answer: the answer is c

Answer:

C

Explanation:

What is the main device used on fourth generation computer​

Answers

Answer: Microprocessors were used to create the fourth generation of computers. In 1971, Intel built the first microprocessor, the 4004 chip.

Explanation: The microprocessor is a silicon chip with millions of transistors built using LSI and VLSI technologies.

hope this helps best of luck mate! :)

Select three advantages of cloud computing.

A) large amount of storage capacity

B) no Internet access required

C) great flexibility

D) enhanced security

E) easily managed

Answers

Answer:

easily managed, large amount of storage capacity, great flexibility

Explanation:

You have just been hired by a large organization which uses many different AWS services in their environment. Some of the services which handle data include: RDS, Redshift, ElastiCache, DynamoDB, S3, and Glacier. You have been instructed to configure a web application using stateless web servers. Which services can you use to handle session state data

Answers

Answer:

Elasticache and DynamoDB

Explanation:

The session data can be stored on Elasticache and DynamoDB

ElastiCache is the best fit for front end data stores thereby ensuring a high performance with extremely high request rates and/or low latency requirements

Some help me with this I’ll mark brainleist

Answers

Answer:

made by apple - final cut studio

sound editing software compatible with both windows and mac - audacity

simple too - garage band

Explanation:

1. Final 2. Audacity 3. Garage band

Which of these is a Boolean operator?
A. OR
B. YES
C. NO
D. CANCEL

Answers

Answer:

the answer would be A.OR

Explanation:

boolean operator examples are OR,AND NOT,NOT,AND

Answer:

A

Explanation:

it is what it is

Identify the correct way to cite the Occupational Outlook Handbook's "How to Become a Dentist" web page.
A.Occupational Outlook Handbook. "How to Become a Dentist." Bureau of Labor Statistics and US Department of Labor, 2012.
B."Occupational Outlook Handbook." How to Become a Dentist. Bureau of Labor Statistics and US Department of Labor, 29 March 2012. Web. 1 May 2013.
C."How to Become a Dentist." Occupational Outlook Handbook. Bureau of Labor Statistics and US Department of Labor, 29 March 2012. Web. 1 May 2013.
D.How to Become a Dentist, Occupational Outlook Handbook. Bureau of Labor Statistics and US Department of Labor, 2012. Web. 1 May 2013.

Answers

Answer:

C."How to Become a Dentist." Occupational Outlook Handbook. Bureau of Labor Statistics and US Department of Labor, 29 March 2012. Web. 1 May 2013.

Explanation:

When citing an online publication without a known author, the title of the article is first stated and encapsulated in italics. This is then followed by the name of the website or book. The organization responsible for the write-up is indicated. A comma separates the name of the organization and the date when the article was written. 'Web' is written to show that the material was obtained online. Finally, the date that tells when the article was retrieved is noted.

This guideline applies to both the Modern Language Association and the American Psychological Association citation styles.

Answer:

Identify the correct way to cite the Occupational Outlook Handbook's "How to Become a Dentist" web page. awser:C Explanation: How to Become a Dentist." Occupational Outlook Handbook. Bureau of Labor Statistics and US Department of Labor, 29 March 2012. Web. 1 May 2013.

Which of the following describes a recording scout's job in the music industry?

A) They are responsible for marketing and promotion.

B) They act as an editor for new recordings.

C) They are in charge of producing recordings.

D) They act as a manager for newly signed talent.

Answers

Answer:

They act as a manager for newly signed talent. D

Explanation:

Answer:

They act as a manager for newly signed talent.

Explanation:

hope this helps!

Why is computer called information processing maching???​

Answers

Since, the computer accepts raw data as input and converts into information by means of data processing, it is called information processing machine (IPM).

HOPE IT HELPS ❣️

Answer:

Since, the computer accepts raw data as input and converts into information by means of data processing, it is called information processing machine or IPM.

Explanation:

In which generation microprocessor was developed short answer of computer science​

Answers

Explanation:

in fourth generation microprocessor was developed.

may it helped u

causes of metallic salt​

Answers

They are made from compounds in the combustion product gases are chlorine, sulfur dioxide, and carbon dioxide. Usually for hair dye!

A folder has been shared with other users and set to read-only. What does this mean for users?
Users can only read the name of the shared folder.
Users cannot add new folders or files.
Users can read and edit files.
Users can add new files but not new folders.

Answers

Answer:

It means that users can only read or, depending on that platform, read and edit files in the folder

Write an application program in C++ to implement a class Fibonacci to print Fibonacci series upto N using member function series() .

Answers

Answer:

Program approach:-

Using the header file.Using the standard namespace I/O.Define the main function.Display the number of terms.Display the Fibonacci series.Print the first two numbers.

Explanation:

Program:-

//header file

#include <iostream>

//using namespace

using namespace std;

//main function

int main() {

   int n, s1 = 0, s2 = 1, nextTerm = 0;

//display the number of terms

   cout << "Enter the number of terms: ";

   cin >> n;

//display the Fibonacci series

   cout << "Fibonacci Series: ";

   for (int j = 1; j <= n; ++j) {

       // Prints the first two terms.

       if(j == 1) {

           cout << s1 << ", ";

           continue;

       }

       if(j == 2) {

           cout << s2 << ", ";

           continue;

       }

       nextTerm = s1 + s2;

       s1 = s2;

       s2 = nextTerm;

       

       cout << nextTerm << ", ";

   }

Mencione algunos ejemplos en donde sean utilizadas las máquinas de aire comprimido. Justifique su respuesta.

Answers

Answer:

Los ejemplos en los que se utilizan máquinas de aire comprimido incluyen

Donde se utilizan máquinas de aire comprimido incluye;

1) Compresor de aire, que es un dispositivo que utiliza energía mecánica para almacenar aire a presión, como

i) Aire obtenido en una gasolinera

ii) Aire presurizado utilizado para bombear neumáticos con una bomba de bicicleta manual

2) Equipo de ejercicio neumático, que previene ligeramente el movimiento mediante el uso de cilindros llenos de aire

Los ejemplos incluyen máquinas de entrenamiento de resistencia y máquinas de entrenamiento elípticas.

3) Instrumentos musicales neumáticos que producen sonido debido al movimiento del aire en las tuberías. El ejemplo incluye el órgano de tubos

4) Algunas madres lactantes utilizan máquinas neumáticas en los extractores de leche para proporcionar leche materna almacenada a los bebés que el niño puede tomar mientras la madre no está

5) Se conecta una pistola de aire a una fuente o máquina de aire comprimido para proporcionar aire presurizado cuando sea necesario

Explanation:

Why did Stephen Hawking stop playing hide and seek?

Answers

Answer:

because she keeps using a metal detector.

Okay, guys, I know this one will be very hard however while trying to finish this assignment I got overwhelmed and lost by the sheer size of it! Alrighty! Here are the instructions:
/////////////////////////////////////////////////////////////
Modify the TaxReturn class with fields that hold a taxpayer’s Social Security number (snn), last name (last), first name (first), street address (address), city (city), state (state), zip code (zipCode), annual income (income), marital status (status), and tax liability (tax). Include a constructor that requires arguments that provide values for all the fields other than the tax liability. The constructor calculates the tax liability based on annual income and the percentages in the following table.

Income Single Married
0 - 20,000 15% 14%
20,001 - 50,000 22% 20%
50,001+ 30% 28%

In the TaxReturn class, also include a display method that displays all the TaxReturn data.

Implement the PrepareTax application that prompts a user for the data needed to create a TaxReturn. Continue to prompt the user for data as long as any of the following are true:

• The Social Security number is not in the correct format, with digits and dashes in the appropriate positions—for example, 999-99-9999.

• The zip code is not five digits.

• The marital status does not begin with one of the following: S, s, M, or m.

• The annual income is negative.

After all the input data is correct, create a TaxReturn object and then display its values.

An example of the program is shown below:

Enter your Social Security number
999-99-9999
Enter your first name
Jane
Enter your last name
Doe
Enter your address
1961 Mulberry Street
Enter your city
Springfield
Enter your state
Massachusetts
Enter your Zip code
01101
Enter marital status
Single
Enter your annual income
20000
Taxpayer ssn: 999-99-9999 Jane Doe
1961 Mulberry Street
Springfield, Massachusetts 01101
Marital status: S
Income: $20000.0 Tax: $3000.0
////////////////////////////////////////////////////////////////
I also want to point out that this assignment has two different files with one being PrepareTax.java and the other being ReturnTax.java!

Answers

Enter your information ℹ️

TaxReturn.java: Pt. 3

// Write your code here

}

public void display() {

System.out.println("Taxpayer ssn: " + ssn + " " + first + " " + last + "\n" +

address + "\n" + city + ", " + state + " " + zipCode +

"\n Marital status: " + status + "\n" +

"Income: $" + income + " Tax: $" + tax);

What is program?

A computer can run multiple programs simultaneously, and each program can be in a different state. There are three states a program can be in: running, blocked, and ready. If a program is running, it means that it is currently using the computer's resources, such as the processor, memory, and I/O devices, to perform its tasks.

On the other hand, if a program is blocked, it means that it is waiting for a resource to become available, such as a file, network connection, or input from the user. In the scenario you mentioned, "Program A" is in the running state, meaning it is actively using the computer's resources.

Therefore, Program B" is in the blocked state, meaning it is waiting for a resource to become available so it can continue to run.

Learn more about program on:

brainly.com/question/30613605

#SPJ3

Given a string, an integer position, and a character, all on separate lines, find the character of the string in that position and replace it with the character read. Then, output the result.

Ex: If the input is:

warn

0

e

the output is:

earn

Note: Using a pre-defined string function, the solution can be just one line of code.​

Answers

Answer:

The program in Python is as follows:

myStr = input()

pos = int(input())

chrr = input()

myList=[]

myList[:0]=myStr

myList[pos] = chrr

myStr =""

for i in myList:

   myStr+=i

print(myStr)

Explanation:

This gets input for the string

myStr = input()

This gets input for the character position

pos = int(input())

This gets input for the incoming character

chrr = input()

Create an empty list

myList=[]

Convert the string to a list

myList[:0]=myStr

Replace the character

myList[pos] = chrr

Empty the string

myStr =""

Get the new string

for i in myList:

   myStr+=i

Print the new string

print(myStr)

Following are the C++ program to replace the first index value of the string.

Program Explanation:

Defining header file.Defining the main method.Inside the main method three variable "Sval, Spos, Subchar" is declared in which "string, int, and char".After input variable value a string variable is declared with the at (method), which replaces the first index value with the character value.After replacing the first index value that is "0" use the prints method that prints its value.

Program:

#include <iostream>//header file

#include <string>//header file

using namespace std;

int main() //main method

{

 string Sval;//defining string variable

 int Spos;//defining integer variable

 char Subchar;//defining char variable

 cin>>Sval>>Spos>> Schar;//input value

 Sval.at(Spos)  =  Subchar; //using string variable that replaces the first index value with the character value

 cout << Sval << endl;//printing the replaced value

 return 0;

}

Output:

Please find the attached file.

Learn more:

brainly.com/question/24494143

Telemedicine is the use of medical information exchanged from one site
to another via:
A.Written communication
B.Verbal communication
C.Print communication
D.Electronic communication

Answers

Answer:

D. Electronic communication

Explanation:

Telemedicine is the term given to the method of distributing the services and information related to the health through the means of electronic communication. This practice helps patients in the remote areas or geographically far areas to reach to the medical sources. The patients can get assistance and in touch with the doctors through video-conferencing or telephonic means.

Phishing is ____________. When hackers overwhelm a website with too many requests. A network of private computers infected with malicious software and controlled as a group without the owners' knowledge. A piece of code that is capable of copying itself and typically has a detrimental effect, such as corrupting the system or destroying data. Emails designed to trick users into sharing private information.

Answers

Answer:

Emails designed to trick users into sharing private information.

Explanation:

if that is a multiple choice question and the other sentences is the answer choices.

decimal numbers is equivalent to binary 110

Answers

Answer:

yes it is

Explanation:

binary number is 1101110

Select the four bad password ideas.

A) lists of numbers in order, such as 1234

B) your name or your child's name

C) the word "password"

D) an inside joke you have with yourself

E) the name of the website

F) strings of random numbers

Answers

Answer:

the word "password", the name of the website, lists of numbers in order, such as 1234, your name or your child's name

Answer:

A,C,E,B

Explanation:

list the importance and impacts of computer in our life . please help me ​

Answers

Answer:

- It has greatly helped our work efficiency

- It makes the work easier and more convenient

- Communication is also made possible through computers

You have typed the characters 3rd. Which of the following formatting features should be used to format the 'rd'?

1. superscript
2. Highlight
3. Sub script
4. Italics

Answers

Answer:

1. Superscript

3rd written as 3ʳᵈ

Explanation:

A superscript is a number, figure, symbol, or indicator that is smaller than the normal line of type and is set slightly above it.

Select the text or number you want.

Steps to apply superscript

1. Select the text or number you want

2. Go to Home and select Superscript X²

3rd written as 3ʳᵈ

The same rule applies to

9th written as 9ᵗʰ

Which statement best describes an advantage of using the Subtotal dialog box?

Only one function, Add, can be used to combine data quickly.
Data from multiple workbooks can be combined in a single step.
An option is available that can customize any function available in Excel.
Data can be summarized using a single step rather than by writing multiple formulas.

Answers

Answer: Data from multiple workbooks can be combined in a single step.

Explanation:

The Subtotal command allows the creation of groups automatically and common functions such as COUNT, SUM, and AVERAGE are used in the summarizing of data.

An advantage of using the Subtotal dialog box is that data from multiple workbooks can be combined in a single step. Therefore, the correct option is B.

A spreadsheet contains the maximum weight and maximum height for fifty dog breeds. The breeds are located in rows, and the weights and heights are listed in columns. Emily needs to determine the maximum weight of the dog breed in row 43. Which tool could she use to quickly navigate to the information?

Answers

Answer:

a. Locate

Explanation:

Question options (obtained on the net):

a. Locate

b. Sort

c. Filter

d. Replace

Explanation:

The largest value of the weights of the dog breed in row 43 is the maximum weight of the dog breed in the row

The 'MAX' formula or the 'Autosum' tool can be used to give the largest value in a row, or column

To locate the maximum value in MS Excel, the ADDRESS and MATCH and MAX functions are combined and entered into the blank cell on the right, specifying the same range for the MAX and MATCH functions, and a '0' for the MATCH function as well as a '1' for the ADDRESS function as follows;

=ADDRESS(MATCH(MAX(A1:E1), A1:E1, 0), 1)

Therefore, to navigate to the maximum weight, Emily should use a locate(ing) tool navigate to the information on the spread sheet

Answer:

A. Locate

Explanation:

E2020!

Explain the effects of disposing electronic equipments to the environment ​

Answers

Answer:

When electronics are improperly disposed and end up in landfills, toxic chemicals are released, impacting the earth's air, soil, water and ultimately, human health.

Why does brainly always say, "We're sorry, but we are not able to complete your registration at this time"?! Now I cant view any answers to any questions!

Answers

Answer and Explanation:

It's very likely a network issue. You could do a hard refresh on your browser or brainly app. Simply clear your application's cache or your browser data or cache and then try again. You could also try re-installing your app. If this doesn't work, please reach out to the Brainly customer support team for help.

When visiting or learning about other places, what new things have you experienced? Choose all that apply.
food and drink
music and art
languages
values and ideas
technology

Answers

This is a question that’s has no wrong or right answer, basically you just click whatever you’ve experienced.

Answer:

All of these answers

Explanation:

During the design phase, development teams translate the requirements into?

Answers

A design for the software application
Other Questions
Consider the reaction between solid C and O2 gas which makes CO2;C+02 -> CO2If we have a 14 L container of O2 gas at a pressure of 3.0 atm and a temperature of 298 K and we add 36 g of solid C to thecontainer, then how many grams of CO2 will be produced by this reaction? If I = -1 then i2 = Find the median of 3,4,6,2,2,9,2,10 Find the original length if the map length is of 5cm and whose map ratio is 1:10000.Use the hint: map ratio = map length: ground length A cylindrical container has a diameter of 14 cm and a height of 10 cm, asshown in the diagram. What is the volume of this container to the nearesttenth of a cubic centimeter?*14cm10cm1539.46157.5490.0219.9 The energy wasted in using a machine is 600j. if the machine is 70% efficient. calculate the volume of water pumb by the machine through a height of 15m. if i had known that you were in hospital, I ( visit)........ you A 200 L of gas contained in a vessel under a pressure of 850 atm. What will be the new volume if the gas is changed to 1000 atm? What is the area? Round to the nearest tenth please help asap find x Do you have a recommendation on any good dishes I need help on this A theater has 56 rows of seats. If there are 13 seats in the first row, 18 in the second row, 23 in thethird row. How many seats are there in total? Show explain all work. A new car is purchased for 18,000 dollars. The value of the car depreciates at 11.5% per year. What will the value of the car be, to the nearest cent, after 10 years? Use the simulation to compare the masses of the three colored and unlabeled weights of different sizes. To do so, set the spring constant of both springs to the same value. Hang known weights on the left spring and an unknown weight on the right spring, and compare the two. Use as many known weights as necessary to determine the unknown masses, and then place each into the appropriate mass bins in the ranking task below. A. M 250 g1. Blue medium sized weight2. Magenta small sized weight3. Gold large sized weight Chang used a coordinate plane to show where his posters are displayed on his bedroom wall. Three posters are located at E(5, 3), F(4, 3), and G(4, 5). Use absolute values of coordinates to find the distances between points E and F, and between points G and F. Enter your answers in the boxes. EF = units GF = units Anybody ?? i need help with this one bad and i put anything for right now pls can someone at least help me or give me the answer it will be a great thing 1. What is the volume of 4.00g of aluminum at STP? A bag of candy has equal numbers of candies in eight colors: blue, red,brown, green, yellow, orange, pink, and black. If you eat them one by one,what's the probability of getting your first red candy on or before the fifthpick? Data have been collected from College of Business graduates on their monthly starting salaries. The graduates include students majoring in management, finance, accounting, information systems, and marketing. Create a PivotTable in Excel to display the number of graduates in each major and the average monthly starting salary for students in each major.Major Monthy SalaryManagement 3330Management 2700Finance 3155Accounting 3855Info Systems 4220Accounting 3110Accounting 3880a. Which major has the greatest number of graduates?b. Which major has the highest average starting monthly salary?c. Use the PivotTable to determine the major of the student with the highest overall starting monthly salary. What is the major of the student with the lowest overall starting monthly salary?