This program will receive a sentence and reverse it as the result. 字串反轉
Example input 1:
School need Student
Example output 1:
Student need School
Example input 2:
Student
Example output 2:
Example input 3:
are you as bored as I am
Example output 3:
am I as bored as you are
內容已隱藏#include <stdio.h>#include <string.h>#define MAX_SIZE 100int main(){ * ** ** * * * * * str[1000], reverse[1000];** * * ** * * *** * ** * * len, i, index=0, wordStart, wordEnd;* ** * *** * ** ** * * * ** * * * ****