Answer:
#include <iostream>
using namespace std;
int main ()
{
float number = 0.0;
float check = 45.6;
cout << "Enter Numeber";
cin >> number;
if (number > check)
{
cout << " Greater than 45.6" << endl;
}
else
{
cout << " Lesser than 45.6" << endl;
}
return 0;
}
Explanation:
declare and initialize float type variable number. Float is used to cater for decimal but not using to much space which is used by double data type. Check value is stored in other variable called check.
Take input from user in number and write an if statement to check whether entered number is less than 45.6 or greater.If number is lesser than check display message "Greater than 45.6" other wise display message "Lesser than 45.6"
The answer is increase cohesion. <span>Programmers should strive to increase cohesion. C</span>ohesion<span> points to the </span><span>degree to which the elements inside a module belong together. </span><span>In a highly </span>cohesive<span> system, code readability and reusability is </span>increased<span>, while complexity is kept manageable.</span>
Hi there!
The correct option is C. <span>there is a spelling mistake. The red wavy line indicates that a word was spelled incorrectly, sometimes though this function does not recognize the word it can mark it as incorrect even when it is not, in which case you can right-click the marked word and add it to your computer's internal word dictionary. Right-clicking an incorrectly spelled word will also give a short list of words that are similar to the one you are trying to spell, clicking on one of the given words will automatically change the marked word to the one you chose.
-Your friend, ASIAX</span>