![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 22.07.2019 17:20 meramera50
Assign to the variable boolean 'primesecond' the value true if the second leading (just after the most significant) decimal digit of the value of an int variable 'n' is 2,3,5 or 7; otherwise assign 'primesecond' the value false . assume 'primesecond' and 'n' are already declared and that 'n' has already been assigned a value . so if n's value is 58047 primesecond will be false because the second leading digit of 58047 is 8 which is not 2 or 3 or 5 or 7.so far i have: while (n > 1) {int n=((n%1)/1000)); if( (n==2)||(n==3) || (n==5)|| (n==7) ){primesecond=true; }else primesecond = false; }system. out. println(primesecond); this keeps giving me an error and saysctest. java: 7: error: '; ' expected int n=((n%1)/1000)); ^1 erroryou almost certainly should be using:
![ansver](/tpl/images/cats/User.png)
Answers: 3
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 22:30
What would be the address of the cell, which is at the intersection of the second row and the third column in a worksheet?
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 03:30
Auniform resource locator (url) is a formatted string of text that web browsers, email applications, and other software programs use to identify a particular resource on the internet. true false
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 11:20
Every telecommunication setup uses two devices: one device to transmit data and one device to receive data. which device transmits frequencies to mobile phones? towers transmit frequencies to mobile phones.
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 20:50
Which key function of a business involves finding, targeting, attracting, and connecting with the right customers?
Answers: 3
You know the right answer?
Assign to the variable boolean 'primesecond' the value true if the second leading (just after the mo...
Questions
![question](/tpl/images/cats/mat.png)
Mathematics, 28.08.2020 21:01
![question](/tpl/images/cats/mat.png)
Mathematics, 28.08.2020 21:01
![question](/tpl/images/cats/en.png)
English, 28.08.2020 21:01
![question](/tpl/images/cats/mat.png)
Mathematics, 28.08.2020 21:01
![question](/tpl/images/cats/mat.png)
Mathematics, 28.08.2020 21:01
![question](/tpl/images/cats/ekonomika.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/geografiya.png)
![question](/tpl/images/cats/fizika.png)
Physics, 28.08.2020 21:01
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 28.08.2020 21:01
![question](/tpl/images/cats/mat.png)
Mathematics, 28.08.2020 21:01
![question](/tpl/images/cats/himiya.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/health.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 28.08.2020 21:01