Answer:
#include <iostream>
using namespace std;
int main()
{
int sum=0;//taking an integer variable to store the sum with initial value 0..
for(int i=1;i<=10;i++)//looping from 1 to 10..
{
sum+=i;//adding each i in the sum..
}
cout<<sum<<endl;//printing the sum..
return 0;
}
Explanation:
output :- 55
1.I have taken an integer variable sum which is equal to 0.
2.Looping over first ten positive integers.
3.Adding every number to sum.
4.Printing the sum.
I think
the hamming distance between the following bits its 5
<span>The answer your looking for is Wrap text!!</span>
Answer:
The answer is "Option A"
Explanation:
Following are the complete code to these question:
public class Arr//defining a class-Arr
{
public static void main(String[] args)//main method
{
int [][] numbers={{1, 2, 3},{4,5,6}}; //defining 2D array numbers
for(int[] row : numbers) //use for loop that holds all array value into 1D array
{
for (int n: row)//defining n variable that holds row array values
{
System.out.print (n); //print n variable value
}
}
}
}
The code comment explains its functioning.
The effectiveness of using thicker bags are:
- It has the lowest environmental impact in terms of any other disposable bag.
- It can be used three to six more times.
- It is environmentally sustainable.
<h3>What is the effect of thicker plastic bags have on the environment?</h3>
The use of plastic bags is known to have some form of detrimental effects on the such as animal choking, pollution, and others.
Conclusively, Note that thicker bags needs a lot of plastic to be able to produce it and it goes to waste even if a person do not use it again.
Learn more about environment from
brainly.com/question/17413226