Intput :-
Enter line of text : liton
Output :-
In upper case : LITON
Intput :-
Enter line of text : samaruk
Output :-
In upper case : SAMARUK
Intput :-
Enter line of text : Book
Output :-
In upper case : BOOK
Input & Output Of C & C++ Programming
Write a program that read a line of text & display in lower case.
Intput :-
Enter line of text : LITON
Output :-
In lower case : liton
Intput :-
Enter line of text : SAMARUK
Output :-
In lower case : samaruk
Intput :-
Enter line of text : Book
Output :-
In lower case : book
Enter line of text : LITON
Output :-
In lower case : liton
Intput :-
Enter line of text : SAMARUK
Output :-
In lower case : samaruk
Intput :-
Enter line of text : Book
Output :-
In lower case : book
Write a program that compares two strings without case sensitivity.
Intput :-
Enter first line of text : Liton
Enter second line of text : samaruk
Output :-
Without sensitivity Comparing the two string : -7
Intput :-
Enter first line of text : Samaruk
Enter second line of text : liton
Output :-
Without sensitivity Comparing the two string : 7
Intput :-
Enter first line of text : book
Enter second line of text : Book
Output :-
Without sensitivity Comparing the two string : 0
Enter first line of text : Liton
Enter second line of text : samaruk
Output :-
Without sensitivity Comparing the two string : -7
Intput :-
Enter first line of text : Samaruk
Enter second line of text : liton
Output :-
Without sensitivity Comparing the two string : 7
Intput :-
Enter first line of text : book
Enter second line of text : Book
Output :-
Without sensitivity Comparing the two string : 0
Write a program that compares two strings.
Intput :-
Enter first line of text : Liton
Enter second line of text : Samaruk
Output :-
Comparing the two string : -7
Intput :-
Enter first line of text : Samaruk
Enter second line of text : Liton
Output :-
Comparing the two string : 7
Intput :-
Enter first line of text : Book
Enter second line of text : Book
Output :-
Comparing the two string : 0
Enter first line of text : Liton
Enter second line of text : Samaruk
Output :-
Comparing the two string : -7
Intput :-
Enter first line of text : Samaruk
Enter second line of text : Liton
Output :-
Comparing the two string : 7
Intput :-
Enter first line of text : Book
Enter second line of text : Book
Output :-
Comparing the two string : 0
Write a program that read two line of text & add second line with first line.
Intput :-
Enter first line of text : Liton
Enter second line of text : Samaruk
Output :-
After copy the string :
First line of text : LitonSamaruk
Second line of text : Samaruk
Intput :-
Enter first line of text : Samaruk
Enter second line of text : Liton
Output :-
After copy the string :
First line of text : SamarukLiton
Second line of text : Liton
Intput :-
Enter first line of text : Book
Enter second line of text : Eye
Enter first line of text : Liton
Enter second line of text : Samaruk
Output :-
After copy the string :
First line of text : LitonSamaruk
Second line of text : Samaruk
Intput :-
Enter first line of text : Samaruk
Enter second line of text : Liton
Output :-
After copy the string :
First line of text : SamarukLiton
Second line of text : Liton
Intput :-
Enter first line of text : Book
Enter second line of text : Eye
Write a program that read two line of text & copy second line into first line.
Intput :-
Enter first line of text : Liton
Enter second line of text : Samaruk
Output :-
After copy the string :
First line of text : Samaruk
Second line of text : Samaruk
Intput :-
Enter first line of text : Samaruk
Enter second line of text : Liton
Output :-
After copy the string :
First line of text : Liton
Second line of text : Liton Intput :-
Enter first line of text : Book
Enter second line of text : Eye
Output :-
After copy the string :
First line of text : Eye
Second line of text : Eye
Enter first line of text : Liton
Enter second line of text : Samaruk
Output :-
After copy the string :
First line of text : Samaruk
Second line of text : Samaruk
Intput :-
Enter first line of text : Samaruk
Enter second line of text : Liton
Output :-
After copy the string :
First line of text : Liton
Second line of text : Liton Intput :-
Enter first line of text : Book
Enter second line of text : Eye
Output :-
After copy the string :
First line of text : Eye
Second line of text : Eye
Write a program that read a line of text & display it’s in reverse order.
Intput :-
Enter any line of text : Liton
Output :-
Reverse of the String = notiL
Intput :-
Enter any line of text : Samaruk
Output :-
Reverse of the String = kuramaS
Intput :-
Enter any line of text : Book
Output :-
Reverse of the String = kooB
Enter any line of text : Liton
Output :-
Reverse of the String = notiL
Intput :-
Enter any line of text : Samaruk
Output :-
Reverse of the String = kuramaS
Intput :-
Enter any line of text : Book
Output :-
Reverse of the String = kooB
Subscribe to:
Posts (Atom)