Loops in One Shot | C Programming | Lecture 3 | Complete C Course

preview_player
Показать описание
In this video, Raghav Sir will teach you LOOPS in DETAIL. This is Lecture 3 of the C Programming series. Topics covered are - For Loop, While Loop, Do While Loop and LOTS of QUESTIONS. Pattern Printing will be covered in the next Lecture in detail, coming SOON.

If you are joining us late, to know more about PWSkills & plans :

▶️ PW Skills LinkedIn Channel -

Timestamps :
00:00 Introduction
01:35 What and Why
05:53 FOR LOOP
09:50 How For Loop works
30:15 Problem 1 : Print all numbers from 1 to 100
34:56 Problem 2 : Print all even numbers from 1 to 100
37:36 Homework 1 : Print all odd numbers from 1 to 100
37:50 Problem 3 : Print the table of 19
40:07 Homework 2 : Print the table of ‘n’. Take ‘n’ input from user
40:42 Problem 4 : Print the AP - 1,3,5,7,9.. upto ‘n’ terms
47:13 Problem 5 : Print the AP - 4,7,10,13.. upto ‘n’ terms
50:34 **Printing AP WITHOUT using MATHEMATICAL FORMULA
58:28 Problem 6 : Print the GP - 1,2,4,8,16.. upto ‘n’ terms
1:00:55 Homework 3 : Print the GP - 3,12,48.. upto ‘n’ terms
1:01:16 **Problem 7 : Print the AP - 100,97,94.. upto all terms which are positive
1:10:48 Homework 4 : Print the GP - 100,50,25.. upto ‘n’ terms
1:12:42 BREAK statement
1:13:07 Problem 8 : Program to find out if given number is prime or not
1:38:16 CONTINUE statement
1:38:28 Problem 9 : Print all odd numbers from 1 to 100 using CONTINUE
1:43:41 Homework 5 : Print all even numbers from 1 to 100 using CONTINUE
1:44:15 WHILE LOOP
1:49:47 INFINITE LOOP
1:53:11 Problem 10 : Predict the output 1
1:56:34 Problem 11 : Predict the output 2
1:57:33 Problem 12 : Predict the output 3
1:58:58 Problem 13 : Predict the output 4
1:59:34 Post / Pre - Increment / Decrement operators
2:05:03 Problem 14 : Predict the output 5
2:07:31 Problem 15 : Predict the output 6
2:10:38 Problem 16 : Predict the output 7
2:12:44 Problem 17 : Predict the output 8
2:13:56 Problem 18 : Predict the output 9
2:15:55 Homework 6 : Predict the output 10
2:16:29 DO WHILE LOOP
2:21:25 Questions using Operators
2:21:53 Problem 19 : Program to count digits of a given number
2:31:20 Problem 20 : Program to print sum of digits of a given number
2:39:26 Homework 7 : Program to print sum of even digits of a given number
2:40:22 Problem 21 : Program to print reverse of a given number
2:53:27 Homework 8 : Program to print sum of given number and its reverse
2:54:04 Problem 22 : Print sum of series - 1+2-3+4-5+6.. upto ‘n’ terms
3:07:40 Problem 23 : Print the factorial of given number
3:16:09 Homework 9 : Print the factorials of first ‘n’ numbers
3:21:43 Problem 25 : Print the nth fibonacci number
3:38:36 Homework 10 : Print the first ‘n’ fibonacci numbers
3:39:39 Problem 26 : Given 2 numbers ‘a’ and ‘b’ , find ‘a’ raised to the power ‘b’.
3:48:09 Problem 27 : Print all alphabet and their corresponding ASCII values
3:55:31 Homework 11 : Print all armstrong numbers between 1 and 500

#CProgramming #CollegeWallah #PhysicsWallah #Loops #Loopsinoneshot
Рекомендации по теме
Комментарии
Автор

📗 Enroll Now in Decode Batches and become JOB READY:

CollegeWallahbyPW
Автор

The amount of happiness you get after a code finally runs🙂

Aysx.
Автор

