Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Below is my assignment for C language. please give me the correct program. Thanks a lot for your help! Below is format_str() Below is mod_str()

Below is my assignment for C language. please give me the correct program. Thanks a lot for your help!

image text in transcribed

Below is format_str()

image text in transcribed

Below is mod_str()

image text in transcribed

Below is sort_str()

image text in transcribed

Program 11b Create a program that prints a class roll sheet in alphabetical order. The user inputs the students' first name and last names (separately!), and presses enter on the first name when done. The program prints out the roster like this... HATFIELD, HEIDI KAISER, RUSSELL LIPSHUTZ, HOWARD PENKERT, DAWN WRIGHT, ELIZABETH Before starting, carefully study sort_str0, mod_str), and format0. Make a copy of sort-str() and rename it roll(). Also, change stsrt0 to stsrt20Compile and make sure it works from maino. Change limit] to represent first name. The input should work for 30 students and first name should be 15 characters. Change prompts as needed. Compile and test. Make changes to convert the first name to all upper case using a function from mod_str(). Add another array and get input for last name which will also be an array of 30 with 15 characters. Combine last and first into an third array. You may use sprintf0 for this one. There are other ways. Program 11b Create a program that prints a class roll sheet in alphabetical order. The user inputs the students' first name and last names (separately!), and presses enter on the first name when done. The program prints out the roster like this... HATFIELD, HEIDI KAISER, RUSSELL LIPSHUTZ, HOWARD PENKERT, DAWN WRIGHT, ELIZABETH Before starting, carefully study sort_str0, mod_str), and format0. Make a copy of sort-str() and rename it roll(). Also, change stsrt0 to stsrt20Compile and make sure it works from maino. Change limit] to represent first name. The input should work for 30 students and first name should be 15 characters. Change prompts as needed. Compile and test. Make changes to convert the first name to all upper case using a function from mod_str(). Add another array and get input for last name which will also be an array of 30 with 15 characters. Combine last and first into an third array. You may use sprintf0 for this one. There are other ways

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_step_2

Step: 3

blur-text-image_step3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

8. Describe the steps in the development planning process.

Answered: 1 week ago