subject

Given an integer variable i and a floating-point variable f, that have already been given values, write a statement that writes both of their values to standard output in the following format:
i=value-of-i f=value-of-f
thus, if i's value were 25 and f's value were 12.34, the output would be:
i=25 f=12.34
but you don't know what i's value and f's value are. they might be 187 and 24.06. if that's what their values are, the output from your statement should be:
i=187 f=24.06
on the other hand, they might be 19 and 2.001. if that's what their values are, the output from your statement should be:
i=19 f=2.001
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: in your output you must be displaying both the name of the variable (like i) and its value.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 18:00
Which of the following physical laws can make the flow of water seem more realistic? a. motion b. gravity c. fluid dynamics d. thermodynamics
Answers: 2
question
Computers and Technology, 23.06.2019 02:50
There’s only one game mode that stars with the letter β€˜e’ in cs: go. which of the options below is it?
Answers: 1
question
Computers and Technology, 23.06.2019 04:00
Another name for addicting games.com
Answers: 1
question
Computers and Technology, 23.06.2019 06:30
On early television stations, what typically filled the screen from around 11pm until 6am? test dummies test patterns tests testing colors
Answers: 1
You know the right answer?
Given an integer variable i and a floating-point variable f, that have already been given values, wr...
Questions
question
English, 07.12.2021 17:00
question
Mathematics, 07.12.2021 17:00
question
Social Studies, 07.12.2021 17:00
question
Mathematics, 07.12.2021 17:00
question
Mathematics, 07.12.2021 17:00
Questions on the website: 13722363