1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
castortr0y [4]
3 years ago
10

Write a program to enter a number and test if it is greater than 45.6. If the number entered is greater than 45.6, the program n

eeds to output the phrase
Computers and Technology
1 answer:
WARRIOR [948]3 years ago
5 0

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"

You might be interested in
When you start a new blank document, you begin typing at the
Serhud [2]
C. The insertion poin
6 0
3 years ago
A _ shows the end of a page . ​
marta [7]

Answer:

page break shows the end of a page.

4 0
3 years ago
Read 2 more answers
Name two purposes of creating a microsoft account for use in visual studio 2015
Kazeer [188]
Creating a Microsoft account for use in Visual Studio 2015 means that you will get a better and optimized user experience, with several benefits.
Some of the purposes why you should create an account are:
1. free software, training and support from Visual Studio and broad range of benefits
2. synchronized Visual Studio Settings, which means that you will have for example the same layout, window and color theme, or whatever you select in the settings, every time you log in with your account


4 0
3 years ago
Shadow and highlight create depth (3D).<br> TRUE OR FALSE
tamaranim1 [39]

Answer:

true because then it would be like not popping out

7 0
3 years ago
Cybersecurity breaches in the workplace generally happen because _____. Select 3 options. people deliberately try to hack into t
Lady_Fox [76]

Cybersecurity breaches in the workplace generally happen because:

  • People deliberately try to hack into the network people.
  • People make unintentional mistakes.
  • People do not know about cybersecurity protocols

<h3>What are the three main causes of security breaches?</h3>

The major reasons for data breaches are:

  • Old, Unpatched Security Vulnerabilities.
  • Human Error
  • Malware, etc.

Therefore, Cybersecurity breaches in the workplace generally happen because:

  • People deliberately try to hack into the network people.
  • People make unintentional mistakes.
  • People do not know about cybersecurity protocols

Learn more about Cybersecurity from

brainly.com/question/12010892

#SPJ1

5 0
2 years ago
Other questions:
  • Launched in 1995, ________ has become the most popular web browser.
    6·1 answer
  • The rmdir command (with no options) can only remove empty directories <br> a. True <br> b. False
    14·1 answer
  • You may see the term FAQ on websites which stands for Frequently Asked Questions this is an example of which type of mnemonic?
    9·1 answer
  • Which type of computer operating system would be best for a large corporation?
    7·2 answers
  • How to get out of compatibility mode in word?
    15·1 answer
  • Saving a file as a new filename can be accomplished through the Save As dialog box.
    13·1 answer
  • I have a problem with Instagram.
    11·1 answer
  • What type of version of visual studio is the visual studio express
    8·1 answer
  • Use the drop-down menus to complete statements about audio file formats.
    10·1 answer
  • Which example illustrates the idea of "collecting data"?
    8·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!