Find Perfect Numbers From Given Range by using Java Program
Code: import java.util.*; public class PerfectNumberRange { public static void main(String[] args) { Scanner sc...
Find Out The Given Number Is Perfect Number Or Not by using Java Program
Code: import java.util.*; public class PerfectNumber { public static void main(String[] args) { int c = 0; ...
Print The Following Pattern For Given Number Of Rows by using Java Program
Pattern: 1 0 0 0 0 1 1 0 0 0 1 1 1 0 0 1 1 1 1 0 1 1 1 1 1 Code: import java.util.*; public class Pattern { public static...
Print The Following Pattern For Given Number Of Rows by using Java Program
Pattern: 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 Code: import java.util.*; public class Pattern { public stati...
Multiplication Of A Given Numbers Elements by using Java Program
Code: import java.util.*; public class Multiplication { public static void main(String[] args) { int n,s=1; Sca...
Subscribe to:
Posts
(
Atom
)
