Тёмный

C program to express a number as a sum of two prime numbers | #10 Coding Bytes 

FACE Prep
Подписаться 332 тыс.
Просмотров 28 тыс.
50% 1

Опубликовано:

 

25 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 41   
@FACEPrep
@FACEPrep 3 года назад
In the IsPrime function the return would be a flag. In the video you might see it as 'return IsPrime'. Please consider it as 'return flag'.
@md_ashraf7259
@md_ashraf7259 3 года назад
Yes that I had noticed.
@md_ashraf7259
@md_ashraf7259 3 года назад
Very nice concept thank you so much mam
@albinthomas7072
@albinthomas7072 4 года назад
1:17 First prime number you would encounter is 2
@shyamprakashm6325
@shyamprakashm6325 4 года назад
mam there is a mistake in is prime function you should run a loop from i=2;i
@ashutoshbisht3580
@ashutoshbisht3580 4 года назад
correct
@ShubhamKumar-et7gx
@ShubhamKumar-et7gx Год назад
Why till sqrt of n??
@mohammadabdullahaalforhad1375
@mohammadabdullahaalforhad1375 9 месяцев назад
Thank you so much. i can understand this solution.
@abhishekkumaryadav652
@abhishekkumaryadav652 3 года назад
Simple,sort and best video 👍
@abishekbaiju1705
@abishekbaiju1705 4 года назад
Excellent tutorial. Thanks a lot
@SarcasticExistence92
@SarcasticExistence92 3 года назад
Thanks a lot, just what I was looking for
@sudipsen3677
@sudipsen3677 3 года назад
Nice explanation ❤️🔥
@prasanthmessi
@prasanthmessi 4 года назад
Love this series. Thanks, Faceprep!
@kamleshmishra2560
@kamleshmishra2560 2 года назад
Very nice sister👍👍
@ANURAG-qk8tw
@ANURAG-qk8tw 4 года назад
What if we need to find minimum number of prime numbers to represent a number N as sum of prime numbers. The number of prime numbers can be 3, 4 ,5 etc . How would i soove such kind of problem
@yashwanthvijay
@yashwanthvijay 3 года назад
Would like to have the same program, in javascript for console . Would be glad to have assistance
@sumanbyravi8227
@sumanbyravi8227 3 года назад
Guvi class question
@kamleshmishra2560
@kamleshmishra2560 2 года назад
💯💯💯
@satyamsriraj8836
@satyamsriraj8836 3 года назад
How to write an algorithm to show a number as a sum of three prime no.?(in sosml)
@G007-e9p
@G007-e9p 3 года назад
did u figure out or not because I need help with it
@aditisanwale8814
@aditisanwale8814 3 года назад
For 3 prime no. What we do?
@maheshbabu9909
@maheshbabu9909 4 года назад
u said sum of two primes but u wrote given no is prime or not..or print prime numbers between that range
@FACEPrep
@FACEPrep 4 года назад
Hi, please watch the complete video. The logic to check if a given number can be expressed as the sum of two prime numbers or not is explained.
@masidurrahaman2296
@masidurrahaman2296 3 года назад
In the function isprime() u should return the flag value!!! :}
@FACEPrep
@FACEPrep 3 года назад
Thats correct buddy thanks for pointing it out.
@monishadhallavaila7283
@monishadhallavaila7283 4 года назад
got the logic
@rajaleelasatyakartheek9822
@rajaleelasatyakartheek9822 4 года назад
the above code is not working
@FACEPrep
@FACEPrep 4 года назад
Hi! For the complete code, please check the link in the description box of this video. The code works perfectly fine.
@senthilkumaran0072
@senthilkumaran0072 4 года назад
In isprime function we should flag1 why we are returning the isprime function
@arbajshaikh4014
@arbajshaikh4014 4 года назад
bro just correct there is would be returned flag ...simple
@sagarnanda9457
@sagarnanda9457 4 года назад
Got it 👍🏼 Thxxx! ❣📍
@SubashP-xq9ep
@SubashP-xq9ep Год назад
please delete the video or correct it and repload it ,please don't keep this video for views.
@surendrapeatihar2650
@surendrapeatihar2650 4 года назад
thanks
@G007-e9p
@G007-e9p 3 года назад
how to express a number as a sum of three prime numbers
@piyushpawar5647
@piyushpawar5647 4 года назад
Sorry but do you remember what were you going to teach us in this video??? And btw i shouldn't be equal to n because of this number will never be Prime... I hope you will be careful in your next video. Well tried👏👏
@ferx2347
@ferx2347 3 года назад
Bolivian Beimar Wilfredo Lopez solved the Riemann Millenium Problem 2021
@meershahidmanzoor
@meershahidmanzoor 3 года назад
Ist prime number is 2 Madam
@vinayakdivate6373
@vinayakdivate6373 3 года назад
💯💯💯
Далее
новое испытание
00:40
Просмотров 115 тыс.
Check If A Number Is Prime | C++ Example
8:29
Просмотров 22 тыс.