Ma'am I tried that variable + space in quotes but it still displayed the output in different lines, what's wrong :face-purple-crying:
Aapka Shikhane Ka Tarika Fluent Hindi Me Aur Ek Hi Baar me Samjh Bhi Aa Jata hai. Mera Doubt Aur Bhi Clear Ho Gaya Hai. Thank You Apna College
11:25 mam can’t we write i <=10 instead of I<11
I have a feeling...this is going to be legendary! Thanks for providing everything for free.
Q.. Print if a number is prime or not (Input n from the user). Ans.. import java.util.Scanner; class FourthJava { public static void main(String[] args) { System.out.print("Enter the number to check if prime or not : "); Scanner scan = new Scanner(System.in); int n = scan.nextInt(); for (int i = 2; i < n; i++) { if (n % i == 0) { System.out.println("Not Prime"); break; } else { System.out.println("Prime"); break; } } } }
I wanted to tell you one thing...!! My life was stucked before I watching your videos ...I felt like I'm finished....I can't do anything in life ..but when I started watching your videos...my confidence is built..and now i became more positive..and the reason is this channel n the teacher like u ...MAY GOD BLESS YOU..!!!ur doing such a great job ❤️
Excuse me mam is for loop mein jo apne btaya h system.out.print(counter+" "); ye mam inteli j mein kaam nahi kar rha iss se jab hum numbers print krwate h to mam ek line mein nahi kr rha show, ye vohi o to 10 tak up and down series mein show kr ra h . Please help mam.
thankyou so much didi.....aaj pehli baar khud se 4 program ho gaye....kal tak 2 bhi dhang se nhi ho rahe the.....school me basics hi clear nahi huye the mere....but aapne clear kar diye.....THANKYOU microsoft wali DIDI
maam apne bola nehi k counter ko ek hi line print me korneke liye 'print' korna parega for loop me 9:38 me
To get even number as output import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); for (int i = 1; i <= n; i++) { if (i%2 == 0){ System.out.println(i); } } } }
9:41 (counter+" ") Not working for me
You are more better than my college lectures ❤️ no youtuber nor lectures can make this kind of understandable videos. I'm sure this will help me in placements. Thank you 🙏Mam
Problem:- didi mane jasa aapne bataya vasa same apne laptop me vs code par kiya par jeb m use run kar raha hu to output nahi mil raha h , likha aa raha h " main mathod not found in the fill, please define the main method as ; public static void main ( string _ args ) please help how can i fix it. Please 🙏🙏🙏
Mai to bs aapko dekhne aata hu😍
at 20:52 Didi ..do while loop me agar condition wrong hota hai to minimum one time print hota hai or agar condition sahi ho jata hai to kya vo continue print karta rahta hai yani infinity. because mere me continue print hota ja raha hai. plz answer my query🙏
thank you microsoft wali didi and your all team to give us such an amazing material video free of cost ...that is very helpful for me to lean java as a beginner
Aap konsa laptop kaam mein le rahe h.
FOR table problem this method is more easy :- int n = sc.nextInt(); for(int i = n; i<=n*10; i = i+n){ System.out.println(i); }
Didi 9:47 pe aapne kaha ki single line me print karana h to counter+ " " likh denge per agar println se ln hata de to same line me prnt ni hoga?
@ApnaCollegeOfficial