Answer:
This statement is correct.
Explanation:
If a function does not have any parameters, then we can create the variable inside the function which will be private and call the function from the main function.
If we specify any return type like int, float or char, etc then we need to declare a return value from the function.
But If we specify the Void then we don't need to return value inside the function, we can directly print the value inside function.
Ex.
void add()
{
int a=7;
int b=9;
int c=a+b;
System.out.println("the added value is :"+c);
}
Merge Formatting because you are merging the format of the document you copied from. So basically you are moving the format over.
Answer:
The solution code is written in Python
d = 1.5 + random.random() * 6
Explanation:
By presuming the Python random module is imported, we can use the <em>random</em> method to generate a random number. <em>random.random()</em> will give us a value in the range [0, 1). The ensure the lower limit is 1.5 instead of 0, we can add 1.5 to random.random()
This expression will give any value in range [1.5, 2.5)
To ensure the upper limit is set to 7.5, we tweak the previous expression to
- 1.5 + random.random() * 6
This expression will always multiply a random number from [0,1) with 6 and then only added with 1.5. This will always produce a random number that fulfill the inequality 1.5 ≤ d < 7.5
Answer:
Hey mate here is your answer
Civil engineering structures
Civil structural engineering includes all structural engineering related to the built environment. It includes: Bridges. Dams.
So, Civil Structural engineering
please mark me as a brainliest