Can anyone write this code as simple as possible?

Description: Create and test a series of simple functions.
Notes: Parameters and Arguments are the same thing Sample output
Name: Ted
Major: Electrical Engineer
Function Testing Program
Enter your name here:​ (Ted)
Welcome Ted!
1 - Monday
2 - Tuesday
3 - Wednesday
4 - Thursday
5 - Friday
6 - Saturday
7 - Sunday
Please enter the number of a day (1-7)​: (5)
So today is Friday!
Please enter a string:
​(This message will repeat three times)
Please enter how many times it should repeat:​ (3)
This message will repeat three times
This message will repeat three times
This message will repeat three times
Please enter two integers: (​8 9)
Of 9 and 8, 9 is larger.
Please enter x1: ​(5)
Please enter y1: ​(5)
Please enter x2: ​(10)
Please enter y2: ​(10)
The distance is 7.0710
Have you at least attempted your assignment?

While we do help beginner programmers for free, we will not do the entire assignment for free. If you do not want to do your assignment, consider hiring someone to do it for you.
closed account (48T7M4Gy)
http://www.cplusplus.com/forum/general/202322/
Topic archived. No new replies allowed.