A sentence that makes statements has a pattern that starts with a subject and followed by a verb.
Subject + Verb
Subject + Verb + Complement
Subject + Verb + Direct Object
Subject + Verb + Indirect Object + Direct Object
Subject + Verb + Direct Object + Complement
An interrogative sentence or a sentence that asks question begins with an interrogative word followed by a verb then the subject.
Interrogative words are What, when, where, why, how, which, who, and whom.
Interrogative Word + Verb + Subject
Interrogative word + Verb + Subject + Verb
Its emphasises the writers message and keeps it constant, andstuck in the readers mind, so therefore the reader will want to read on due to the fact that they'd want to find out more about what is actually happening and it gets them hooked.
Answer:
Disadvantages Even though the city life has its advantages, city life is far from being all good. The city is overpopulated, polluted, noisy, contaminated, filthy and smoky. The life can be disrupted by pollution, noise, corruptions and crime. City living can be very rushed and worried.
Explanation:
Answer:
1) its because we managed to divide the answer so it is not a prime number.
2)
Code:
#include <stdio.h>
int main()
{
int i, j, n, isPrime; // isPrime is used as flag variable
/* Input upper limit to print prime */
printf("Enter your n : ");
scanf("%d", &n);
printf("Prime numbers from 1 to %d:\n", n);
/* Find all Prime numbers between 1 to n */
for(i=2; i<=n; i++)
{
/* Assume that the current number is Prime */
isPrime = 1;
/* Check if the current number i is prime or not */
for(j=2; j<=i/2; j++)
{
/*
* If i is divisible by any number other than 1 and self
* then it is not prime number
*/
if(i%j==0)
{
isPrime = 0;
break;
}
}
/* If the number is prime then print */
if(isPrime==1)
{
printf("%d,\n ", i);
}
}
return 0;
}