40:42 Problem 4 : Print the AP - 1, 3, 5, 7, 9.. upto ‘n’ terms
50:34 **Printing AP WITHOUT using MATHEMATICAL FORMULA
1:01:16 **Problem 7 : Print the AP - 100, 97, 94.. upto all terms which are positive
1:13:07 Problem 8 : Program to find out if given number is prime or not
1:33:10
1:38:28 Problem 9 : Print all odd numbers from 1 to 100 using CONTINUE
1:49:47 INFINITE LOOP
2:03:50
2:12:44 Problem 17 : Predict the output 8
2:13:56 Problem 18 : Predict the output 9



2:21:53 Problem 19 : Program to count digits of a given number
2:31:20 Problem 20 : Program to print sum of digits of a given number
2:39:26 Homework 7 : Program to print sum of even digits of a given number
2:40:22 Problem 21 : Program to print reverse of a given number
2:53:27 Homework 8 : Program to print sum of given number and its reverse
2:54:04 Problem 22 : Print sum of series - 1+2-3+4-5+6.. upto ‘n’ terms
3:07:40 Problem 23 : Print the factorial of given number
3:16:09 Homework 9 : Print the factorials of first ‘n’ numbers
3:21:43 Problem 25 : Print the nth fibonacci number
3:38:36 Homework 10 : Print the first ‘n’ fibonacci numbers
3:39:39 Problem 26 : Given 2 numbers ‘a’ and ‘b’, find ‘a’ raised to the power ‘b’.
3:48:09 Problem 27 : Print all alphabet and their corresponding ASCII values
3:55:31 Homework 11 : Print all armstrong numbers between 1 and 500

taichimashima
Автор

Sir Jaldi Jaldi Video Laiye Aap C Language me itna interest Bana diye hai ki wait nhi ho raha and Exam bhi hai Jan me sir So please Complete This series as soon as possible...❤️✨

samislost
Автор

Sir jaldi jaldi c language pura complete kara dijiye mid sem exam coming soon🥰❤️

indhoneyyt
Автор

Sir mst explanation very very thanks 🙏🙏🙏 kaise khu etna acha content ko dekh ke

lakshkumar
Автор

If you have a good mentor who can teach you in the most appropriate way then everything looks to much easy..❤

mohammadfaisaliqbal
Автор

We want Lecture 4 Sir...Maza Aa Gaya Sir is lecture me🙌❤️

samislost
Автор

at 1:57:21 there was a semi colon just after the condition of while statement while(i<=10); which means end of statement and since i was initially 1 ie. int i = 1; so the code in parenthesis will never be executed. I'd checked it in VS code :)

not_human...
Автор

I am student of IITJ and i have seen your video, you provide very good content to the students to buid their career
thanks for providing good code.
happy coding!!

ukkkezn
Автор

such a masterpiece this lecture was! sir you made each and every concept seem so easy.

kiyaekobenzai
Автор

worth it lecture to watch for freshers and even for those who just want to clear their basics !!
Thank u sir...❤❤❤❤❤❤

himanshudeepanshusingh
Автор

The amount of happiness you get after a code finally runs🙂okay

MUSIC_MAYUR
Автор

sir mai aapke video starting se dekh raha hu or muje pahle c language nahi aati thi but aapke video starting se dekhney ke baad aab muje c language learn karney mai or usse question solve karney mai bahut acha lag raha hai thank you so much sir 😁😄😇♥♥

MahendrasinghBhadoriya-zply
Автор

Bhot bhot dhanyawad sir jii ❤️🥰👍
We can never forget the role of teachers like youuu in building our career....

arya
Автор

Sir please continue this series. your teaching style is outstanding.

trishitamaity
Автор

solution of hw at 2:53:00 is
int n;
printf("enter the number ");
scanf("%d", &n);
int a=n;
int r=0;
int x;
while(n!=0){
x=n%10;
r=r*10;
r=r+x;

n=n/10;

}

printf("the reverse of number is %d\n", r);
printf("the sum of both is %d", r+a);

AMBRATLALROOPCHANDANI
Автор

Kon kon college join karne se pehele dekh rehe hai😁

priyamjay
Автор

You have proved that pw's lectures are best 😊.

ggfviib
Автор

what a amazing lecture sir falling in love with coding now😍

sahilrepuriya