Yea I know I will work on my indentations...
Thanks for suggestions I think I can do top 3 easily, but I am not sure about breaking out prematurely I will try though
Type: Posts; User: Ozlem Kayra
Yea I know I will work on my indentations...
Thanks for suggestions I think I can do top 3 easily, but I am not sure about breaking out prematurely I will try though
#include <stdio.h>
#include <math.h>
int main(void) {
int n;
int i;
int flag;
printf("Enter an integer to check if it is prime: ");
#include <stdio.h>
#include <math.h>
int main(void) {
int n;
int i;
int flag;
printf("Enter an integer to check if it is prime: ");
#include <stdio.h>
#include <math.h>
int main(void) {
int n;
int i;
int flag;
printf("Enter value of N > ");
#include <stdio.h>
#include <math.h>
int main(void)
{
int n;
int x;
printf("enter a number to check if it is prime\n");
scanf("%d",&x);