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
Sveta_85 [38]
3 years ago
13

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 nee

ds to out the phrase Greater than 45.6
Computers and Technology
1 answer:
Elina [12.6K]3 years ago
4 0

Answer:

#include<stdio.h>                        //header file

int main()                                      //main function

{

float num;                                   // variable declaration

printf("Enter a number to test:\n");   // getting variable for test

scanf("%f", &num);

if (num>45.6)                                    //Testing weather greater or smaller

printf("\n %f is greater than 45.6", num);  // Result if greater

else

printf("\n %f is not greater than 45.6", num);  // Result if smaller or equal

return 0;

}

Explanation:

  • First of all , a variable will be declared in float (data type ).
  • User will input data in variable.
  • The variable will be compared using logical operator with 45.6
  • If it is greater, A phrase will be passed that number is greater than 45.6
  • Else if the number will not greater the phrase will say that the number is not greater than 45.6

You might be interested in
In order to communicate between devices inside a computer?
labwork [276]
Seems to be a CPU, central processing unit

Handles transactions between on-board memory, as well as I/O (input/output) devices.
4 0
3 years ago
In a ________ system configuration, separate information systems are designed and managed by each foreign unit.
jeyben [28]

Answer:

In a <u><em>decentralized</em></u> system configuration, separate information systems are designed and managed by each foreign unit.

Explanation:

hopes this help (:

4 0
2 years ago
what are some steps Hector could have taken to ensure that his photographs were not ruined near the end of the shoot?
galben [10]

Answer:

make several extra copies of the pictures and frame them right away if they're printed out.

Explanation:

3 0
2 years ago
When people take a image on their phone how can they copy the image into google docs.
fomenos
You mean when they screen shot it? 
5 0
4 years ago
Read 2 more answers
In the _____ phase of transferring data from a transactional database to a data warehouse, the builders create the files from tr
Kruka [31]

Answer: Extraction phase

Explanation: Transactional database is the data collection capable of undoing the transaction that has not been correctly done. Data warehouse id the place where transaction data is transmitted where different types of databases are stored.

The transmission of the information from transactional database to data warehouse is defined in the extraction phase.The extraction phase works by transforming the data into a particular format. It copes the transactional databases's data to the warehouse by making separate space for deposition of data

8 0
3 years ago
Other questions:
  • Why aren't the answers visible anymore? Thanks!
    8·2 answers
  • The outstanding disk requests are for tracks 6,10,4,20,36,8, and 40 in that order. Assume that the seek time speed is 5 msec/tra
    14·1 answer
  • Where is the bios in the soft ware or hard ware
    13·2 answers
  • By using ____, you can use reasonable, easy-to-remember names for methods and concentrate on their purpose rather than on memori
    6·1 answer
  • A grade of B is worth Grade points<br><br><br> A) 3.0<br> B) 80<br> C)2.0<br> D)4.0
    13·2 answers
  • How to calculate a pid controller
    8·1 answer
  • An organization has a datacenter that processes highly sensitive information and is staffed 24 hours a day. The datacenter inclu
    12·1 answer
  • The most common Unicode transformation formats are UTF- ______ and UTF-16.
    9·1 answer
  • Write its features:features of computer ​
    15·1 answer
  • You add a filter by condition, and set the condition to [weight]&gt;50. how will this affect your data?
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!