I need to write a simple program to Output a welcome banner; Input two integer n
ID: 3614042 • Letter: I
Question
I need to write a simple program to- Output a welcome banner;
- Input two integer numbers, compute the sum, subtraction,multiplication, division, and modulus of the two numbers, andoutput the results;
- Input two real numbers, compute the sum, subtraction,multiplication,and division of the two numbers, and output theresults;
- Input a text string, output its length; input an index withinthe string, and output the character at that position in thestring; input another text string, and output the location of thefirst occurrence of the second string in the first one (if suchlocation exists, otherwise output -1);
- Finally, input a date (a text string) in the formatmm/dd/yyyy (i.e., two digits for the month, followed by a'/', followed by two digits for the day, followed by a '/',followed by four digits for the year), and output it in the commonEuropean format dd-mm-yyyy (i.e., two digits for the day,followed by a '-', followed by two digits for the month, followedby a '-', followed by four digits for the year.
Explanation / Answer
x.