Your Name - Week 1 PA 10 & Operators Enter an integer value: 6 Enter a second integer value: 8 The sum of 6 and 8 is 14. 6 is not equal to 8 6 is less than 8 6 is less than or equal to 8 Enter a floating point value: 4.56 Enter a second floating point value: 1.2345 The sum of 4.5600 and 1.2345 is 5.7945. 4.5600 is not equal to 1.2345 4.5600 is greater than 1.2345

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

Write a java code representing this output.

Your Name - Week 1 PA IO & Operators
Enter an integer value: 42
Enter a second integer value: 42
The sum of 42 and 42 is 84.
42 is equal to 42
42 is less than or equal to 42
42 is greater than or equal to 42
Enter a floating point value: 1.23
Enter a second floating point value: 1.23
The sum of 1.2300 and 1.2300 is 2.4600.
1.2300 is equal to 1.2300
1.2300 is less than or equal to 1.2300
1.2300 is greater than or equal to 1.2300
Transcribed Image Text:Your Name - Week 1 PA IO & Operators Enter an integer value: 42 Enter a second integer value: 42 The sum of 42 and 42 is 84. 42 is equal to 42 42 is less than or equal to 42 42 is greater than or equal to 42 Enter a floating point value: 1.23 Enter a second floating point value: 1.23 The sum of 1.2300 and 1.2300 is 2.4600. 1.2300 is equal to 1.2300 1.2300 is less than or equal to 1.2300 1.2300 is greater than or equal to 1.2300
Your Name - Week 1 PA IO & Operators
Enter an integer value: 6
Enter a second integer value: 8
The sum of 6 and 8 is 14.
6 is not equal to 8
6 is less than 8
6 is less than or equal to 8
Enter a floating point value: 4.56
Enter a second floating point value: 1.2345
The sum of 4.5600 and 1.2345 is 5.7945.
4.5600 is not equal to 1.2345
4.5600 is greater than 1.2345
4.5600 is greater than or equal to 1.2345
Transcribed Image Text:Your Name - Week 1 PA IO & Operators Enter an integer value: 6 Enter a second integer value: 8 The sum of 6 and 8 is 14. 6 is not equal to 8 6 is less than 8 6 is less than or equal to 8 Enter a floating point value: 4.56 Enter a second floating point value: 1.2345 The sum of 4.5600 and 1.2345 is 5.7945. 4.5600 is not equal to 1.2345 4.5600 is greater than 1.2345 4.5600 is greater than or equal to 1.2345
Expert Solution
steps

Step by step

Solved in 4 steps with 4 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY