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
Under extreme programming, ________ and ________ are intimately related parts of the same process
Inessa05 [86]
The answer to this question is: coding and testing
Extreme programming is a software development methodology that aim to improve software quality by measuring whether the technology can be used to fulfill customer's requirement.
To actually get somethings that is accepted by the customers, various coding and testing the software will be done constantly
8 0
4 years ago
Read 2 more answers
Which of these files when included in a program will provide user assistance?
olya-2409 [2.1K]
What are the options for this answer? 
8 0
3 years ago
Read 2 more answers
Which of the following shows a list of Big-Oh running times in order from slowest to fastest?
Rufina [12.5K]

Answer:

O(N!), O(2N), O(N2), O(N), O(logN)

Explanation:

N! grows faster than any exponential functions, leave alone polynomials and logarithm. so O( N! ) would be slowest.

2^N would be bigger than N². Any exponential functions are slower than polynomial. So O( 2^N ) is next slowest.

Rest of them should be easier.

N² is slower than N and N is slower than logN as you can check in a graphing calculator.

NOTE: It is just nitpick but big-Oh is not necessary about speed / running time ( many programmers treat it like that anyway ) but rather how the time taken for an algorithm increase as the size of the input increases. Subtle difference.

5 0
3 years ago
Read 2 more answers
which of the following types of software is for organizing analyzing and storing data in a table A spreadsheet software B databa
Komok [63]

Answer:

B) Database Software

Explanation:

Desktop Publishing software and Multimedia software is not used for storing data, so it can't be that. Spreadsheet software stores data in cells, while Database software stores data in tables.

6 0
3 years ago
Develop Swimlane Activity diagram for Assignment announcement and submission system.
ArbitrLikvidat [17]
  • Using cases can be visualized in greater detail in this report of an activity diagram.
  • In other words, it's a behavioral diagram that regulates the number of actions via systems. They can also be used to show sequences of activities in business operations.
  • UML Activity Diagrams A business process can be examined to determine its flow and demands that use these tools.

The steps to this question can be defined as follows:

For step 1:

  • The task is to decide the action steps depending upon your use case.

For step 2: Identify all parties involved

  • If you know whoever the actors are, it's easier to determine the acts they are liable for.

For step 3: Establish a movement among activities

  • Change the priority in which the action is required by studying the flowchart.
  • If you need to add any branches to the graph, note the conditions that must be met for certain processes to take place.
  • Furthermore, do you even have to finish some tasks before moving onto someone else?

For step 4: Adding swimlanes

  • We know who is to blame for each act. It's time to assign everyone a swimming lane and group every action they are accountable for under it.
  • Some many activities and actions make up your sales system or process.

Please find the diagram in the attachment file.

Learn more:

Assignment submission: brainly.com/question/11714037

8 0
3 years ago
Other questions:
  • Connected contacts require___ to open.
    11·1 answer
  • What is basic function of an operating system?
    10·2 answers
  • Type dig www.example A in order to get the IP address of www.example. What’s the TTL of the A record returned in the response? W
    9·1 answer
  • Technician A says that the engine block is the solid frame from which all automotive and truck engines are constructed and is ma
    10·2 answers
  • Suppose you're currently completing an examination online. When you're finished, you click on Reset Exam. Why would you do this?
    8·1 answer
  • Which of the following scenarios is an example of irrelevant media?
    11·1 answer
  • Answer this question for points lol
    7·2 answers
  • List all the components of a computer
    14·2 answers
  • Can anyone tell me about Microsoft some important features for partical
    11·1 answer
  • The Texas Department of Education has offices throughout the state covering more than 268,000 square miles. State documents are
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!