Note 1

Take Note:

Take a note while surfing.





Note With Ink

Give your Note a Colorful Tag.




Easy to Access

Stay on same information and in Sync wherever you are.

Note 2

Take Note:

Organize your information,It may take Shape.





Think With Ink

Differ your Content by Color.




Easy to Access

Easy to pull up your content from anywhere anytime.

Note 3

Take Note:

Don't Let information to miss,Because it take shape





Note With Ink

Simple an Easy Way to take a note.




Easy to Access

Get the same in next visit.

Programs Questions and Answers



  • 271. Write a program to print odd number in descending order from 1-10.

    Input : ,   Output :

  • Answer In:
     No Discussion on this question yet!
    Tags:

    TCS 

  • 272. Write a Program to generate random numbers.

    Input : ,   Output :

  • Answer In: C  
     
    #include <stdio.h>
    #include <stdlib.h>
     
    int main() {
      int c, n;
     
      printf("Ten random numbers in [1,100]\n");
     
      for (c = 1; c <= 10; c++) {
        n = rand() % 100 + 1;
        printf("%d\n", n);
      }
     
      return 0;
    }
    Tags:

    TCS 

  • 273. Write a program to search duplicate characters in a string.

    Input : ,   Output :

  • Answer In:
     No Discussion on this question yet!
    Tags:

    Capgemini 

  • 274. Write a program to sorting a string in alphabetical order.

    Input : ,   Output :

  • Answer In:
     No Discussion on this question yet!
    Tags:

    Capgemini 

  • 275. Write a program enter the sentence then print it in reverse order.

    Input : ,   Output :

  • Answer In: JAVA  
     
    import java.io.*;
    public class ReverseWord 
    {
     public static void main(String[] args) 
     { 
      BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
      System.out.println("Enter the string"); 
      String str=br.readLine();
      String a[]=str.split(" ");
      for(int i=a.length-1; i>=0; i--)
      {
       System.out.print (a[i]+" ");
      }
     }
    Tags:

    IBM 

  • 276. Write a program enter a string then convert it into upper case.

    Input : ,   Output :

  • Answer In: JAVA  
     
    import java.util.*;
    import java.lang.*;
    import java.io.*;

    class Ideone
    {
     public static void main (String[] args) throws java.lang.Exception
     {
      
     BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
     String str=br.readLine();
     int l=str.length();
     for(int i=0;i<l;i++)
     {
      char ch=str.charAt(i);
      if(Character.isUpperCase(ch))
      {
       System.out.print(Character.toLowerCase(ch));
      }
      else if(Character.isLowerCase(ch))
      System.out.print(Character.toUpperCase(ch));
      else
      System.out.print(ch);
     } 
    }
    }
    Tags:

    IBM 

  • 277. Write a program to count the no. of words in the given string?

    Input : hello world,   Output : 2

  • Answer In:
     No Discussion on this question yet!
    Tags:

    Virtusa 

  • 278. Write a program to check & count the occurrence of character in the given string?

    Input : ,   Output :

  • Answer In:
     No Discussion on this question yet!
    Tags:

    Virtusa 

  • 279. Write a program to check whether given date is valid or not?

    Input : 1. DDMMYYYY :: 24092017 2. DDMMYYYY :: 54142017,   Output : 1. Valid 2. Invalid

  • Answer In:
     No Discussion on this question yet!
    Tags:

    Virtusa 

  • 280. Write a function maxsubstring (str,alpha,theta) str is the source string and have to return maximum sub string which starts with alpha and ends
    with theta.

    Input : ,   Output :

  • Answer In:
     No Discussion on this question yet!
    Tags:

    Virtusa