User asks you to develop a program that calculates and then prints interest earned on a bank
balance. Program should print interest earned for the same balance when interest is accumulated
annually, semiannually and quarterly.
Interest earned yearly-balance * rate /100
Interest earned semiannually balance*rate/2/100
Interest earned quarterly= balance*rate/4/100
for annual
for semi annual
for quarterly
00 is Current (1) times resistance (R)

Answers

Answer 1

The program that calculates and then prints interest earned on a bank balance is given below:

The Program

#include <bits/stdc++.h>

using namespace std;

int main()

{

   double principle = 10000, rate = 5, time = 2;

   /* Calculate compound interest */

   double A = principle * (pow((1 + rate / 100), time));

     double CI = A- principle;

   cout << "Compound interest is " << CI;

   return 0;

}

Read more about programming here:

https://brainly.com/question/23275071

#SPJ1


Related Questions

Two examples of a relation and their candidate key.

Answers

The two examples of relation and their candidate key are as follows:

STUD_NO in STUDENT relation.FAMIL_EARN in ECoNOMIC relation.

What is the Candidate key?

The candidate key may be defined as a particular kind of field in a relational database that can significantly recognize each unique record independently of any other data.

The candidate key remarkably illustrates the minimal set of ascribes that can uniquely identify given characteristics of the data. More than one candidate key takes place to represent a given set of data and information on the basis of some attributes.

Therefore, the two examples of relation and their candidate key are well described above.

To learn more about Candidate key, refer to the link:

https://brainly.com/question/13437797

#SPJ1

What is the difference between a reserved word and a user-defined identifier?

Answers

The difference between a reserved word and a user-defined identifier is that A reserved word is known to be the keyword that is often used in programming language that act  as the mark to a structure of a statement while the standard identifier is known to be the keyword that tells or defines a given type.

What is the difference between reserved words and user defined words?

Some use the word such as"keyword" and "reserved word" are known to be used a lot interchangeably, but  others differentiate its usage, by the use of "keyword" to connote a word that is unique if only in some certain cases but "reserved word" to connote  a unique word that cannot be used as a type of user-defined name.

Therefore, The difference between a reserved word and a user-defined identifier is that A reserved word is known to be the keyword that is often used in programming language that act  as the mark to a structure of a statement while the standard identifier is known to be the keyword that tells or defines a given type.

Learn more about reserved word from

https://brainly.com/question/17382861

#SPJ1

import java.util.Scanner;

public class MoneyConversion
{
// This program reads a monetary amount and computes the equivalent in bills and coins
public static void main (String[] args)
{
double total;
int tens, fives, ones, quarters, dimes, nickels;
int remainingCents;

Scanner scnr = new Scanner(System.in);

// Read in the monetary amount
total = scnr.nextDouble();

// Add the remaining code to finish out the program

}
}

Answers

Using the knowledge in computational language in JAVA it is possible to write a code that write a function cascade that takes a positive integer and prints a cascade of this integer

Writting the code:

import java.util.*;

public class ChangeTendered {

   public static void main(String[] args){

       Scanner scan = new Scanner(System.in);

       System.out.println("Enter the purchase price: ");

       double price = scan.nextDouble();

       System.out.println("Enter the amount payed: ");

       double ammountPayed = scan.nextDouble();

       double changeDue = ammountPayed - price;

       int dollars = (int)changeDue;

       System.out.println("Return"+ dollars+ "Dollars");

       scan.close();

   }

}

See more about JAVA at brainly.com/question/18502436

#SPJ1

If you forget your password for a website and you click [Forgot my password], sometimes the company sends you a new password by email but sometimes it sends you your old password by email. Compare these two cases in terms of vulnerability of the website owner.

If the site tells you what your password was, that means the site is storing your password rather than just a hash of it. This means that anyone who gains access to the site’s password database has access to all the passwords. If the site sends you a temporary password, there is a good chance it is not storing actual passwords, which is the correct approach from a security perspective.

Answers

I believe the first one is better but in regards to the two cases in terms of vulnerability of the website owner, one can say that when the owner to  the site is breached into, a lot of people's account will be breached into also and personal information stolen.

Why the above idea?

If a person is said to click forgot password button on a site, the  email that is said to have their old password will be sent a new Passwords from the website in question.

But this is one that is not often secure based on the fact that the system admins and programmers  will be seeing the  password.

On the  other hand, let say  the site sends a new password without carrying out any kind of proper validation and whoever that has asked  for the new password, the new password may fall into the hands of those who it is being sent to and this may be an intruder therefore, it is one that is also risking website owners and users as well.

