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
Romashka [77]
3 years ago
7

javascript Write a program to calculate the credit card balance after one year if a person only pays the minimum monthly payment

required by the credit card company each month.
Computers and Technology
1 answer:
Luda [366]3 years ago
7 0

Answer:

Explanation:

The following code is written in Javascript as requested and creates a function that takes in the total credit card debt amount and the minimum monthly payment. Then it calculates the new balance at the end of the year after paying 12 monthly minimum payments. Finally, printing out the new balance to the console which can be seen in the attached picture below.

let brainly = (debt, minimum) => {

   debt = debt - (minimum * 12);

   console.log("Credit Card Balance after one year: $" + debt);

}

brainly(50000, 3400);

You might be interested in
If a programming language does not use short-circuit evaluation, what is the output of the following code fragment if the value
miss Akunina [59]

Answer:

Run time error, no output. If myInt = 0 and other is 3, then 3%0 will never occur...apart from that, myInt was neither declared nor initialized

Explanation:

8 0
3 years ago
How could this code be simplified?
nikklg [1K]

The code to be simplified is not indicated but I will give you a general guide to simplifying Java codes.

<h3>How do you simplify Java Code?</h3>

  1. At the top, declare and initialize your variables. Late declaration disrupts readability.
  2. Create specific functions that are modular. It is inefficient to have functions that attempt to "do it all".
  3. Make it a practice to name the function to correspond to the task.
  4. All duplications must be removed and rectified
  5. Having comments provide a fantastic way to summarize the purpose of a code.
  6. Do not overuse recursion. Doing this makes it difficult to understand at a glance.
  7. If possible, do not use global variables. The local variable takes precedence over the global variable in JavaScript.

Learn more about Java code at;
brainly.com/question/18554491
#SPJ1

4 0
2 years ago
I need it ASAP, brainliest to whoever answers correctly!
velikii [3]

Answer:

E

Explanation:

i think it is E because if you think about it they don't make everything accurate on normal mapping its just to give you an idea of where to go or find.

6 0
3 years ago
The person or user associated in computer field is called​
marusya05 [52]

Explanation:

A computer programmer, sometimes called a software developer, a programmer or more recently a coder (especially in more informal contexts), is a person who creates computer software.

6 0
3 years ago
Read 2 more answers
Which for loop will iterate 100 times? Group of answer choices for (i = 0; i &lt; 99; i++) for (i = 1; i &lt; 99; i++) for (i =
cupoosta [38]

Answer:

for (i = 0; i < 100; i++);

Explanation:

8 0
3 years ago
Read 2 more answers
Other questions:
  • Which of the following refers to special eyeglasses from Google that provide the user with visual information directly in front
    5·1 answer
  • You can join tables by using a condition in the ____ clause.​
    7·1 answer
  • By default, power search will
    14·1 answer
  • What are the principal cybersecurity threats, both internal and external, and the principal safeguards that have been developed
    13·1 answer
  • Now suppose that the file is broken into 5 packets, each of 10 Mbits. Ignore headers that may be added to these packets. Also ig
    14·1 answer
  • What is the best explanation for why digital data is represented in computers in binary?
    10·1 answer
  • Consider a file currently consisting of 100 blocks. Assume that the file control block (and the index block, in the case of inde
    12·1 answer
  • To display data in a certain manner, like alphabetical order, is called
    5·2 answers
  • PLS HELP ASAP) Omar is using the web to do research on diabetes. he needs to ensure that all of the information he finds regardi
    7·1 answer
  • Slack how to enable direct message to outside workspace
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!