Question

9+9+ 9+9 +9+9 Homework • Answered• Due in a day Evaluate the expression. Be sure to list a value of appropriate type (e.g.,
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Solution Evaluate the expression 9+9+ 9 +9 +9+9 Add 9+9=18 Next part text character 9+9=189+9 Next part 9+9=189+999 Final

//output

javac -classpath ./run dir/junit-4.12.jar -d. Main.java > java -classpath ./run dir/junit-4.12.jar Main 189 + 999

//copyable code

Java code

//header file

import java.util.*;

import java.lang.*;

import java.io.*;

/* class name. */

class Main

{

//main method

public static void main (String[] args) throws java.lang.Exception

{

//evaluate the expression

System.out.println(9 + 9 + "9 + 9" + 9 + 9);

}

}

Add a comment
Know the answer?
Add Answer to:
9+9+ "9+9" +9+9 Homework • Answered• Due in a day Evaluate the expression. Be sure to...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT