Assignment 4
Assignment 4
−1 1
1 5 2
=ܣቂ ቃ = ܤ 2 3൩
3 4 6
5 2
20. Write a program to multiply two matrices by asking size from user.
21. Write a program to transpose a matrix.
22. Write a program to find sum of diagonal elements of square matrix.
23. Write a program to convert string into upper case without using function.
24. Write a program to find reverse of string without using function.
25. Write a program to copy string without using function.
26. Write a program to concatenate string without using function.
27. Write a program to check whether a word is palindrome or not.
28. Write a program to read line of text and count number of vowels, consonant, digits, white spaces and
other characters.
29. Write a program to check whether a word is palindrome or not using function.
30. Write a program to read line of text and delete all the occurrence of word "that".
31. Write a program to read a line of text and search the substring from that line.
32. Write a program to remove all space from a line of text.
33. Write a program to count numbers of words from line of text.
34. Write a program to read name of N student and display in monitors.
35. Write a program to read N words and sort them in alphabetical order.
36. Write a program to sort {aman, akesh, anish, anam, anil, anju} in alphabetical order.