Question: 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:

Write a C program that outputs the following: Line 1 is the

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!