Hence, I believe the first one is better but in regards to the two cases in terms of vulnerability of the website owner, one can say that when the owner to  the site is breached into, a lot of people's account will be breached into also and personal information stolen.

Learn more about System hack from

https://brainly.com/question/23294592
#SPJ1

why computer is now considered a commodity.

Answers

Answer:

Computers are considered commodities because they are relatively easy to produce and there is a lot of competition in the market. This means that prices are relatively low and there is not a lot of differentiation between products.

Explanation:

Hope this helps!


There is a surplus of scientific researchers for a vaccine. This means the demand for this career has
decreased
decreased then increased
O increased
O stayed the same
Please help, if you help good luck will come your way :)

Answers

There is a surplus of scientific researchers for a vaccine. This means the demand for this career has increased. Thus, option C is correct.

What is the vaccine?

A vaccination often comprises a substance that simulates a germ that causes the disease; this substance is frequently created from the bacteria's weaker or dead versions, its poisons, or another of its glycoprotein.

There are various successes of science researchers for a vaccine but vaccine, so the career demand would be to increase as the people will be the demand to find the new vaccine for the disease which is being gone on. Therefore, option C is the correct option.

Learn more about vaccine, here:

https://brainly.com/question/6683555

#SPJ1

define term processor​

Answers

The term processor may be defined as the part of the computer or any other electronic gadget that significantly to and process the fundamental instructions that drive the specific system.

What are the functions of the Processor?

The functions of the processor are as follows:

Input and insert the command which is required for the processing of data and instructions. Retrieving the output of the given instructions. Regulates the overall functions of the devices and systems.

According to the context of this question, the processor is important for any instrument which works on the input and delivers the output. For example, mobile phones, computer systems, DVD players, washing machines, etc.

Therefore, the definition of the term processor is well described above.

To learn more about Processors, refer to the link:

https://brainly.com/question/614196

#SPJ1

How many bits is needed to distinctly address 226KB in a byte addressable Memory?

Answers

To distinctly address 226kb in a byte addressable memory, one would need 8 bits.

What is an addressable memory?

Word addressing in computer architecture implies that addresses of memory on a computer authenticate words of memory.

In contrast to byte addressing, where addresses authenticate bytes, it is commonly employed.

What is the calculation justifying the above answer?

Given:

2⁸ = 256

and 226 < 256

Hence, we need 8 bit.

Learn more about addressable memory:
https://brainly.com/question/19635226
#SPJ1

# Your task is to modify the previous examples code to
# print out all the even numbers from 1 to N where N is
# an int from the user

Answers

Answer:

n = int(input('N: '))

for i in range(1, n + 1):

   if i % 2 == 0:

       print(i)

Which of the following is a reasonable capacity for a modern thumb drive? 10MB, 80Mb, 128GB, 8000Tb. Do an Internet search and think carefully about what these values mean. To get any credit you must provide a reason for your answer.

Answers

Answer:The reasonable capacity for a modern thumb drive is 128 GB.

Explanation:

Question 6 of 20:
Select the best answer for the question.
6. Harassment is a/an
O A. single
O B. repeated
O C. unsuccessful
O D. successful
attempt to harm a person.

Answers

Harassment is a repeated attempt to harm a person. Thus, the correct option for this question is B.

What is Harassment?

Harassment may be defined as derogatory actions or words that may significantly have a disrespectful nature with the intention to harm the feelings, emotions, and behaviors of others.

According to the question, harassment is not a single attempt, it may force numerous times in order to affect the native feelings and emotions of others. But the ultimate effect of this depends on personal understanding and dedication. If an individual is well-determined, the attempt made is unsuccessful.

Therefore, harassment is a repeated attempt to harm a person. Thus, the correct option for this question is B.

To learn more about Harassment, refer to the link:

https://brainly.com/question/12830365

#SPJ1

What is the difference between the output of these two statements?


print("email")
print(email)

A: One statement prints the word "email" in quotes, the other prints the word email without quotes

B: One statement prints the word email, the other prints the value of a variable named email

C: One statement prints out the word email, the other gets input and stores it in a variable named email

D: There is no difference, both statements print the word email

Answers

Answer:

B: One statement prints the word email, the other prints the value of a variable named email

Explanation:

This is because if you add quotation marks, it will be counted as a text output.

If there are no quotes, it would assume that it is a variable.

Please fill in the blank below.
The preferred resolution for any print project is
Input Answer
dpi.
Input Answer
0000
dpi, and the optimum resolution for a web project is
METRIY

