Answer:
#include <iostream>//including iostream library to use functions such as cout and cin
using namespace std;
int main() {
int userInput = 0;
do
{
cout << "Enter a number < 100: " ;
cin >> userInput;
if (userInput < 100)//condition if number is less than 100
{
cout << "Your number < 100 is: " << userInput << endl;
}
} while (userInput > 100);//do while loop condition
return 0;
}
Explanation:
A do-while loop executes regardless in the first iteration. Once it has run through the first iteration, it checks if the condition is being met. If, the condition is TRUE, the loop begins the second iteration. If FALSE, the loop exits. In this case, the condition is the userInput. after the first iteration, lets say the userInput is 120, the condition userInput > 100 is true.Therefore, the loop will run again until eventually the number is less than hundred, lets say 25. In that case the condition would be 25 > 100, which would be false, so the loops will break.
Answer:
- Scenario
- Use case
- Scenarios
- Scenarios
- Use case
Explanation:
A <u>scenario</u> is an actual sequence of interactions (i.e., an instance) describing one specific situation; a <u>use case</u> is a general sequence of interactions (i.e., a class) describing all possible <u>scenarios</u> associated with a situation. <u>Scenarios</u> are used as examples and for clarifying details with the client. <u>Use cases</u> are used as complete descriptions to specify a user task or a set of related system features.
Answer:
False
Explanation:
True stress and strain are what are calculated by diving applied load by actual cross sectional area and change in length by length of specimen respectively. However, for engineering stress and strain, we use original area and original length. Generally, engineering Stress is always greater than the corresponding True Stress because the actual area increases due to Poisson's effect.