Prime Number | C Programming for Beginners Ep - 20 | Tamil | code io

preview_player
Показать описание
C Programming in Tamil for Beginners

Download Link for Dev C++

Download link for Turbo C++ (Not Recommended)

code io
Рекомендации по теме
Комментарии
Автор

Thanks anna . neenga solli kudukurathu nalla puriuthu na

Student
Автор

Unga explanation easy understand aaguthu & super ah irukku na....Anna neenga entha clg la padicheenga na?

anomews
Автор

Bro run panna misplaced continue and misplaced error nu varudu bro solution??

anirud
Автор

Bro flag paththi ninga explain pannunga....

saravanamuthuvip
Автор

Bro inga break kudukama direct ah if else la ye printf kuduthu prime not prime nu kudukalama bro

DineshKumar-qgir
Автор

What happen when we didn't use break

leaf_uzbek
Автор

Anna 2 eppudi prime nu correct ta solludhu = 0 vandhadhu not a prime number nu poidumla

prasannatr
Автор

Bro if we use break here means it come out of else part or whole for loop?

srivarsans
Автор

Compiler tell about (for loop) :
varaan initialisation
Condition check pandraan....
Increment or decrement pandraan...

Repeat 🔁 uh...

Mudiyala

hanush
Автор

Bro u doing syntax eroor how do u get output😅

rajamohann
Автор

Inoru method sonigala else vechi athu epti..

vijaykumart
Автор

Anna Neenga run annapo enna number input kuduthingalo athe number than ennakum thonichu😂😂😅

ilovek-popmusic
Автор

Anna flagna ennathu atha en use panrom

murugeshwaris
Автор

Bro condition mattum nala oru example pannunga bro

reelsraja
Автор

#include<stdio.h>
#include<conio.h>
void main( )
{
int n, i, c ;
clrscr( );
printf(" Enter the value: ");
scanf("%d", &n);
c=0
for( i=1; i<=n ; i++);
{
if(n%i==0)
c=c+1;
}
if(c==2)
printf(" %d is a prime number", n);
else
printf(" %d is not a prime number", n);
getch( );
}

Is it correct or not bro?
Reply plzz..

saraswathi.g
Автор

Bro neenga entha compiler use panringa

mcepsdu
Автор

Done using array
#include <stdio.h>

int main() {
int i, a[5], p=0, nop=0;
for (i=0;i<5;i++)
{ scanf ("%d", &a[i]);

if (a[i]%a[i] == 0 && a[i]%2==0)
p+=1;
else
nop+=1;
}
printf ("\nt of p:%d\n", p);
printf ("\nt nop:%d\n", nop);
return 0;
}

vasanth_kumaar