Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

11.) What is the result of the following: int f = 9; double answer; answer = (double) f/3; f/= 3; System.out.println (answer is:

1.) What is the result of the following: int ( mathrm{f}=9 ); double answer; answer ( =( ) double ( ) mathrm{f} / 3 ) 

11.) What is the result of the following: int f = 9; double answer; answer = (double) f/3; f/= 3; System.out.println ("answer is: " + answer); System.out.println("f is: " + f);

Step by Step Solution

3.31 Rating (148 Votes )

There are 3 Steps involved in it

Step: 1

Result will be Answer is 30 fis 3 1 public class calculation 2 3 public sta... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Principles of Macroeconomics

Authors: Karl E. Case, Ray C. Fair, Sharon E. Oster

12th edition

134078802, 978-0134078809

More Books

Students also viewed these Computer Network questions