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
ohaa [14]
2 years ago
12

WRITE A PROGRAM TO CALCULATE SIMPLE INTEREST

Computers and Technology
1 answer:
Alchen [17]2 years ago
7 0

The simple interset program is a sequential program, and does not require loops and conditions

The simple interset program in Python, where comments are used to explain each line is as follows:

#This gets input for the principal amount

P = int(input("P = "))

#This gets input for the rate

R = int(input("R = "))

#This gets input for the number of years

N = int(input("N = "))

#This calculates the simple interest

I = P * R * T * 0.01

#This prints the simple interest

print("Simple Interest =",I)

Read more about simple interest at:

brainly.com/question/2294792

You might be interested in
It's in Python, everything sort of explained in the image below,
sesenic [268]

To be able to write algorithms in pseudocode, one needs to learn the programming language.

<h3>How to write an algorithm in the pseudocode?</h3>

For writing the algorithms in a pseudocode, one must be able to understand the programming language, for which each of the steps shall be arranged properly in a sequential manner.

The instruction to be given to the code are to be written in uppercase, whereas lowercase is used for displaying the messages in the sentence. The command of input, is used for asking questions.

Hence, the ways to write an algorithm in a pseudocode is explained above.

Learn more about pseudocode here:

brainly.com/question/13208346

#SPJ1

7 0
3 years ago
___________allows you to see what the final web page will look like.​
sdas [7]

Answer:

date allow you to see what the final web

Explanation:

because data is common media of an

3 0
3 years ago
The following method is intended to remove all values from the ArrayList a that have the same value as val; however, this method
Alona [7]

Answer:

ArrayList a contains [2, 3, 3, 3, 4, 5, 3, 2, 1]

Explanation:

Given

The removeValue method

Required

The content of ArrayList a, after the method is called

From the question, we understand that arraylist a is:

a= [2, 3, 4, 3, 3, 4, 4, 5, 4, 3, 2, 1]

val =4

The function fails when the value to be removed appear consecutively in the list.

4 appears in index 5 and 6 of the list. Only one of the 4's will be removed

So, the updated list will be: [2, 3, 3, 3, 4, 5, 3, 2, 1]

6 0
3 years ago
What are possible consequences for cyberbullying?
MrRa [10]

Answer:

Victims of cyberbullying are more likely than their peers to abuse alcohol and drugs, have physical and emotional health issues, and may suffer from low self-esteem. Poor grades in school is another consequence of cyberbullying that can also be accompanied by an attempt by the victim to avoid other children by refusing to go to school.

Explanation:

8 0
3 years ago
Read 2 more answers
What is the function of a data bus
choli [55]

To gather data from its inputs

4 0
3 years ago
Other questions:
  • When you ____ a method, you write multiple methods with a shared name but different parameter lists?
    10·1 answer
  • What are the correct steps to find the system specifications such as the amount of ram or system type?
    14·2 answers
  • Which of the following is NOT a means of advertising on websites?
    12·2 answers
  • Using ________ data mining, the user usually begins by telling the data mining software to look and test for specific patterns a
    15·1 answer
  • In a period of steep increases in interest rates, which issuer is most likely to be negatively affected? A Trucking company B Ut
    9·2 answers
  • What is a word processor in ms word​
    9·2 answers
  • Which of the following statements is true? The Wireshark protocol analyzer has limited capabilities and is not considered multi-
    15·1 answer
  • Answer this pls ASAP
    11·1 answer
  • Pls help
    13·1 answer
  • Information should be________to ensure more than one source provides the same factual information. a. repeated c. cross-lined b.
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!