Answer:
Following are the program in C++ language :
#include <iostream> // header file
using namespace std; // using namespace
int main() // main method
{
int amount,total=0; // two int variable declaration
cout<<" enter amount:";
cin>>amount; // read input amount first time
total=total+amount; // first calculation
cout<<" enter amount:";
cin>>amount; //read input amount second time
total=total+amount;// second calculation
cout<<" enter amount:";
cin>>amount;// read input amount third time
total=total+amount;// third calculation
cout<<"total:"<<total; // display total
return 0;
}
Output:
enter amount:12
enter amount:12
enter amount:12
total:36
Explanation:
Following are the explanation of program which is mention above
- Declared the two variable total and amount of int type .
- Initialize the variable total to "0".
- Read the 3 input in "amount" variable in one by one by using cin function and adding their value to the "total "variable .
- Finally display the total.
In a bubble sort, you use an inner loop to make pair comparisons.
Remote desktop is a technology that allows users to connect to a specific computer from a remote location as if they were sitting in front of it.
<h3>What is the desktop remote system?</h3>
A remote desktop is a program or an operating system feature that permits a user to connect to a computer in another location, see that computer's desktop and interact with it as if it were local.
<h3>What is Remote Desktop example?</h3>
A basic example of a Remote Desktop is securing your home laptop to your office PC so you can access files, run applications, print documents, etc. on that PC without going into the office.
However, the host machine does not have to be a PC. It is often a waitperson or virtual server environment in many business use cases.
To learn more about remote desktop, refer
brainly.com/question/4455143
#SPJ4
Answer: A. passive attacks
Explanation:
Passive attack is a type of attack where by a system is tracked and scanned to determine how vulnerable it is and to also detect open port. The major purpose of a passive attack on a network is to gain access to the information of the target without altering the data.
A passive attack on a network may not be necessarily malicious, it is a type of network attack that is very difficult to detect.
Methods of carrying out passive attacks.
•War driving: scanning of networks is carried out to detect Wi-Fi that are vulnerable.
•Dumpster driving: Attackers or intruders search for information from discarded computers and
other gadgets, those information can help to attack a network.
Answers:
What is the index of the last element in the array? stArr1.length()-1
This prints the names in order. How would I print every other value? Change line 4 to: index = index +2
Change line 7 to: i < names.length