Total members 11895 |It is currently Tue Dec 03, 2024 6:18 pm Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R Scripts

Weka





Ok now can u tell me how to solve dis whole question...i've got to do my assignment..please guide me..here's the question,


1.Assume that int a = 1 and double d = 1.0, and that each expression is independent. What are the
results of the following expressions?
a = 46 / 9;
a = 46 % 9 + 4 * 4 - 2;
a = 45 + 43 % 5 * (23 * 3 % 2);
a %= 3 / a + 3;
d = 4 + d * d + 4;
d += 1.5 * 3 + (++a);
d -= 1.5 * 3 + a++;




Author:
Post new topic Reply to topic  [ 1 post ] 

  Related Posts  to : Results of Java expressions for arithmetic operations
 Program for "Selection of arithmetic operations" in Java     -  
 java Expressions     -  
 Arithmetic Operators in java     -  
 Arithmetic data comparison and decompression java code     -  
 Regular Expressions and Patterns     -  
 String replace with Regular Expressions     -  
 event results from the clicking of a button     -  
 PHP Google search results grabber.     -  
 Arithmetic Promotion     -  
 Database Cashing tables results model     -  









Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com