this is the program ihave until now the problem is that it reverses the word itself also , if someone can help i will really appreciate it
int main() {
char forward_sentence[MAX]; char ch, terminator;
int i = 0, j, len = 0;
printf("Enter a sentence: ");
ch = getchar();
while(i < MAX && ch != '\n' && ch != '.' && ch != '?' && ch != '!')
{
forward_sentence[i] = ch; i++; len++; ch = getchar(); }
for(i = 0; i < MAX; i++) { if(ch ' ')
{ }
printf("%c", forward_sentence[j]); }
printf("%c", terminator);
printf("\n");
return 0; }
It is called syntax.
Some words come from other languages, such as Spanish and French
The four main areas of language are phonology (the study of sounds in a language), morphology (the structure of words), syntax (the arrangement of words in a sentence), and semantics (the meaning of words and sentences).
In the sentence, the word 'words' is a plural, common noun, the subject of the sentence.
Microsoft Word will find specific words.
A translator takes a program written in source language as input and converts it into a program in target language as output. It also detects and reports the error during translation. • Translating the high-level language program input into an equivalent machine language program.
The three main conjunctions in the English language are "and," "but," and "or." These words are used to connect words, phrases, or clauses in a sentence.
A sentence is defined as a string of words. Therefore a single word can not make a sentence. The shortest acceptable sentence in the English language is "I am."
Words have gender in language for various reasons, including historical origins, cultural influences, and grammatical rules. Gender in language helps to classify nouns and establish agreement between words in a sentence.
yes
This sentence is an example of alliteration, which is the repetition of initial consonant sounds in neighboring words.
you learn syllabic words in language arts