Program 1 : Read from User Input and write to user output.
Program code :
Program 2 : Ask users name and his age and then write it as an output.
Program code :
Program 3 : Read from a file and write to a file.
Code for write to a file :
Code for read from a file :
Program 4 : Replace string with another string.
Program code :
Program 5 : Write a program for finding "First non-repeated character in given string".
Program code :
Program 6 : Write a program for finding "Permutation of a string".
Program code :
Program 7 : Write a program to print the following pattern".
1
121
12321
1234321
12321
121
1
Program code :
Program 8 : Write a program to sum a number in given string.
Program code :
Program 9 : Write a program to insert data into database and retrieve from database.
Program code :
Program code :
Program 2 : Ask users name and his age and then write it as an output.
Program code :
Program 3 : Read from a file and write to a file.
Code for write to a file :
Code for read from a file :
Program 4 : Replace string with another string.
Program code :
Program 5 : Write a program for finding "First non-repeated character in given string".
Program code :
Program 6 : Write a program for finding "Permutation of a string".
Program code :
Program 7 : Write a program to print the following pattern".
1
121
12321
1234321
12321
121
1
Program code :
Program 8 : Write a program to sum a number in given string.
Program code :
Program 9 : Write a program to insert data into database and retrieve from database.
Program code :