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
SVEN [57.7K]
3 years ago
12

Given an integer variable i and a floating-point variable f, write a statement that writes both of their values to standard outp

ut in the following format: i=value-of-i f=value-of-f Thus, if i has the value 25 and f has the value 12.34, the output would be: i=25 f=12.34 But if i has the value 187 and f has the value 24.06, the output would be: i=187 f=24.06
Computers and Technology
1 answer:
Dmitry_Shevchenko [17]3 years ago
7 0

Answer:

// here is code in C++.

#include <bits/stdc++.h>

using namespace std;

// main function

int main() {

// variable

int i;

float f;

cout<<"enter an integer:";

// read integer

cin>>i;

cout<<"enter a floating point:";

// read floating point

cin>>f;

// print both

cout<<"i="<<i<<" f="<<f<<endl;

return 0;

}

Explanation:

Read an integer and assign it to "i" then read a floating point and assign it  to "f".After then print "i= value-of-i  f=value-of-f" .

Output:

enter an integer:25                                                                                                        

enter a floating point:12.34                                                                                              

i=25 f=12.34

You might be interested in
Probablilty can use to determine the likehood of specific_________​
maria [59]

the answer is occurrences

6 0
3 years ago
Read 2 more answers
Marien is using the Council of Science Editors (CSE) style guidelines to write her research paper. What is her most likely topic
slega [8]

(CSE) style is used in scientific research papers. In this style there are three systems of documentation, but all of them are appropriate styles to write a scientific paper and make proper references to them. Although all could in some context be taken as scientific, only one really pops out and that's biology.

3 0
4 years ago
Holly needs to create an online survey to find out what people want and is
Dahasolnce [82]

Answer:

The correct answer is (A).The server application will allow the customers to select their  answers on the survey.

Explanation:

Since Holly needs to design an online survey which is a web based application, in finding out what people need or want, In this process, the role or function of the server is to enable customers to select their own choice of answers on the survey that will be created online.

4 0
4 years ago
What type of editor is used to edit HTML code?What type of editor is used to edit HTML code?
Law Incorporation [45]

For learning HTML we recommend a simple text editor like Notepad (PC) or TextEdit (Mac).

mark me brainliestt :))

4 0
3 years ago
The three domains are
Rainbow [258]
The three domains are the archaea, bacteria, and eukarya which are all science related
Hope this helps :3
5 0
4 years ago
Other questions:
  • Janice has a "jammed" key on her keyboard. Every time she strikes the "S" key it sticks and doesn't pop back. What should Janice
    6·2 answers
  • The fossilizing process that replaces organic matter with silica or calcite is:
    13·2 answers
  • To prevent class objects from being copied or assigned, you can:
    8·1 answer
  • Suppose you want to encode the numerals 0–9 and the 26 letters of the alphabet, using separate codes for lowercase and uppercase
    13·1 answer
  • You are the owner of a computer component manufacturing company. Your manufacturing plant has 10 different machines that can be
    6·1 answer
  • If a node receives a frame and the calculated CRC does not match the CRC in the FCS,
    12·1 answer
  • An author is preparing to send their book to a publisher as an email attachment. The file on their computer is 1000 bytes. When
    7·1 answer
  • Dividing a hard drive into multiple sections is known as partitioning
    5·1 answer
  • Which orientation style has more height than width?
    11·1 answer
  • Hahaahhaahahuahaahahhahqha
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!