Answer:
//here is code in c++.
#include <bits/stdc++.h>
using namespace std;
int main()
{
// variable
int temp;
cout<<"Please enter the temperature:";
//read temperature from user
cin>>temp;
int n;
// reduce the case for switch
n=temp/10;
// print output according to the switch case
switch (n) {
case 7:
case 6:
cout<<"tennis"<<endl;
break;
case 5:
case 4:
cout<<"golf"<<endl;
break;
default:
if(temp>=80)
cout<<"swimming"<<endl;
else
cout<<"skiing"<<endl;
break;
}
return 0;
}
Explanation:
Read the value of temperature from user and assign it to variable "temp".
Calculate n=temp/10, to limit the number of cases in the switch statement.
if temperature is greater or equal 60 & less than 80, it will print "tennis".
If temperature is greater or equal 40 & less than 60, it will print "golf".
in default case, if temperature is greater than 80, it will print "swimming".
if less than 40, print "skiing".
Output:
Please enter the temperature::67
tennis
Answer:
A
Explanation:
var3 is happy + birthday, ×2
l.e happy birthday happy birthday
Answer:
d. expert system
Explanation:
Among the types of systems that support the decision-making process, the following are identical:
Decision Support Systems (DSS: Decision Support Systems)
Support decision making by generating and systematically evaluating different alternatives or decision scenarios.
A DSS does not solve problems, since it only supports the decision-making process. The responsibility of making a decision, of adopting and making it is the responsibility of the administrators, not of the DSS. It can be used to obtain information that reveals the key elements of the problems and the relationships between them. It can also be used to identify, create and communicate available courses of action and decision alternatives.
Support Systems for Group Decision Making (Group Decision Support Systems). They cover the objective of achieving the participation of a group of people during decision-making in anonymous and consensus environments, supporting simultaneous decisions.
Expert Support Systems for Decision Making (DEss: Expert Decision Supprt Systems). They allow to load knowledge bases that are integrated by a series of common sense rules so that different users consult them, support decision making, training.