Answer:
The program is as follows:
#include <iostream>
#include <iomanip>
using namespace std;
int main(){
int num1, num2, num3;
cin>>num1>>num2>>num3;
cout << fixed << setprecision(2);
cout<<(num1 + num2 + num3)/3<<" ";
cout<<num1 * num2 * num3<<" ";
return 0;
}
Explanation:
This declares three integer variables
int num1, num2, num3;
This gets input for the three integers
cin>>num1>>num2>>num3;
This is used to set the precision to 2
cout << fixed << setprecision(2);
This prints the average
cout<<(num1 + num2 + num3)/3<<" ";
This prints the product
cout<<num1 * num2 * num3<<" ";
I think that A could be the correct answer. The others are not as credible as A.
I don't think any answer would be correct, if you have an option "none of the above" then that would be the correct answer
An unshielded cable are twisted pair is used to connect modem in telecommunication industry to connect computer through telephone cable, Ethernet cables it is called as UTP cables.
<u>Explanation:</u>
These UTP cables are twisted cables where conducted are used in form of single circuit.
These types of UTP cables used to connect modem to establish connection to other networks for internet or connecting to other side computer or desktop or laptops.
UTP cables uses rj-45 or rj-11 or rs232 or rs 499. Normally rs-45 with cat 5e cable is used to connect LAN. Rj-11 is used to connect to modem for dial purpose.
If we use ip networks RJ-45 will do both.
Answer:
By presuming the question expect us to write a program to address the problem and the solution code written in Python is as follow:
- beer_name = input("Enter beer name: ")
- abv = int(input("Enter ABV value: "))
-
- if(abv > 10):
- label = "Very High"
- elif(abv >=6):
- label = "High"
- elif(abv >=3):
- label = "Average"
- else:
- label = "Low"
-
- print("Beer Name: " + beer_name)
- print("ABV value: " + str(abv))
- print(label)
Explanation:
Firstly, we can use input function to prompt user to input beer name and ABV value (Line 1 - 2).
Next, create if else if statements to check abv fallen into which range of value and then set a label accordingly (Line 4 -11). For example if abv is 4, the label will be set to "Average".
At last, print the information of beer that includes beer name, abv value and label (Line 13 - 15).