Answer:
Step by step explanation along with code and output is provided below
Explanation:
#include<iostream>
using namespace std;
// print_seconds function that takes three input arguments hours, mints, and seconds. There are 60*60=3600 seconds in one hour and 60 seconds in a minute. Total seconds will be addition of these three
void print_seconds(int hours, int mints, int seconds)
{
int total_seconds= hours*3600 + mints*60 + seconds;
cout<<"Total seconds are: "<<total_seconds<<endl;
}
// test code
// user inputs hours, minutes and seconds and can also leave any of them by entering 0 that will not effect the program. Then function print_seconds is called to calculate and print the total seconds.
int main()
{
int h,m,s;
cout<<"enter hours if any or enter 0"<<endl;
cin>>h;
cout<<"enter mints if any or enter 0"<<endl;
cin>>m;
cout<<"enter seconds if any or enter 0"<<endl;
cin>>s;
print_seconds(h,m,s);
return 0;
}
Output:
enter hours if any or enter 0
2
enter mints if any or enter 0
25
enter seconds if any or enter 0
10
Total seconds are: 8710
Answer:
Hi
Explanation:
If you have a test, someone will help you! Also, welcome to B r a i n l y! Have fun!
From,
A hopeful new friend :)
The three things he needs to do to comply with the terms of the license are:
- Permit others to make derivatives of his Image.
- Acknowledge the source of his Image.
- License his image under identical terms as the illustration he uses.
<h3>What is the
Creative Commons Attribution-ShareAlike (CC BY-SA) license?</h3>
This type of license is one that allows the person who requires an image with said license to use it, even modify it so that the resulting image has the deserved attribution to the person who made the original image and that the resulting image has the same license as the original.
For these reasons, it is forbidden for an image resulting from another with the aforementioned license to be placed in an image bank under payment.
If you want to learn more about Creative Commons License, you can visit the following link: brainly.com/question/17496633
Answer:
Answered below
Explanation:
Coaxial cables weaknesses include; fluctuation of speed during heavy use, leaks at the point of connection and signal loss over long distances. Twisted pair cables are not durable enough and are susceptible to interference. Fibre optic cables are costly and need expertise to install.
Hacked or compromised routers can be infected with malwares that reroutes users to spam sites and also to ddos attacks.
Steps to protect cable networks include; network encryption, physical security, VPN usage, updating networks, auditing and mapping.