Programming Interview Questions for Freshers

Here i am posting few programming questions mostly asked in interview for freshers, but along with the solution if there is any scope for improvement in
programming i have given different ways to solve the same problem....

1.Count Vowels in the input String
vowels are “aeiou” other than vowels are consonents..so lets see the simple      program...Always separate your logic from main method, and call the method in main   method.
 



2. Check whether the given number is even or Odd


3. Check whether the given number is palindrome or not


4. Check whether the given number is prime number or not


5. Fibonacci series


6. Fibonacci series using recursion


No comments:

Post a Comment