Question: The student should implement the string-checker algorithm (see Lab Work No. 6) using the linked queue structure discussed. write in C language. this is lab

The student should implement the string-checker algorithm (see Lab Work No. 6) using the linked queue structure discussed.

write in C language.

this is lab 6:

Repeat

Get a symbol from the user

If symbol is an alphabet, then

If it is a lower-case alphabet, then

Convert it to upper case

End-if

Insert it to the queue

Else-if symbol is a digit, then

Discard it

Else-if symbol is a punctuator, then

Discard it

Else-if symbol is a white-space character, then

Insert a space character to the queue

Else /* is an unrecognized character */

Discard it

End-if

Until symbol is different than the newline character (enter key)

While queue is not empty, do

Remove a character from the queue

Display it on the screen

End-while

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!