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
KonstantinChe [14]
3 years ago
8

The exercise instructions here are LONG -- please read them all carefully. If you see an internal scrollbar to the right of thes

e instructions, be sure to scroll down to read everything.
Given that an integer variable i and a floating-point variable f have already been declared and given values:
Write a statement in C that displays the values of i and f to standard output in the following format:
i = value -of - i f = value - of - f
Two Examples:
Example 1: if the values of i and f were 25 and 12.34 respectively, the output would be:
i = 25 f = 12.34
Example 2: if the values of i and f's value were 703 and 3.14159, (respectively) the output would be:
i = 703 f = 3.14159
Remember: you are GIVEN i and f-- that means they are already declared and they already have values ! Don't change their values by assigning or initializing them! Just print them out the way we have shown above. Just write one statement to produce the output.
Remember: you don't know what the actual values of i and f are-- they are unlikely to be the values used in the examples above! Remember: in your output you must be displaying both the name of the variable (like i) and its value.
Computers and Technology
1 answer:
olga2289 [7]3 years ago
6 0

Answer:

The C statement is given below with appropriate comments

Explanation:

printf("i=%d f=%f", i, f);

// printf is used to write a values to standard output. In c++, we use cout.

// %d is a control string to display integer value and %f is a control string to display floating point value.

// i represents the integer value, corresponding to %d

// f represents the float value, corresponding to %f

You might be interested in
Tech A says that gasoline vapors are lighter than air, so inspection pits do not have a fire hazard like above ground hoists. Te
Elden [556K]

Answer:

Tech B is correct.

Explanation:

First, It is international best practice never to exceed the lifting capacity of any hoist. To do so would expose those involved to risks that may prove to be fatal.

Second, research has shown that gasoline vapors, as well as vapor from almost all other flammable or ignitable liquids or substances, are heavier than air.

More specifically, Gasoline produces flammable vapors that are heavier than air by 3 to 4 times. This means they can travel for great distances along the ground. Worst still, inspection pits are must be kept free from gas vapors because they tend to accumulate in low or enclosed spaces.

Both technicians should and must observe all occupational, health, and safety rules and guidelines stipulated and required for their industry/practice.

Cheers

4 0
3 years ago
What is the duty of business to contribute to the well-being of society
NikAS [45]

Answer:

To be able to explain what’s wrong and what needs to be done

Explanation:

So if your looking at a worksheet and the costumer needs help they are gonna ask you about it so your gonna need to be able to explain what’s going on and what needs to be/get done

5 0
3 years ago
"A(n) ___________ is a radio transceiver that plays the same role as a hub or switch in a wired network and connects the WLAN to
Alexeev081 [22]

Answer: A central wireless access point (AP)

Explanation:

A central wireless access point (WAP) is a hardware device which can be configured on a local area network connecting WLAN to the wired network.

These APs have built in routers which enables wireless devices to connect with it. Mostly they are hardwired to devices such as in network switches or modems.

These access points are found in many institutions, organisations, enterprises which enables devices to be connected to them and provides access to the internet and resources.

There are also public access points which enables people travelling by public transport to connect through them and in many business organisation there are closed APs for use only by the employees of them which enables file sharing and information processing.

7 0
3 years ago
Which is a good technique for effectively proofreading your presentation?
laiz [17]
Read it backwords. it helps look for spelling errors.
7 0
3 years ago
* Create a list of places and situations in which we use a computer
Vinvika [58]

Answer:

Place:

Coffee shop. Railway Reservation System, Airport Reservation System, Machine learning and a long list follow.

Situation:

We find that there is a similar type of calculation and in bulk. Thus we can create a piece of software, and run that with the help of a computer to solve our problem of tackling the massive number of clients.

Description:

The situation demands a similar sort of calculation, and we can hence make a program or most favorably a software that can do all these calculations for us. A perfect example is a coffee shop, which has 100 to 1000 customers drinking coffee each second. And you can understand how badly they need a computer and software. This cannot be done manually.

Explanation:

Please check the answer section.

5 0
4 years ago
Other questions:
  • Look at the circuit shown in the figure above. Switch S1 is open as shown, and R1 and R2 each have a value of 100 k. If you conn
    11·1 answer
  • Whats the difference between search engine and web browser?
    6·2 answers
  • Read the scenario below. Explain why this is not fair use of copyright materials. What should you do instead of using the entire
    10·1 answer
  • Suppose your name was Alan Turing. Write a statement that would print your last name, followed by a comma, followed by a space a
    10·1 answer
  • Most computer attacks are designed to steal information or money. Which of the following attacks is designed to slow down or sto
    14·1 answer
  • What does the % find?
    9·2 answers
  • Which of the following are not deducted on a typical pay stub
    12·1 answer
  • A regular polygon is an n-sided polygon in which all sides are of the same length and all angles have the same degree (i.e.,the
    15·1 answer
  • Assume you have an Access database with five different tables, including various pieces of information about your client base. Y
    9·1 answer
  • Part of the operating system core is responsible for controlling security, managing the file system, and providing a platform fo
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!