Summary
Keywords
Full Transcript
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. Notes of this lecture - https://drive.google.com/drive/folders/1-4tUD_2wNBM7QPSyY36Ev9gkcghePTQD?usp=share_link If you are joining us late, to know more about PWSkills & plans : Watch the Orientation Video: https://www.youtube.com/watch?v=YpNFgTKVAtU Watch the Launch Video: https://www.youtube.com/watch?v=si8TKULKmLE ➡️Supercharge Your Career ! Book Free Career Consultation :- https://shorturl.at/axAkx Use Coupon Code "DSA20" To Get Extra 20% Off 📌DSA Courses- https://bit.ly/3E41OEV 📌Data Science- https://bit.ly/3PL7giA 📌Data Analytics- https://bit.ly/3EiFyHl Use Coupon Code "FSD18" To Get Extra 18% Off 📌Full Stack Development- https://bit.ly/3EgSKwm 📌DevOps- https://bit.ly/3PK2zpp Use Coupon Code "UIUX20" To Get Extra 20% Off 📌UI/UX Design- https://bit.ly/4jojXxj ▶️ PW Skills Website - https://pwskills.com ▶️ PW Skills Instagram - https://www.instagram.com/pwcollegewallah ▶️ PW Skills LinkedIn Channel - https://www.linkedin.com/in/pw-skills-136050249/ ▶️ PW Skills Telegram Channel- https://t.me/SkillsPW 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
