Here are some programs for students who will appear in
ISC 2014 examination.  Hope students will
get same or similar type of programs this year. 
Write a program to accept any string and sort the words in ascending order.
            Input
:- Annual Cultural Program in Disari                  
           Output
:- Annual Cultural Disari in Program
Click Here to get the solution
Input a number and find nearest prime number of the same.
Sample Input: 25
Sample Output: Nearest Prime number is 23
Click Here to get the solution
Program number 3
Input a sentence , a word to search and another word to replace . Find the occurrence of search keyword within the given string, finally display the sentence after replacing with the replace keyword.
Sample Input: Disari Public College is located in Haldia.
It is co-ed residential cum day boarding College. 
Search Keyword: College
Replace Keyword: School
Sample Output : Disari Public School is located in
Haldia. It is co-ed residential cum day boarding School. 
Click Here to get the solution
Program Number 4
Input a sentence and print the same after converting
every alternate character to uppercase and immediate next character in
lowercase                                                                                       
Input: Nasim Akhtar
Output:    NaSiM
aKhTeR                           
Input: Supriyo Bakshi
Output: SuPrIyO bAkShI    
No comments:
Post a Comment