Answer:
num = int(input("enter a number:"))
print(num * 8)
Explanation:
num is just a variable could be named anything you want.
if code was like this num = input("enter a number:")
and do a print(num * 8)
we get an error because whatever the user puts in input comes out a string.
we cast int() around our input() function to convert from string to integer.
therefore: num = int(input("enter a number:"))
will allow us to do print(num * 8)
It effects it until it is refilled to its normal amount
The digital libraries address the problem of digital exclusion by: They reach out to people who need technology and help teach them digital literacy skills.
<h3>What does it mean to be digitally excluded?</h3>
The digital exclusion is known to be also as digital divide and this is known to be where a part of the population is known to possess a continuous and unequal access and capacity in regards to the use Information and Communications Technologies (ICT),
Note that IT are very essential for all to be fully participated in the society and the digital libraries address the problem of digital exclusion by: They reach out to people who need technology and help teach them digital literacy skills.
Learn more about digital exclusion from
brainly.com/question/7478471
#SPJ1
OR! Because one OR the other (or both, as this is not an exclusive or) needs to be present in the search result.
Answer:
// code in C++.
#include <bits/stdc++.h>
using namespace std;
// main function
int main()
{
// variables
int length=10,height=7,width=5;
// find the volume of
int vol=length*height*width;
// find the surface area
int sa=2*(length*width+length*height+height*width);
// find the perimeter
int peri=4*(length+width+height);
// print the volume
cout<<"Volume is: "<<vol<<" cm^3."<<endl;
// print the surface area
cout<<"Surface area is: "<<sa<<" cm^2."<<endl;
// print the perimeter
cout<<"Perimeter is: "<<peri<<" cm."<<endl;
return 0;
}
Explanation:
Declare and initialize length=10, width=5 and height=7.calculate volume by multiply length, width and height and assign to variable "vol".Then find the surface area as 2*(length*width+length*height+height*width) and assign it to variable "sa".Then find the perimeter as 4*(length+width+height) and assign to variable "peri". Print the volume, perimeter and surface area.
Output:
Volume is: 350 cm^3.
Surface area is: 310 cm^2.
Perimeter is: 88 cm.