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
To see if a website is using a secure connection, what should you look for? Select all that apply.
kupik [55]

Answer:

– A web address using “HTTPS” (The extra “S”means it’s a secure connection. – Secure sites show a closed padlock emblem you can click on for security details – the most trustworthy sites will have green padlocks or address bars.

Explanation:

6 0
3 years ago
An online conference room reservation system lets a user reserve rooms. The user is required to enter contact information and re
lisov135 [29]

Answer:b)Reserve Room, Enter Contact Information, Enter Reservation Detail

Explanation: The use case is described as actors , actors goal, usage of use cases, units of scope and initial point and terminating point of use cases .

The situation mentioned in the question will take place for the reservation of the room through the instances in the form like filling the contact details for the identification , filling out reservation information as well for getting the knowledge about the room requirement by the person.

These details help in reaching out the particular person if required, number of days he wants to book the room,any extra facility he would like to have etc. After these detail filling activity the room can be reserved successfully.Thus , the most appropriate option is option (b).

Other options are incorrect because room reservation cannot be done without any formality as mentioned in the question and entering contact detail and reservation detail one by one.

7 0
3 years ago
If a salesperson were trying to sell this cabin, which word would be best to use to make its size seem most positive?
TiliK225 [7]
cozy because it gives it more of a positive connotation
7 0
3 years ago
Read 2 more answers
This is for the folks that is rude:
S_A_V [24]
This isn’t twitter but anyways the answer is 29
8 0
4 years ago
Which of the following items is an example of a user application? *
aleksandr82 [10.1K]

Answer:

I would probably say all of the above!

Explanation:

4 0
3 years ago
Read 2 more answers
Other questions:
  • When age = 16, what action would the program execute?
    6·1 answer
  • Read each scenario, and then select the best wireless device for the worker’s needs. A trucker is constantly on the road. He fre
    8·2 answers
  • What does it mean for a school to be “accredited”?
    5·1 answer
  • For Official Use Only (FOUO) and Controlled Unclassified Information (CUI) may include all of the following except: (circle one)
    10·1 answer
  • Using a Mouse
    8·2 answers
  • Your supervisor has asked you to set up a RAID hard drive array in a tower system, which has a motherboard that uses the B360 ch
    10·1 answer
  • How would you create a tint of a color?
    6·1 answer
  • Need answer Quick!!!!!
    10·1 answer
  • Keli is unable to find a shape that meets her needs. Which feature in Power Point should she use to create shapes that are compl
    6·1 answer
  • A workstation is out of compliance with the group policy standards set by the domain what command prompt would you use to ensure
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!