Answer:
a=input("Amount in pennies")
b=int(a)
dollars=0
dimes= 0
quarters=0
nickels=0
pennies = 0
dollars = int(b/100)
b= b- dollars *100
quarters=int(b/25)
b=b-quarters*25
dimes = int(b/10)
b = b -dimes*10
nickels=int(b/5)
b=b - nickels * 5
pennies = b
print(dollars)
print(dimes)
print(nickels)
print(pennies)
Explanation:
The required program is in answer section. Note, the amount is entered in pennies.
Answer:
Runtime error probably. The program won't make it past the while loop in the code.
<h2>Many properties can be listed out viz. durability, quality, the sound that it produces also depends on the material that is used, etc.</h2>
Explanation:
1. If you take wood then I would say maple, rosewood, cedar, walnut can be used to make "String instruments".
Reason:
The wood that we choose should be perfect and should give long-life to use the instrument.
2. If we consider about strings, then I would suggest that the material that you choose should be "ductile and hard".
Reason:
Thin wires can be drawn.
3. In case of Brass, it should be "malleable metal", so that the outcome of the instrument will satisfy the need.
Answer:
Yes, overloading is one of the methods which are popular in programming language. Overloading basically refers to the same function but different signature called function overloading or method overloading. It is the ability to define the multiples method by using the single identifier.
The overloading is important because it has the ability to design the multiple method by using similar name. It also provide the high flexibility to the programmers to call the same method in the data. overloading basically provide the high clarity in the code.
Overloading is used to achieved the compile time polymorphism.
Following are program of function overloading in c++ are:
Class abc // creating class
{
public:
int p;
void fun() // function fun with no parameter/
{
cout<<” hello “;
}
void fun(int a) // function fun with parameter
{
p=a;
cout<<p;
}
};
int main() // main function
{
abc ob; // creating object
ob.fun();// print hello;
ob.fun(6);// print 6
return 0;
}
Explanation:
In this program the function fun() have same name but different signature in the main method we create the object of class abc i.e ob. ob.fun() this statement called the function with no parameter and ob.fun(6) this statement will called the function with integer parameter.
The answer would be
A.) Digital Marketing
The reason why B. is not the answer is because workplace safety in being in an actual area with others working, while social media could be anywhere, even at home. C. sounds like a reasonable answer but it is not due to the e-blasts part of the question. D. Teamwork means you are working with others, but being online could also mean that you are working alone.