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]
4 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]4 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
How do you put sound/music in Google classroom slideshow?
Svet_ta [14]
So, there's no actual way to insert music into your slides unless you use imovie. BUT, you can place a link in one of your slides to a particular song on spotify, and as you are presenting, you can click on the link, and it will open up spotify and play the song you selected. 

Okay so first, go ahead and open up your google slides presentation. 

Then find the specific slides you want to add music to. 

Select Insert from the menu, and then click on text box. Place the text box anywhere in your slide, and you can put some text in there to disguise the link, or you can just paste the link directly. 

TO GET THE LINK: 

Go to spotify.com 
Pick out the song you want to use.
Right click, and select "copy song link" 

Then paste that link in your text box you created! 
6 0
3 years ago
After merging two arrays is complete you need to
VikaD [51]

Answer: C) copy the merged array back to the original array

Explanation:

 After performing merging of two array then, copy the merge array back to its original array. Merging of two array is done by the process of merge sort. Merging of two array is the similar process of concatenate the two array into the single object.

It basically works on the principle of divide and conquer algorithm. It divide the input value into the two half and then, sorted the accordingly. Then after completion of merging the two array it copy into the original array.

5 0
3 years ago
We can use formatting before and after typing.​
Anika [276]

Answer:

i dont know but thanks for marks

8 0
3 years ago
Fill in the blank with the correct response.<br> A submenu in a text editor is indicated by a <br> .
igomit [66]

Answer:

triangle

Explanation:

7 0
3 years ago
Online transaction processing (OLTP) systems handle a company's routine ongoing business. In contrast, a data warehouse is typic
nataly862011 [7]

Online transaction processing (OLTP) systems handle a company's routine ongoing business. In contrast, a data warehouse is typically <u>a distinct system that provides storage for data that will be made use of in analysis.</u>

<u />

Explanation:

  • OLTP (Online Transactional Processing) is a category of data processing that is focused on transaction-oriented tasks. OLTP typically involves inserting, updating, and/or deleting small amounts of data in a database.
  • OLTP is an online database modifying system. OLAP is an online database query management system.
  • OLTP uses traditional DBMS. OLAP uses the data warehouse
  • OLTP mainly deals with large numbers of transactions by a large number of users
  • OLTP database systems are commonly used for order entry, financial transactions, customer relationship management and retail sales via the Internet.
  • Online Analytical Processing tools enable to analyze multidimensional data interactively from multiple perspectives.
5 0
3 years ago
Other questions:
  • Which cloud computing service model gives software developers access to multiple operating systems for testing?
    5·1 answer
  • One of the earliest uses of an electronic digital computer involved ________.
    8·1 answer
  • 1 MB equals to how many GBs? Or 1 GB = how many MBs? i want to know how many MBs equal a GB, or how many GBs equal a MB; i'm get
    13·1 answer
  • To mark all modifications made to the document, activate the
    10·2 answers
  • Examine the following algorithm.
    9·1 answer
  • Which best describes the purpose of LoJack on a computer
    14·1 answer
  • What the best option if you cant show your PowerPoint presentation at all
    6·2 answers
  • 30 POINTS!!
    15·1 answer
  • Define and use in your program the following functions to make your code more modular: convert_str_to_numeric_list - takes an in
    10·1 answer
  • True or false. A plug-in card is always required to support pc sound
    11·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!