Maggie D.

asked • 06/23/21

Computer Science question

Given two variables iVal and fVal, containing respectively an integer and a float value, write a statement that writes both of their values to standard output in the following format: i=iVal f=fVal.


For example, if iVal is assigned 5 and fVal is assigned 2.4, the statement should print the following:


i=5 f=2.4

1 Expert Answer

By:

George M. answered • 06/23/21

Tutor
5 (1)

Software Engineer with BS in Computer and Software Engineering

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.