Answers

The preferred resolution for any print project is 300 dpi, and the optimum resolution for web is 72 dpi.

What is a resolution?

A resolution can be defined as the number of pixels that are contained in an image (picture) or on a display monitor.

In Computer technology, resolution is typically expressed as a function of the number of pixels on both the horizontal axis and vertical axis. This ultimately implies that, the resolution of an image (picture) determines its quality and sharpness.

For any print project, the preferred resolution is typically 300 dpi, while the optimum resolution for web is typically 72 dpi.

Note: dpi is an abbreviation for dots per inch.

In this context, we can reasonably infer and logically deduce that the preferred resolution for any print project is 300 dots per inch (dpi), and the optimum resolution for web is 72 dots per inch (dpi).

Read more on resolution here: https://brainly.com/question/28182244

#SPJ1

Complete Question:

The preferred resolution for any print project is __________________ , and the optimum resolution for web is ___________________.

answer choices

300 dpi, 72 dpi

72 dpi, 300 dpi

What is it called when there is stored energy in the battery after an accident that has caused damage to the protective case or wiring harness?
A) Stranded energy
B) Explosive energy
C) Lost energy
D) Entrapped energy

Answers

B) Explosive energy is when there is stored energy in the battery after an accident that has caused damage to the protective case or wiring harness.

Is the energy stored when released may cause serious accidents or physical damage?

Stored energy are known to be any form of mechanical, gravitational, hydraulic that is known to be  energy stored in machines as well as in  equipment.

Stored energy hazards if released accidentally can cause serious injury.

Therefore, B) Explosive energy is when there is stored energy in the battery after an accident that has caused damage to the protective case or wiring harness.

Learn more about energy from

https://brainly.com/question/13881533

#SPJ1

Which of the following is an example of universal app?


a) taskbar
b) weather
c) snap

Answers

Please specify. An universal app is b) weather.

Which property is used to identify the origin of an igneous rock ?

Answers

it should be crystal size
Crystal Size

Explanation:

Question 6 of 10 What are three reasons teachers might choose to use Zoom to teach and communicate with students remotely? A. It is easy for teachers to see when students indicate they have a question. B. It has a screen-share feature that allows teachers to share their screen and whiteboard. C. It has a waiting room that allows teachers to send their students to a time-out area for misbehavior. D. It includes the ability to display the video feeds of all students in a session.​

Answers

Answer:

D

Explanation:

so the teacher can see everything they do and would not need to text their parents and moody of them are at home

Design a pseudo code that determines if a given number is even or odd number

Answers

0. Start
1. Print "Enter Any Number to Check, Even or Odd"
2. Read input of a number
3. If number mod = 0
4. Print "Number is Even"
5. Else
6. Print "Number is Odd"
7. End

The pseudocode determines if a given number is even or odd by checking if it's divisible by 2 and then prints the respective result.

Here's a simple pseudocode to determine if a given number is even or odd:

Input: number

Output: "Even" if the number is even, "Odd" if the number is odd

if number is divisible by 2 with no remainder then

   Print "Even"

else

   Print "Odd"

end if

This pseudocode checks whether the given number is divisible by 2. If it is, it prints "Even" since even numbers are divisible by 2. Otherwise, it prints "Odd" since odd numbers are not divisible by 2.

Learn more about pseudocode here:

https://brainly.com/question/17102236

#SPJ7

What's the biggest challengeWeb analytics can tell you many things about your online performance, but what can analytics tools not tell you?

A
What your customers are doing on your website
B
Where your customers have come from before visiting your website
C
Where your customers go after leaving your website
D
What your customers are looking for on your website for most businesses when going online?

Answers

Answer:

(C) Where your customers go after leaving your website

(Geometry: area of a triangle)
Write a C++ program that prompts the user to enter three points (x1, y1), (x2, y2), (x3, y3) of a triangle and displays its area.
The formula for computing the area of a triangle is:
s = (side1 + side2 + side3) / 2
area = square root of s(s - side1)(s - side2)(s - side3)

Sample Run:
Enter three points for a triangle: 1.5 -3.4 4.6 5 9.5 -3.4
The area of the triangle is 33.6

Answers

A C++ program that prompts the user to enter three points (x1, y1), (x2, y2), (x3, y3) of a triangle and displays its area is given below:

The C++ Code

//include headers

#include <bits/stdc++.h>

using namespace std;

//main function

