No video

C Program To Find Prime Numbers Between Range, using For Loop

  Рет қаралды 56,667

Technotip

Technotip

Күн бұрын

technotip.com/7...
Lets write a C program to find and print/display all the prime numbers between 2 integer values input by the user, using nested for loop.
Prime Number: Any natural number which is greater than 1 and has only two factors i.e., 1 and the number itself is called a prime number.
C Programming Interview / Viva Q&A List
technotip.com/6...
C Programming: Beginner To Advance To Expert
technotip.com/6...

Пікірлер: 22
@muhammedafnan4741
@muhammedafnan4741 Жыл бұрын
after getting a lot of critical codes I found your this video. It really helped me a lot. thank you so much!
@darkmatter017.vivshresth
@darkmatter017.vivshresth 8 ай бұрын
still not efficient
@nischay9385
@nischay9385 11 ай бұрын
Helped me a lot ty bro for these videos❤
@technotipDOTorg
@technotipDOTorg 11 ай бұрын
Glad to hear that ..thank you
@atpTUBE
@atpTUBE 2 жыл бұрын
Oh bro thaank you so much! It was helped me much
@interestingtechnology6489
@interestingtechnology6489 Жыл бұрын
/* Write a program in C to find prime number within a range. Input number for ending range: 100 The prime numbers between 1 and 100 are: 2 3 5 7 11 13 17 19 23 29 31 37 41 43 47 53 59 61 67 71 73 79 83 89 97 The total number of prime numbers between 1 to 100 is: 25 */ #include #include int main() { int s,e,n,i,prime; printf("Enter starting number = "); scanf("%d",&n); s=n; printf("Enter ending number = "); scanf("%d",&e); printf(" "); printf("The prime number between %d and %d = ",n,e); for(i=s;i
@abhineetyadav7514
@abhineetyadav7514 Жыл бұрын
why is it not working when we are assigning value 1 to variable prime at the time of declaring it?
@yasodhadevim4824
@yasodhadevim4824 2 жыл бұрын
Can you explain a program to print prime number ina given range which last digit is 7
@technotipDOTorg
@technotipDOTorg 2 жыл бұрын
You can modify this program according to your needs: technotip.com/7484/c-program-to-find-prime-numbers-between-range-using-for-loop/
@leonardoleguizamo4599
@leonardoleguizamo4599 3 жыл бұрын
I learn a lot with you
@terrancegrady699
@terrancegrady699 3 жыл бұрын
You prolly dont give a shit but if you guys are bored like me during the covid times you can watch pretty much all the latest series on InstaFlixxer. Have been streaming with my brother recently xD
@zanerafael4168
@zanerafael4168 3 жыл бұрын
@Terrance Grady yup, I have been using InstaFlixxer for years myself =)
@j.rgamer819
@j.rgamer819 2 жыл бұрын
you donot use count variable
@cd-stephen
@cd-stephen Жыл бұрын
thank you
@arafathossain3792
@arafathossain3792 2 жыл бұрын
Thanks you
@samshaikh1394
@samshaikh1394 3 жыл бұрын
If num is 9 then num%count ==1, then it prints 9 too right??
@interestingtechnology6489
@interestingtechnology6489 Жыл бұрын
num%count ==0 condition ya ha num%count ==1 ya nhi
@midhunmathew3185
@midhunmathew3185 2 жыл бұрын
which software is this?
@itz_me.manish
@itz_me.manish 2 жыл бұрын
codeblocks
@technotipDOTorg
@technotipDOTorg Жыл бұрын
Code::Blocks technotip.com/6094/the-best-ide-for-c-programming/
@abhineetyadav7514
@abhineetyadav7514 Жыл бұрын
@@technotipDOTorg why is it not working when we are assigning value 1 to variable prime at the time of declaring it?
C Program To Fill Screen With Smiling Face
1:44
Technotip
Рет қаралды 2 М.
Кадр сыртындағы қызықтар | Келінжан
00:16
The Giant sleep in the town 👹🛏️🏡
00:24
Construction Site
Рет қаралды 21 МЛН
나랑 아빠가 아이스크림 먹을 때
00:15
진영민yeongmin
Рет қаралды 6 МЛН
C Program To Find Prime Numbers From 1 To 300 using For Loop
6:46
C Program to Print all  Prime Numbers Between Two Numbers
8:37
ScoreShala
Рет қаралды 4,1 М.
Google Coding Interview With A Competitive Programmer
54:17
Clément Mihailescu
Рет қаралды 2,5 МЛН
C++ Program to find the Factorial of a Number using For Loop
8:33
Example Program
Рет қаралды 110 М.
How to: Work at Google - Example Coding/Engineering Interview
24:02
Life at Google
Рет қаралды 7 МЛН
Check If A Number Is Prime | C++ Example
8:29
Portfolio Courses
Рет қаралды 18 М.
Sieve of Eratosthenes Method To Find Prime Numbers: C Program
23:40
Program to print all prime numbers between two numbers in C
16:12
Learn JavaScript FOR LOOPS in 5 minutes! 🔂
5:45
Bro Code
Рет қаралды 31 М.
Кадр сыртындағы қызықтар | Келінжан
00:16