Answer:
B- Workgroup model
Explanation:
A workgroup model can be defined as a process which enables system to be peer together in order to access the resources shared like files and printers at the same time.
In work group microsoft operating systems tend to share files, printers, and even Internet connection among them which is why work group is important especially in a place in which their are various computers with limited files and printer or internet connection.
Answer:
#include <stdio.h>
int main()
{
int userNum1;
int userNum2;
userNum1 = -1;
userNum2 = 7;
if (userNum1 < 0)
printf("userNum1 is negative. \n");
if(userNum2 > 9)
userNum2 = 0;
else
printf("userNum2 is less than or equal to 9.\n");
return 0;
}
Explanation:
Initialize userNum1 and userNum2.
If userNum1 is less than 0, print 'userNum1 is negative" and end with newline.
if userNum2 is greater than 9, assign 0 to userNum2.
Otherwise, print "userNum2 is less than or equal to 9 and end with newline.
<span>Business Name (default field), State (correct field)</span>
Answer:
Following are the program to this question:
#include <iostream>//defining header file
using namespace std;
int recurs(int x, int n)//defining a method recurs that accepts two parameter
{
if(n==0)//defining if block that checks n value
{
return 1;//return value 1
}
else//defining else block
{
return x*recurs(x,n-1);//use return keyword that retun value
}
}
int main()//defining main method
{
cout<<recurs(5,3); //use print method to call recurs method
return 0;
}
Output:
125
Explanation:
In the above-given program, the integer method "recurs" is declared which accepts, two integer variables, which are "x, n", inside the method the if conditional statement is used.
- In the if block, it checks the value of n is equal to "0" if this condition is true, it will return a value, that is 1.
- Otherwise, it will go to the else block, in this block, it will use the recursive method to print its value.