Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a C program that outputs the following: Line 1 is the repetition of 0123456789 with a sufficient number of digits to be more than
Write a C program that outputs the following:
Line 1 is the repetition of 0123456789 with a sufficient number of digits to be more than the number of characters in your name
Line 2 is your first and last name
Line 3 has your first name in double quotes, says the number where it ends, and tells how long it is
Line 4 has your last name in double quotes, says the numbers where it starts and ends, and tells how long it is
For lines 3 and 4, the numbers do not have to be calculated by the program
example output:
jamiespa@ceclnx01:~/ECE102/CHALLENGE 1$ gec challenge_1.c -o cha jamiespa@ceclnx01:-/ECE102/CHALLENGE_1$ =/challenge 1.exe 012345678901234567890123456789 Peter Jamieson "Peter" ends on 4 and is 5 characters long "Jamieson" starts on 6 and ends on 3 and is 8 characters long jamiespa@ceclnx01:~/ECE102/CHALLENGE_1$
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started