Qn3 An array of N numbers are passed as input. Write a java program logic to print the leader element of an array which is greater than all the elements to it's right. The Boundary is 1<= N =>999
Note: the right most element is always leader Answer
Note: the right most element is always leader Answer
Question asked by venkat
Qn4 Write a simple java program to find whether given string is palindrome or not?
Answer
Question asked by Priscilla
Qn5 Write a simple java program to find whether given number is palindrome or not?
Answer
Question asked by Admin
Qn7 Write the program logic to print the stars as follows using java
Type-1 * * * * * * * * * * * * * * * * * Type-2 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *Answer
Question asked by Admin
Qn8 Write the program logic to print stars as follows using java
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *Answer
Question asked by Admin
Qn9 Write the program logic to print stars as follows using java
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *Answer
Question asked by Admin
Qn10 Write the program logic to print stars as follows
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *Answer
Question asked by Admin
Qn11 Write the program logic to print as follows
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *Answer
Question asked by Mariyappan
Qn12 Write the logic to print star * as right pyramid and left pyramid as follows
Type-1 Type-2 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *Answer
Question asked by Admin
Qn13 Write the logic to print star * as pyramid shape in java program
Type-1 Type-2 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *Answer
Question asked by Admin
Qn14 Write the logic to print the triangle pattern as follows
Type-1 Type-2 1 1 2 3 4 5 1 2 1 2 3 4 1 2 3 1 2 3 1 2 3 4 1 2 1 2 3 4 5 1 Type-3 Type-4 1 5 4 3 2 1 2 1 4 3 2 1 3 2 1 3 2 1 4 3 2 1 2 1 5 4 3 2 1 1Answer
Question asked by Admin
Qn15 Write the logic to print the triangle pattern as follows
Type-1 Type-2 1 1 1 2 2 1 1 2 3 3 2 1 1 2 3 4 4 3 2 1 1 2 3 4 5 5 4 3 2 1 Type-3 Type-4 1 2 3 4 5 5 4 3 2 1 1 2 3 4 4 3 2 1 1 2 3 3 2 1 1 2 2 1 1 1Answer
Question asked by Admin
Qn16 Write the logic to print stars as follows
Type-1 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Type-2 * * * * * * * * * * * * * * * * * * * * * * * * * * * * *Answer
Question asked by Dharani
Qn17 Write a simple java program to find HCF (or) GCD and LCM of two numbers
Answer
Question asked by Admin
Qn18 Write a java program to change an array elements in reverse order using their positions. Don't use the way of printing the elements from the last position.
Answer
Question asked by Admin
Qn19 Write a java program to merge tow arrays and get new array without duplicates?
Answer
Question asked by Venkatesh
Qn20 Write a Java program to swapping two numbers without using third(3rd) variable.
Answer
Question asked by Admin
Qn22 Write java program logic to print the n number of values, from an array in the following pattern. a[i]>=a[i+1]<=a[i+2]>=a[i+3]<=a[i+4]>=a[i+5]<=a[i+6]... so on. (in TCS)
Answer
Question asked by Admin
Qn23 Write a java program to find Nth maximum number and Nth minimum number in an array without any sorting
Answer
Question asked by Srishti
Qn24 Write the program logic to print the alphabet in the following pattern using java
Enter your Alphabetic letter: E A A B A B C A B C D A B C D E A B C D A B C A B AAnswer
Question asked by Srishti
Qn25 Write the java program to print letter and its number of times
Input: aaabcddgaapp Output: a3bcd2ga2p2Answer
Question asked by Srishti
Qn26 Write the programming to the following logic
1<=n<=50
Input Format
The first line contains the value of n
Output Format
The first n lines containing the desired pattern as follows
1<=n<=50
Input Format
The first line contains the value of n
Output Format
The first n lines containing the desired pattern as follows
Example -1 Enter n value: 4 Output 4 3 2 1 5 6 7 8 12 11 10 9 13 14 15 16 Example -2 Enter n value: 4 Output 3 2 1 4 5 6 9 8 7Answer
Question asked by Srishti
Qn27 Write a java program to print intersection(common elements only one times) of two arrays
Answer
Question asked by Madhavan
Qn28 Write a java program to remove the duplicates from an array without using any in-build function.
Answer
Question asked by Madhavan
Qn29 Write a simple java program to find whether given number is "Armstrong" number or not?
Answer
Question asked by Venkatesh
Qn30 Write a java program to reverse a string without using String inbuilt function reverse().
Answer
Question asked by Admin
Qn31 Write a simple java program for "Fibonacci" series up to a given number.
Answer
Question asked by Priscilla
Qn32 Find given year is whether leap year or not? using in Java program.
Answer
Question asked by Admin
இது பற்றிய தங்களின் கருத்துகளை இங்கே பதிவிடுங்கள் . இது பயனுள்ளதாக விரும்பினால் மற்றவர்களுக்கும் இதை share செய்யுங்கள்.
Comments