Answer:
int main() {
int n;
cout<<"Enter the integer n"<<endl;
cin>>n;
if(n<1 || n>10)
{
while(n>10 || n<1)//taking input if the number is not within range..
{
cout<<"Enter the number again"<<endl;
cin>>n;
}
activity(n);//calling activity with the n..
}
return 0;
}
Explanation:
Above written is the main function in which a prompting an integer between 1 and 10 if it is not within range then again taking input.Then after that calling activity with n as argument.
The problem domain layer addresses how the software will execute on specific computers and networks.
A problem domain is a software engineering term that refers to all information that defines a problem and compels the solution.
A problem domain basically looks at only the area you are interested in and excludes the rest. It includes the goals the problem owner wishes to have and the context in which the problem exists. For example, if you are creating a website for selling artwork online, the problem domain will be artwork and eCommerce.
Therefore, in order to identify a problem domain, you need to know the relevant user requirements. This can be easy when you start by finding out what people (users) think the problem is.
#SPJ4
Answer:
improving the current process before automating it
Option B
Blog is the best way
Answer:
Answered below
Explanation:
//Program is written in Java programming language
Class RegularPolygon{
int sides = 0;
int length = 0;
}
public void randomize(RegularPolygon polygon){
int randomSides = (int) 10 + (Math.random() * 20);
double randomLength = 5 + (Math.random() * 11);
polygon.sides = randomSides;
polygon.length = randomLength;
}