Skip to content

CodersSquad/c-word-reverser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Lab - Word Reverser

Using basic concepts of C Programming from C Basics lecture, create a program that reads input from console with getchar() function.

Every word will be automatically reversed and printed when the Enter key is pressed.

Your program will continue receiving words to reverse until one of the following keys are pressed, with no other characters: EOF, Control+D and Enter

General instructions

  1. Use the word-reverser.c file for your code
  2. Don't forget to test your code before submission
  3. Submit your code to your personal fork

Test Suite

Build and Test automation is already implemented with the following command. Below some general tips and comments.

  • Make sure that your program passes all test cases without errors.
  • Remember that this is being executed by a robot script.
  • Failed compilation or segmentation faults means 0-graded.
  • Failed tests will be properly discounted from total grade.

Build

make

Test

make test

Clean

make clean

About

C - Word Reverser Lab

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published