Java Programs:
[Link] print your name
2. WAPT print your details using variables
3. WAPT print ASCII value of ‘A’
Programs using Conditional Operator:
1. WAPT find whether a person is eligible for voting or not
2. WAPT check whether a person is passed or failed in a subject
3. WAPT print whether a person is eligible for writing IAS exam or not
4. WAPT print Final bill on the bill amount after giving discount
5. WAPT check whether a couple is eligible for marriage or not based on their age
6. WAPT check whether the given number is Even or Odd
Programs using Scanner function:
1. WAPT print sum of two numbers
2. WAPT print product of given 3 numbers
3. WAPT print average of given 5 numbers
4. WAPT print area of circle
5. WAPT print percentage of student
6. WAPT print volume of cylinder
7. WAPT print simple interest
Programs using Control Statements(if-else):
1. WAPT find whether a person is eligible for voting or not
2. WAPT print whether a person is eligible for writing IAS exam or not
3. WAPT check whether the given number is Even or Odd
4. WAPT print Final bill on the bill amount after giving discount requirements
If bill crosess Rs.10000 give a discount of 15% otherwise give 8% discount
5. Write a logic for how to exit from an application
Else-if :
6. WAPT print result for the obtained grade
Grade A B C D E F
Result1st Rank 2nd Rank 1st Class 2nd Class Just Pass Failed
7. WAPT print result for obtained grade
Marks Result
90-100 1st Rank
80-89 2nd Rank
70-79 1st Class
50-69 2nd Class
35-49 Just Pass
0-34 Failed
Any other Enter valid Details
8. WAPT print Entry Fee of Category
Category Park Entry Fee
M/m Rs.100
F/f Rs.80
T/t Rs.20
C/c Rs.5
S/s Free
Any other Enter valid Details
9. WAPT print Final bill on the bill amount after giving discount
Bill O/P
0-10000 8%
10k-15k 10%
15k-25k 15%
25k-30k 18%
Above 30k 20%
10. WAPT print Area Calculator.
Programs using Switch:
1. WAPT print result for the obtained grade
Grade A B C D E F
Result1st Rank 2nd Rank 1st Class 2nd Class Just Pass Failed
2. WAPT print Entry Fee of Category
Category Park Entry Fee
M/m Rs.100
F/f Rs.80
T/t Rs.20
C/c Rs.5
S/s Free
Any other Enter valid Details
3. WAPT print Season name based on the month number using the below table
Month No. Season
--------------------------------------
3
4 Summer
5
---------------------------------------
6
7 Rainy
8
---------------------------------------
9
10 Spring
11
--------------------------------------
12
1 Winter
2
4 . Create a project on Simple Calculator
Standard Programs:
1. WAPT print your Name 50 times
2. WAPT print Username 20 times
3. WAPT print Username Userdefined type
4. WAPT print Natural numbers from 1 to 10
5. WAPT print Natural Numbers from 100 to 1
6. WAPT print Alphabet from A to Z
7. WAPT print Natural Numbers from 1 to 10 except 5
8. WAPT print Natural Numbers from 1 to 10 except 4 and 8
9. WAPT print Natural Numbers from 1 to 10 except 5 using continue statement
10. WAPT print Natural Numbers from 1 to 10 except 5 using continue in while loop
11. WAPT print Natural Numbers in the given range
12. WAPT print Even Natural Numbers in given range
13. WAPT print Multiplication table 8
14. WAPT print Multiplication table of given number
15. *WAPT print Multiplication table of given number in following order:
8*1=8
8*2=16
:
:
16. WAPT print Multiplication table from 5 to 10
17. WAPT print Multiplication table in given range
18. WAPT print factors of 12
19. *WAPT print factors of given number
20. WAPT print sum of natural from 1 to 10
21. WAPT print product of natural from 1 to 10
22. *WAPT print sum / product of factors of a given numbers
23. *WAPT print factorial value of 5
24. *WAPT check given number is perfect number or not
25. WAPT count factors of a given number
26. *WAPT check whether given number is prime or not
27. WAPT print prime numbers within 1 to 100 with serial number
28. WAPT print first 100 prime numbers
29. WAPT print prime numbers with serial numbers in the given range
30. WAPT print first n prime number with serial number
31. *WAPT print n th prime number
32. *WAPT print next prime number for given number
33. WAPT print exponential value for the given base and power values
34. WAPT find count of digits in the given number
35. WAPT find sum of the digits in given number
36. WAPT find product of the digits in given number
37. WAPT find sum of the even digits in the given number
38. WAPT find product of odd digits in given number
39. *WAPT reverse a given number
40. *WAPT check whether given number is palindrome number or not
41. WAPT print palindromes from 1 to 1000 with serial number
42. WAPT print first n palindromes with serial number
43. *WAPT print nth palindrome
44. *WAPT print next palindrome of given number
45. *WAPT find sum of the factorial values of the digits in the given numbers
46. *WAPT check whether the given number is strong number or not
47. WAPT print strong numbers from 1 to 50000 with serial number
48. *WAPT find sum of the digits raised to the power count of digits in a given number
49. *WAPT check whether given number is Armstrong number or not
50. WAPT print Armstrong numbers from 1 to 10000 with serial number
51. *WAPT print Fibonacci series
52. *WAPT print nth Fibonacci series
53. WAP find nth Fibonacci of given number only
54. WAPT print first nth Fibonacci terms in reverse order
55. WAPT print non fibonacii series from 1 to 100
56. WAPT print next fibonacii term for given number
57. *WAPT check whether the given number is spy or not
58. WAPT print spy numbers from 1 to 10000
59. WAPT print to calculate hcf of 8 and 12
60. WAPT print hcf of given number by long division method
61. WAPT find lcm of 8 and 12
62. WAPT print sum of given n numbers
63. WAPT find sum of n numbers without asking user that how many numbers user wants to
add
64. WAPT find hcf of given n numbers
65. WAPT find lcm of given n numbers
66. WAPT convert decimal number to binary number
67. WAPT convert binary number to decimal number
68. *WAPT exchange or swap values in two variables using third variable
69. *WAPT exchange or swap values in two variables without using third variable
70. WAPT check whether the given n numbers are co-prime or not
71. WAPT find to find hcf and lcm of given two numbers using only one loop.
Programs Based On Strings:
1. WAPT reverse a given string w/o using inbuilt method
2. WAPT check given string is palindrome or not
3. WAPT count alphabets, digits and special charcters in a string
4. WAPT count no. of characters present in given string
5. WAPT check whether the character is present in string or not
6. WAP such that -- input: JavaDeveloper output: JavarepoleveD
7. WAPT print vowel characters present in the string
8. WAPT remove vowels present in a string
9. WAPT remove space present in a string
10. WAPT find duplicate characters in a given string
11. WAPT find number of vowels and consonants in a string
12. WAPT count no. of words present in given string
13. WAPT print Even index words present in the given string
14. WAPT print count of characters of odd index words present in the given string
15. WAPT count number of words present in the string w/o using inbuilt method
16. WAPT check two strings are anagram or not using inbuilt methods
17. WAPT reverse string by using inbuilt method
18. WAPT reverse words in a given string
19. WAPT reverse each and every character and word in a given string
20. WAPT reverse each and every character and word in a given string (ignore space)
21. WAPT reverse even index words present in the given string
22. WAPT reverse each character in an odd index word in an given String
23. WAPT remove duplicates characters present in a given string
Eg: Malayalam - y
24. WAPT remove duplicate character present in a given string
Eg:
i/p: india o/p: inda
25. WAP to print duplicate characters present in a given string
i/p: india o/p: i
26. WAP to remove the duplicate character using indexOf() a given string
27. WAPT to check two strings are anagram or not w/o using sort and equals array methods
28. WAP to count occurance of a particular character of a given string
29. WAP to count number of spaces present in a given string
30. WAP to print first letter in each word in given string
31. WAPT print last letter in each word in given string