Answer:
You can assign a value to a routine variable in any of the following ways:
Use a LET statement.
Use a SELECT INTO statement.
Use a CALL statement with a procedure that has a RETURNING clause.
Use an EXECUTE PROCEDURE INTO or EXECUTE FUNCTION INTO statement.
Explanation:
Answer:
"Case-Based Reasoning" is the answer for the above question.
Explanation:
- Case-Based Reasoning is a process of decision-making theory in which the new problems were solved based on the previously solved problem.
- It is used in artificial intelligence and robots. This helps to make any AI and robots to do the work and take decisions on its own.
- The theory is used to make any computer that behaves like humans. It can take decisions like a human.
- The above question asked about the method by which the new problem is solved on behalf of the old problem. Hence the answer is "Case-Based Reasoning".
Answer:
see explaination
Explanation:
#include <iostream>
#include <string>
using namespace std;
class Employee
{
string name;
int salary;
public: Employee()
{
}
Employee(string name, int salary)
{
this->name=name;
this->salary=salary;
}
void setName(string name)
{
this->name=name;
}
void setSalary(int sal)
{
this->salary=sal;
}
string getName()
{
return name;
}
int getSalary()
{
return salary;
}
void raiseSalary(int percentage)
{
if(percentage<0)
{
cout<<"Invalid percentage";
}
else
{
salary=salary+((float)percentage/100)*salary;
}
}
};
int main()
{
int percentage;
Employee e1("Satur",1000);
cout<<"Employee details are:";
cout<<e1.getName();
cout<<e1.getSalary();
cout<<"Enter the percentage raise";
cin>>percentage;
e1.raiseSalary(percentage);
cout<<"Raise in salary:";
cout<<e1.getSalary();
return 0;
}
Yes
Lenovo Group Limited is the world’s number 3 PC brand. It has gained the operating margins at the perfect levels. Lenovo has attained this steady growth and it expects to maintain or improve its gross margin in China operations now and in the future.