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"
Being extroverted
Problem-Solving
You can use photo art to help show a product or a certain piece of technology to help give a better idea of a product or thing you're trying to demonstrate to your class or people.
Answer:
Collision or electromagnetic interference (EMI)
Explanation:
Some network cables connected to switch or router ports are prone to internal collision (between two frames or packets) and external collision with electromagnetic waves from other sources (EMI).
Electromagnetic waves are also known as radio waves or signals. When they are transmitted, the network cable acts as a receiver, the received signal interferes with the packet in the cable. This is why the cyclic redundancy check (CRC) throws an error.
Answer:
Answer explained below
Explanation:
a. A country has a capital city.------------ aggregation(city is part of country)
b. A dining philosopher uses a fork. ----------- association(philosopher and fork are different entities)
c. A file is an ordinary file or a directory file. ------- generalization( both ordinary and directory files are having attributes of files)
d. Files contain records.--------- aggregation( records are part of File)
e. A polygon is composed of an ordered set of points. ----------- aggregation( points are parts of polygon)
f. A drawing object is text, a geometrical object, or a group. --------- generalization( text and geometrical objects are drawing object)
g. A person uses a computer language on a project. -------- aggregation( person and computer language are part of project)
h. Modems and keyboards are input/output devices. -------- aggregation( Modems and keyboards both are I/O devices)
i. Classes may have several attributes.------- aggregation( attributes are part of classes)
j. A person plays for a team in a certain year. ----------- aggregation(player is part of team)
k. A route connects two cities. --------- aggregation( route consists of two cities)
l. A student takes a course from a professor. ----------- association( student and course are separate entities)