Taking the input as a string, slicing it with a space as the delimiter, turning the divided portion into an integer, and then appending to the list.
<h3>
Explanation:</h3>
def selection_sort_descend_trace(numbers):
i=len(numbers)
print("Output: ")
for num in range(0,i-1):# traversing from 0 to N-2, total N-1 iterations
val=numbers[num]
start=num+1
end=i
t=0
for j in range(start,end):
if(val<numbers[j]):
remember=j
val=numbers[j]
t=1
if(t==1):# swaping onlf if greater number is available
temp=numbers[num]
numbers[num]=val
numbers[remember]=temp
for p in range(i):# printing
print(numbers[p],end=' ')
print("\n")
if __name__ == "__main__":
print("Enter the integers separated by space: ")
numbers=[int(x) for x in input().split(' ')]
selection_sort_descend_trace(numbers)
For further details about the explanation, click here:
brainly.com/question/15728245
#SPJ1
Meghan signs into zoom to attend a video call for her online class. She is using a SaaS cloud service.
What is cloud service?
A variety of services that are provided to businesses and customers on demand over the internet are referred to as "cloud services." With no internal infrastructure or hardware required, these services are intended to offer quick, economical access to resources and applications.
What is the main purpose of cloud services?
Access to computing resources and IT services should be simple and scalable, whether the cloud is private or public. The hardware and software elements necessary for the efficient use of a cloud computing architecture are included in cloud infrastructure.
What is a SaaS cloud service?
Using the software as a service (SaaS) paradigm, a cloud provider hosts programs and makes them accessible to customers online. The program will be hosted by a third-party cloud provider under this arrangement, which an independent software vendor (ISV) may agree to. Or the cloud provider may double as the software vendor for major organizations like Microsoft.
Learn more about cloud service: brainly.com/question/11014710
#SPJ4
Answer:
//C++ code for the cash register..
#include <iostream>
#include<vector> //including vector library
using namespace std;
int main() {
vector<float> cash; //declaring a vector of type float.
float item=2,cash_sum=0;
int counter=1;
while(item!=0)//inserting prices in the vector until user enters 0...
{
cout<<"Enter the price of item "<<counter<<" :"<<endl;
cin>>item;
counter++;
cash.push_back(item);//inserting element in the vector...
}
for(int i=0;i<cash.size();i++)//looping over the vector...
{
cash_sum+=cash[i];//summing each element..
}
cash_sum*=1.08;//adding 8% sales tax.
cout<<cash_sum;//printing the result....
return 0;
}
Explanation:
I have taken a vector of type float.
Inserting the price of each item in the vector until user enters 0.
Iterating over the vector for performing the sum operation.
Then after that adding 8% sales tax to the sum.
Printing the output at last.
The
nmap.org website
Nmap is an open source utility for security auditing and network
discovery. Many network admins also use it for networks inventory and
monitoring host or service uptime. It uses raw IP packets in novel ways to
determine what hosts are available on the network.
Answer:
Gramm-Leach-Bliley Act
Explanation:
Under the Gramm-Leach-Bliley Act, financial institutions must provide a privacy notice to each consumer that explains what data about the consumer is gathered, with whom that data is shared, how the data is used and how the data is protected.
The law stipulates that for any consumer with a financial institution, the financial institution should make provision of a privacy notice. This privacy notice outlines in explicit details the following; what data about the consumer is gathered, with whom that data is shared, how the data is used and how the data is protected.
This was done in order to protect the consumer right and the right of the financial institution.