subject

/* * lesson 7 coding activity question 1 * * input a positive three digit integer. print out the digits one per line. * * sample run: enter a three digit number: 678 here are the digits: 6 7 8 */ import java. util. scanner; import java. lang. math; class lesson_7_activity_one { public static void main(string[] args) { /* write your code here * copy and paste your entire code to code runner to complete the activity, * from the first import statement to the last bracket. */ scanner scan = new scanner (system. in); system. out. println(" enter a three digit number: "); int num= scan. nextint(); int first = num % 10; int second = ( num - first ) % 100 / 10; int third = ( num - first - second ) % 1000 / 100; system. out. println("here are the digits: "); system. out. println(first); system. out. println(second); system. out. println(third); } }

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 07:00
Why were most movies from the late 1890s until the early 1930s only filmed in black and white? there were only a few people who could afford the technology to produce color motion pictures back then. audiences did not want color motion pictures until later. the film used to make color motion pictures often overheated, which was a safety hazard, so it was generally not allowed. color films had to be hand-colored, frame by frame.
Answers: 3
question
Computers and Technology, 23.06.2019 12:30
What is the difference between the internet and the world wide web?
Answers: 1
question
Computers and Technology, 23.06.2019 14:00
Select the correct answer. andre was recently hired by an organization to check for system vulnerabilities. he is supposed to exploit these vulnerabilities and create a report on the extent of damage to which the system was susceptible. what position does andre hold in this organization? a. information security analyst b. information assurance manager c. penetration tester d. network security engineer e. chief information security officer
Answers: 2
question
Computers and Technology, 23.06.2019 15:00
Plz ( which is an example of a good url?
Answers: 1
You know the right answer?
/* * lesson 7 coding activity question 1 * * input a positive three digit integer. print out the dig...
Questions
question
Mathematics, 18.02.2021 20:50
question
Mathematics, 18.02.2021 20:50
Questions on the website: 13722361