Computers and Technology
Computers and Technology, 22.07.2019 18:30, ggfh5699

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.

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 23:30, jcollings44
You picked the corridor which led you here. if the guards find you, they're going to be really angry! what is the synonym of angry
Answers: 1
image
Computers and Technology, 23.06.2019 18:00, MagicDragon4734
Freya realizes she does not have enough in her bank account to use the debit card. she decides to use a credit card instead. which questions should freya answer before using a credit card? check all that apply. can i pay at least the minimum payment each month? can i make payments on time and avoid late fees? will i have to take out a loan? how much in finance charges can i afford to pay? should i talk to a consumer credit counseling service?
Answers: 1
image
Computers and Technology, 23.06.2019 19:50, Aprillove7939
Which feature is selected to practice and save the timing of a presentation
Answers: 1
image
Computers and Technology, 23.06.2019 21:00, kkpsmith
Alcohol’s affects on the cornea and lens of the eye make it more difficult
Answers: 1
Do you know the correct answer?
Given an integer variable i and a floating-point variable f, that have already been given values, wr...

Questions in other subjects:

Konu
Chemistry, 27.03.2020 01:03