import java.util.Scanner; public class Hello { public static void main(String[] args) { Scanner sc = new Scanner(System.in); //your code System.out.print((A + B) / C); } //end of main method } //end of Hello class
Added by Paula H.
Close
Step 1
This is already done in the code with `import java.util.Scanner;`. Show more…
Show all steps
Your feedback will help us improve your experience
Manisha Sarker and 91 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
write a java program to accept two integers as command line arguments and print the sum of the two numbers
Willis J.
thoughtful 1
Florencia C.
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
Watch the video solution with this free unlock.
EMAIL
PASSWORD