Answer:
Answer given below
Explanation:
a) 10 coins ( 25*8 + 1*2)
b) 14 coins (27*10 + 12*1 + 7*1 + 3*1 + 1*1)
<u></u>
<u>Source Code in C++:
</u>
#include <iostream>
using namespace std;
//main function
int main()
{
int n,n1;
cout << "Enter the amount : "; //taking amount as input
cin >> n;
if(n<=0)
{
cout << "Fatal Error : Input Failure." << endl;
return 1;
}
cout << "Enter the number of denominations : "; //taking number of denominations as input
cin >> n1;
if(n1<=0)
{
cout << "Fatal Error : Input Failure." << endl;
return 1;
}
int a[n1],c[n1],sum=0; //array to keep count of each amount, and sum to store total coins
cout << "Enter the denominations in descending order : ";
for(int i=0;i<n1;i++)
{
cin >> a[i];
}
for(int i=0;i<n1;i++)
{
c[i]=n/a[i];
sum=sum+c[i];
n=n%a[i];
}
for(int i=0;i<5;i++)
{
cout << a[i] << " : " << c[i] << endl;
}
return 0;
}
Answer: In discipline such as computer science, a sequence or a list is referred to as an abstract data type which tends to represent a countable no. of the ordered values, under which the same value or content may tend to occur or pops up more than once. Instance of any list is referred to as a computer representation or display of mathematical concept or notion of finite sequence or order.
The abstract data type needs to declare signature of an operations essential for any particular or specific data type. It does not tend to have an implementation.
Answer:
you asked a question so you must have fixed it
Explanation:
logic
URL, or Uniform Resource Location is typically referred to as a web address.
Answer:
intranet
Explanation:
An intranet is a private network that you can't access outside the physical boundary of an organization