Write a function changeString that has one parameter - string of chars. The function
changes the original string in the following way: each lowercase letter is replaced by
the
character '*', all chars that are uppercase letters are omitted, and
the rest of the chars remain the same. The function returns the new string.
Write a program that reads original string, make changes and prints string
after changes are made.
For example:
Input: Yana123*((!
Output: ***123*((!
Write the program that prints the input string in the following way: each character will be
printed
the
amount of time that
corresponds to the index value. The first character will be not printed at all.
For example, if the input was
program
The output will be
roogggrrrraaaaammmmmm
Write a function funPrint(my_string) that will perform this strange printing and
use
this function in
your program.
Write a function sumASCII(my_string) that finds the sum of the ASCII values of the elements of the
string. Write a program that reads a string and finds the
sum of the ASCII values of the elements using function sumASCII.