Hello everyone, I have a question about the console calculator.
The assignment will look like this:
assign characters that will represent MR M+ M- and inform the user about it
the number...
Type: Posts; User: amnez1ya
Hello everyone, I have a question about the console calculator.
The assignment will look like this:
assign characters that will represent MR M+ M- and inform the user about it
the number...
public static void main(String[] args) {
LocalDate leapYear = LocalDate.now();
int i = LocalDate.now().getYear();
while (i > 2012) {
leapYear =...
Thanks for the help, I solved the problem)
This is the question I asked you
Yes, that's right, nothing comes to mind with this package ((
A Leap/high year has 366 days and a regular year has 365.))
It is allowed to use the whole package, but I need to display all high years in the last 10 years, but using the classes of this package, and not just like I did without this package.
I'm wildly sorry, use classes from the package Time
my head is already boiling
https://docs.oracle.com/javase/8/docs/api/java/time/package-summary.html
is in the package java.time.*
im tried
import java.util.Scanner;
public class Year {
static Scanner in = new Scanner(System.in);
Hello everyone, and again a novice developer with you)))
Tell me how to push my code into a loop so that it displays all the high years for the last 10 years)
I know how to solve the problem...
Thanks for the thought, I'll take a look at it
I didn't quite understand your question...
I can't figure out how to change this code so that it returns 1 and 0.
public class CompareString {
public static void main(String[] args) {
StringBuilder s1 = new StringBuilder("axx#bb#c");
StringBuilder s2 = new StringBuilder("axbd#c#c");
...