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
aliina [53]
3 years ago
13

Given a floating point variable fraction, write a statement that displays the value of fraction on the screen. Do not display an

ything else on the screen-- just the value of fraction.
Computers and Technology
1 answer:
emmainna [20.7K]3 years ago
4 0

Answer:

Program:

The below program in c-language

int main()// main function

{

   float a,b; //variable declaration //1

 a=4.89,b=6.9;// assign the value//2

 printf("%f",b/a);// statement to display the fraction value.//3

    return 0;// return statement.

}

Output:

1.411043

Explanation:

The fraction value is a value that comes when a number is divided with another number. The description of the statement which used in the above program is as follows--

  1. Defined a"main" function that needs to starts the execution.
  2. Declare a two-variable "a" and "b" of type "float" and assign the value on its.
  3. This statement is used to display the fraction of value on the screen in which the "print()" function is used to display the value and "%f" is used to display the float type value and "b/a" is used to calculate the fraction.

You might be interested in
PLS HELP ASAP! WILL GIVE BRAINLIEST!
Lesechka [4]

Answer:

# Python program to demonstrate sorting by user's  

# choice  

 

# function to return the second element of the  

# two elements passed as the parameter  

def sortSecond(val):  

   return val[1]  

 

# list1 to demonstrate the use of sorting  

# using using second key  

list1 = [(1, 2), (3, 3), (1, 1)]  

 

# sorts the array in ascending according to  

# second element  

list1.sort(key = sortSecond)  

print(list1)  

 

# sorts the array in descending according to  

# second element  

list1.sort(key = sortSecond, reverse = True)  

print(list1)

8 0
4 years ago
Students at a university are working on a project. the project involves many computing systems working together on disjointed ta
skad [1K]
I think that the form of computing the project would be using is CLUSTER COMPUTING.

It involves a group of linked computers working together that it forms, in essence, a single computer. In this way, each user can work on his or her own tasks all at the same time. This will improve performance, increase output, and it is more cost-effective than using a single computer for the whole project.
8 0
3 years ago
Read 2 more answers
write ms-dos command to list all the files and folders of EIGHT sub directory of C: drive in ascending order according to file n
Anna007 [38]

The dir command displays information about files and directories, and how much disk space is available. By default, it displays the name, size, and last modification time of every file in the current directory.

7 0
3 years ago
When planning out the new data center where he is building a private cloud, Juan knows that he needs to account for all of the p
il63 [147K]
B. ensure that he has enough IP addresses for the networks and subnets to account for the vNICS that are in bridging mode.
5 0
3 years ago
________ is a technique where the general characteristics are kept and the details are hidden.
valentinak56 [21]

Abstraction is a technique where the general characteristics are kept and the details are hidden.

<h3>What is abstraction?</h3>

Abstraction is the way a person used in  hiding information that are not needed or unwanted.

Note that one can use abstraction when using abstract class and interfaces and as such, Abstraction is a technique where the general characteristics are kept and the details are hidden.

Learn more about abstraction from

brainly.com/question/7994244

#SPJ1

5 0
2 years ago
Other questions:
  • In three or four sentences, describe how a person buys and sells stock.
    6·2 answers
  • World wide web is another name for Internet <br> True or false?
    8·2 answers
  • Help
    9·1 answer
  • Discuss four ways you will use to reach all pupils who are living at a disadvantaged area.
    14·1 answer
  • who will follow me on tiktok and like all my videos? if you do ill give branlist and give u a shoutout and you can enter my big
    15·1 answer
  • What considerations should you make when deciding on the size of a table?
    9·1 answer
  • When should you save your document?
    15·2 answers
  • Menus are attached to the windows by calling
    15·1 answer
  • Написати лабараторну, на тему:Вивчення властивостей та застосування шаруватих пластиків та кермаміки
    13·1 answer
  • Identify the places in the code where there are object-oriented concept violations, content coupling, common coupling, control c
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!