Answer:
Answer explained below
Explanation:
Below is the code for Greedy change algorithm in C++. Please let me know what does c ,k and represent in the question. so that i can update according to requirement
#include <bits/stdc++.h>
using namespace std;
int deno[] = { 1, 3,9,27,81 };
int n = sizeof(deno) / sizeof(deno[0]);
void findMin(int V)
{
// Initialize result
vector<int> ans;
// Traverse through all denomination
for (int i = n - 1; i >= 0; i--) {
// Find denominations
while (V >= deno[i]) {
V -= deno[i];
ans.push_back(deno[i]);
}
}
// Print result
for (int i = 0; i < ans.size(); i++)
cout << ans[i] << " ";
}
int main()
{
int n = 38;
cout << "Following is minimal number of change for " << n << ": ";
findMin(n);
return 0;
}
Answer:
Option C: is the correct answer.
<h2>Usability of a web page can be improved by using screen resolution that has flexible template that resizes a web page's components </h2>
Explanation:
- Most important thing that makes the web page attractive and improve its usability is the flexibility of the website.
- By making the web page flexible we mean that the web page should be responsive so that it adjust itself accordingly with the device it has opened on.
- Flexible web pages adapt the size of the window on which they are viewed by arranging all the content in a good manner.
- Special work is done on such websites by designers and developers.
I hope it will help you!
All of the given answers are correct. Whether their lights are on or not, if the truck is working along side the road to recover or load a vehicle, they are considered emergency vehicles.
Answer:
Digital Literacy is the correct answer to the given question .
Explanation:
Digital literacy is the ability of the person to that is giving reading communication, written communication and online learning by finding, analyzing the need for information of the person.
- The main objective of Digital literacy is to giving transparent information on various digital platforms .
- The digital literacy trained the children to increase the quality of the school work .
- The children, students who are trained by digital literacy has conserved the time and the effort.