int main() {

//variables to store coordinates

float x1,x2,y1,y2,x3,y3;

cout<<"Please Enter the coordinate of first point (x1,y1): ";

// reading coordinate of first point

cin>>x1>>y1;

cout<<"Please Enter the coordinate of second point (x2,y2): ";

// reading coordinate of second point

cin>>x2>>y2;

cout<<"Please Enter the coordinate of third point (x3,y3): ";

// reading coordinate of third point

cin>>x3>>y3;

//calculating area of the triangle

float area=abs((x1*(y2-y3)+x2*(y3-y1)+x3*(y1-y2))/2);

cout<<"area of the triangle:"<<area<<endl;

return 0;

}

Read more about C++ program here:

https://brainly.com/question/20339175
#SPJ1

Cleo is working in Excel and encounters a word that she would like Excel to ignore permanently for all workbooks. Which of the following options should she select?

Ignore Once
Ignore All
Add to Dictionary
AutoCorrect

ANSWER IS C Add to Dictionary

Answers

Answer:

ignore all

Explanation:

The answer is ignore all not add to dictionary

Answer:

C

Explanation:

its C dont listen to anyone else i got you

Students might earn either a Master of Arts (M.A.) or a Master of Science (M.S.) degree with an emphasis in digital communications in order to become a

Answers

Answer: Digital Communications Specialist

Explanation:

Took The Test Myself

Students might earn either a Master of Arts (M.A.) or a Master of Science (M.S.) degree with an emphasis in digital communications, in order to become a: Digital Communications Specialist.

What is a bachelor's degree?

A bachelor's degree can be defined as an academic degree that is formally awarded by a tertiary institution (university or college) to a student after the successful completion of his or her high school, and it usually takes about 4 or 5 years to complete a bachelor's degree.

What is a master's degree?

A master's degree can be defined as an academic degree that is formally awarded by a tertiary institution (university or college) to a student after the successful completion of his or her bachelor's degree programme.

In conclusion, students are required to earn either a Master of Arts (M.A.) or a Master of Science (M.S.) degree in digital communications, in order to become a Digital Communications Specialist.

Read more on Digital Communications Specialist here: https://brainly.com/question/27746922

#SPJ1

Write a program that prompts the user to input two POSITIVE numbers — a dividend (numerator) and a divisor (denominator). Your program should then divide the numerator by the denominator. Lastly, your program will add the quotient and the remainder together.

Answers

function divide(num, den, rem) { //Numerator, Denomenator, Remainder

 rem = Math.abs(num) % Math.abs(den)

 return rem

}

console.log(divide(13, 5)) // logs '3'

Math.abs() is a function to make the integer a positive integer so that negative integers cant be divided

'rem' gets the remainder

A(n) _______ _______ is a collective term for all the ways you interact with a software program.

Answers

Answer:

The user interface is a collective term for all the ways you interact with a software program. You can interact with a software program using a keyboard, a mouse, a touch screen, or a voice-activated assistant.

Explanation:

Hope this helps!

Explain the significance of Liteware in modern application development

Answers

Answer:

A set of rules which is made on the basis a number of observations done by user is called the principles of software development.j

The significance of Lite ware in modern application development is known to be important because it is said to be a group  of software applications or utility that is aid to be freely available to an end customers but has little capability when compared to full, paid version.

What does Liteware Mean?

Liteware is known to be a kind of software utility that has a more lowered form of functionality than when compared to a full as well as a paid version.

It is one that is said to be  freely distributed to end users and it also gives room for a lot of software developers as well as independent software vendors (ISV) to be able to make use of the lite version at no cost prior to their purchasing of the real software.

Therefore, The significance of Lite ware in modern application development is known to be important because it is said to be a group  of software applications or utility that is aid to be freely available to an end customers but has little capability when compared to full, paid version.

Learn more about modern application from

https://brainly.com/question/24518752

#SPJ1

Type the correct answer in the box. Spell all words correctly.

Ben is giving a presentation on digital media. Help him complete the following sentence.

The term digital media represents any media containing audio, video, and/or _______ content that are presented in a digital format.​

Answers

Answer:

The answer to the dash is "Audio-visual"

In the multi-tiered database architecture, is it possible for there to be no
database on a particular tier? If not, why?

Answers

Answer:

it is possible

Explanation:

When a copyright for work has expired the work is then said to be in the

Answers

Answer:

Public Domain

Explanation:

Came to me in a dream

Answer:

Public Domain. This means that the work is no longer under copyright protection and can be used by anyone.

Explanation:

Hope this helps!

Now let's build a calorie counter. The NHS recommends that
an adult male takes on board 2,500 calories per-day and an
adult woman takes on 2,000 calories per-day. Build your
program in python for a woman or a man.

