This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package patternPrograms; | |
| public class Pattern { | |
| public static void main(String[] args) { | |
| // TODO Auto-generated method stub | |
| Pattern user = new Pattern(); | |
| //user.pattern1(); | |
| //user.pattern2(); | |
| //user.pattern3(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package scan; | |
| import java.util.Scanner; | |
| public class Scan { | |
| public static void main(String[] args) { | |
| // TODO Auto-generated method stub | |
| Scan user = new Scan(); | |
| //user.addInt(); | |
| //user.addFloat(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package differenceBetweenTwoDates; | |
| import java.time.LocalDate; | |
| import java.time.LocalDateTime; | |
| import java.time.temporal.ChronoUnit; | |
| public class DifferenceBetweenTwoDates { | |
| public static void main(String[] args) { | |
| // TODO Auto-generated method stub |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Sweet Solutions</title> | |
| </head> | |
| <body> | |
| <H1>Sweet Solutions</H1> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Sweet Solutions</title> | |
| </head> | |
| <body> | |
| <H1>Sweet Solutions</H1> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Sweet Solutions</title> | |
| </head> | |
| <body> | |
| <H1>Sweet Solutions</H1> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Sweet Solutions</title> | |
| </head> | |
| <body> | |
| <H1>Sweet Solutions</H1> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class Looping { | |
| public static void main(String [] args) | |
| { | |
| Looping user = new Looping(); | |
| //user.whileLoop(2,5); | |
| user.doWhileLoop(2,5); | |
| } | |
| public void whileLoop(int a,int b) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ///While Loop Numbers Programs | |
| public class WhileLoopPrograms { | |
| public static void main(String[] args) { | |
| // TODO Auto-generated method stub | |
| WhileLoopPrograms user = new WhileLoopPrograms(); | |
| //user.reverseNumber(12345); | |
| //user.additionOfFirstFiveDigits(1); | |
| //user.additionOfDigits(45678); | |
| //user.countOfDigits(805694); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package whileLoopBasicPrograms; | |
| public class Numbers { | |
| public static void main(String[] args) { | |
| // TODO Auto-generated method stub | |
| Numbers user = new Numbers(); | |
| // user.strongNumber(145); | |
| // user.neonNumber(9); | |
| // user.additionOfdigits(805694); |