You know that means if you use c++
you need to put something in this
#include<iostream>
using namespace std;
int what_ you_ want;
int main ()
{
cout<<"WHAT DO U WANT"; cin>>what_you_want;
if (what_you_want<1000)
and then use {, else, } return 0;
but it is good for c++
Answer:
There is logic problem in condition of elseif statement that is (time<20).
Explanation:
elseif(time<20) will be true for time<10 that means program will never greet good morning as to make logic correct either change condition from <em>elseif(time<20)</em> to <em>elseif(time<20&& time>=10)</em>. Or change the order of condition like check first for <em>elseif(time<10) </em>
solution 1
if (time < 6) { greeting = "It is too early!"; }
else if (time < 20 && time>=10) { greeting = "Good Day!"; }
else if (time < 10) { greeting = "Good Morning!"; }
else { greeting = "Good Evening!"; }
console.log(greeting);
solution 2
if (time < 6) { greeting = "It is too early!"; }
else if (time < 10) { greeting = "Good Morning!"; }
else if (time < 20 ) { greeting = "Good Day!"; }
else { greeting = "Good Evening!"; }
console.log(greeting);
Answer:
They are;
1. Error
2. Warning and
3. Information
Explanation:
Best Practices are the rules that must be followed to obtain the optimum results when configuring a server. Best Practices Analyzers are used to measure the degree of compliance with these rules. The three levels of severity for problems that can be detected by the BPA include;
1. Error: This is indicated when a role does not meet up with the standards of a Best Practices rule.
2. Warning: This is indicated when a rule is not obeyed or followed and leaving it uncorrected can result in problems for the system.
3. Information: This is indicated when a role meets up with the standards of a Best Practices rule.