Answers

The building of a program in python for a calorie intake per day by a woman or a man is represented as follows:

print("Your calorie counter")

calories = int(input("How many calories have you eaten today? "))

s=2000-calories

print("You can eat", s, "calories today")

What is Python programming?

Python programming may be characterized as a kind of high-level computer programming language that is often utilized in order to construct websites and software, automate tasks, and conduct data analysis.

There are various factors and characteristics of python programming. Each program is built based on specific attributes. They are strings (text), numbers (for integers), lists (flexible sequences), tuples, and dictionaries. The most important components are expression, statements, comments, conclusion, etc.

Therefore, the python programming for a calorie intake per day by a woman or a man is mentioned above.

To learn more about Python programming, refer to the link:

https://brainly.com/question/26497128

#SPJ1

Which tasks or activities should be included in an effective study schedule? Select four options

practice sessions for your debate club
your best friend’s birthday party
notes from class
what you will eat for breakfast
the entry deadline for the school science fair
your basketball tournament schedule

Answers

Answer:

Practice sessions for your debate club

Answer:

Explanation:

practice sessions

Other Questions
HELPPPPPPPP!!!!!!!!!!!!Consider the pebble that falls from the sky at the end of the story. What does this event symbolize in the real world?"He-y, Come On Ou-t"One day, atop the high steel frame of a new building under construction, a workman was taking a break. Above his head he heard a voice shout:Hey, come on out!But, in the sky to which he lifted his gaze there was nothing at all. A clear blue sky merely spread over all. He thought it must be his imagination. Then, as he resumed his former position, from the direction where the voice had come, a small pebble skimmed by him and fell on past.The man, however, was gazing in idle reverie at the citys skyline growing ever more beautiful, and he failed to notice. What is the iupac name of the following compound? a. (s)-2-bromo-2-vinylpentane b. (r)-2-bromo-2-vinylpentane c. (r)-3-bromo-3-methyl-1-hexene d. (s)-3-bromo-3-propyl-1-butene The dvvgggggggghhhhh Subtract 8y+7 from 4y-8 during a sales presentation, ursula, the salesperson, is unable to understand what her customer means by his last statement. what should she do to verify her customer's intent? the december 31, year 4, balance sheet for deen company showed total stockholders equity of $156,000. total stockholders equity increased by $65,000 between december 31, year 4, and december 31, year 5. during year 5, deen company acquired $20,000 cash from the issue of common stock. the company paid a $5,000 cash dividend to the stockholders during year 5. Read the excerpt from the passage. Gift of the Magi(10) On went her old brown jacket; on went her old brown hat. With a whirl of skirts and with the brilliant sparkle still in her eyes, she fluttered out the door and down the stairs to the street.How does the information in the excerpt develop a sense of mystery in the story?A. It reveals that Della has decided to leave her shabby apartment.B. It suggests that Della is about to do something of significance.C. It substantiates Dellas desire to make herself happy.D. It conveys that Della is leaving to meet someone important. What factors led to the American victory in theRevolution Based on this data which method should department use it as the most economic effective and time-saving solution for the problem of soil erosion Question 19When the reaction here goes in the backwards direction what is acting as the base?H3O+ PH3 PH4* + HO.OPH*O HOOPHO HO*1.5 p on a 1375-mile flight, an airplane's average speed is 550 miles per hour. the flight is within a single time zone and leaves at 10 am. What time will the airplane arrive at its destination A+0.400+m+acid+solution,+ha(aq),+has+a+percent+ionization+of+7.50%.+what+is+the+value+of+ka,+the+acid+ionization+constant+of+ha(aq)? Angus bank holds no excess reserves but complies with the reserve requirement. the required reserves ratio is:__________ The price of a good rises from $8 to $12, and the quantity demanded falls from 110 to 90 units. calculated with the midpoint method, the elasticity is? Match each electron configuration to the correct element. Use the periodic table to determine the number of electrons that each element has. Drag the tiles to the correct boxes to complete the pairs. Tiles [Kr] 5s2 4d10 5p2 1s2 2s2 2p6 3s2 3p5 1s2 2s2 2p6 3s2 3p6 4s2 3d10 [Ar] 4s2 3d6 What is one reason that a hotel owner might consider hiring a hotel management company? Summarize the story of William Tell. Use the plot outline.PLS HELP Given the function: f(x) = 2x-3/2x, find f(-4). What is 9 divided 2.43 what quality of a work of art describes its structure or shape? group of answer choices theme form melody harmony