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
Explain the steps users can take to maintain an operating system
Mars2501 [29]

First is it to always clean out all the junk that is left behind by the operating system and the browsers. You can easily do this using the Disk Cleanup utility included on the windows systems. You can clean up the registry. However, you should be very careful with the registry. Any wrong move might mess up everything


Search and destroy viruses and malware on your PC by installing an anti-virus security program and setting up an automated maintenance schedule.


Defragment main and partitioned drives to keep your computer running smoothly.


Uninstall software programs and personal files like pictures, movies and music that are no longer in use to free up more space. The more the space, the faster the PC will go. You can also run the msconfig command in the RUN command prompt to uncheck start up programs that you do not use

4 0
3 years ago
Before hard disk drives were available, computer information was stored on:
kobusy [5.1K]
Floppy disks . is the answer
6 0
3 years ago
What game is this? help meee
olya-2409 [2.1K]

Answer:

I am guessing animal crossing

4 0
3 years ago
Read 2 more answers
How many bytes make one kilobyte?​
vesna_86 [32]

Answer:

1000 bytes in 1 kilobyte

Explanation:

Its just fax

8 0
3 years ago
Read 2 more answers
Which of the following may be a reason for giving a Page Quality (PQ) rating of Highest? Select all that apply.
vivado [14]
<h3>Answer:</h3>

Following are given answers to each reason:

  • The page could be Fully Meets for a particular query.   False
  • The page has no Ads.   True
  • The website has an excellent reputation from experts. True
  • The page has extremely high quality content and the author is an acknowledged expert in the topic.  True
<h3>Explanation:</h3>

Page Quality can be defined as a parameter which is considered by the GOOGLE to rank a page according to its worth. So it is a measurement tool that depicts the importance of a page by analyzing the quality of its content.

So there are many things that are counted in the quality of the web page by google raters. They also include that:

  • The page shouldn't has any Ads.  
  • The website should have an excellent reputation from experts.
  • The page should have extremely high quality content and the author must be acknowledged expert in the topic.

I hope it will help you!  

7 0
3 years ago
Other questions:
  • 1. What conversion factor should be used to convert from Gigaliters to liters?
    14·1 answer
  • Jake is preparing his resume. He is applying for the position of iOS application developer at a large software company. He wants
    6·1 answer
  • Who is involved in helping shape the emotional impact of a film? (Select all that apply.)
    8·2 answers
  • If a CPU receives theinstruction to multiply the byte-sized values $12 and $3E, thisaction will take place in the ______________
    13·1 answer
  • What does the word “Gacha” come from??????
    5·2 answers
  • What are the two ways to print a document?
    11·1 answer
  • When Russ opened a website on his browser, he saw an error that the site was not compatible with the browser version he was runn
    12·1 answer
  • Which of these is not a valid form<br>layout in Microsoft Access?​
    11·1 answer
  • Tell four permanent icons on the desktop​
    14·1 answer
  • How to be gud at Friday night funk
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!