C-Programs

Thursday, 31 August 2017

Basic Programs

  • Converting Farenheit to Celcius
  • Converting Celcius to Farenheit
  • Converting Feet to Meter
  • Converting Meter to Feet
  • Swapping Two Numbers Without Using Third Variable
  • Swapping Two Numbers 
  • Converting KM to Meter ,Centimeter or Millimeter
  • Calculating Simple Interest
  • Sum of Two Numbers
  • Creating An Array List To Store Only Strings In Java
  • Find If A String Can Be Made A Palindrome
  • Find If Array Is Subarray Of Another
  • Find Index Of Substring In A String
  • Given an array A[] of n numbers and another number x, determine whether or not there exist two elements in A whose sum is exactly x.
  • Given an array of distinct elements, rearrange the elements of array in zig-zag fashion in O(n) time.
  • Given an array, find the number of subarrays whose sum is even.
  • Given an integer, check whether it is a palindrome or not.
  • Given an unsorted array, find the minimum difference between any pair in given array.
  • Given two string s1 and s2 how will you check if s1 is a rotated version of s2?
  • Middle Element Of Linked List
  • Print numbers from 1 to n without the help of loops.
  • Remove all characters from an alphanumeric string.
  • Remove Consecutive Words In A Sentence
  • Reversing Only Characters Of String
  • Student Record
  • Program to Check Whether a Number is Prime or Not

Pattern Programs 

  • Number Patterns
  • Series Patterns
  • Star Patterns
    Unknown at 09:38
    Share

    No comments:

    Post a Comment

    ‹
    ›
    Home
    View web version

    About Me

    Unknown
    View my complete profile
    Powered by Blogger.