Тёмный
No video :(

Functions in Java | Practice Questions | Complete Placement Course | Lecture 8 

Apna College
Подписаться 6 млн
Просмотров 759 тыс.
50% 1

Link to Exercise Questions : docs.google.co...
Complete C++ Placement Course (Data Structures+Algorithm) : • C++ Full Course | C++...
Telegram: t.me/apnikaksh...
Instagram: / dhattarwalaman
My RU-vid Gear 😉: docs.google.co...
Notes of this Lecture:

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

 

22 сен 2021

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 262   
@haiderrizvi1710
@haiderrizvi1710 2 года назад
// 1 - Enter 3 numbers from the user & make a function to print their average. public static void fnc1(int a, int b, int c){ int d = (a + b + c)/3; System.out.println("The average of "+a+", "+b+","+c+" is: "+d); } // 2 - Write a function to print the sum of all odd numbers from 1 to n. public static void fnc2(int n){ for(int i=1 ; i b){ System.out.println(a); } else{ System.out.println(b); } } // 4 - Write a function that takes in the radius as input and returns the circumference of a circle. public static void fnc4(double x){ double pi = 3.14; double circum = 2 * pi * x; System.out.println(Math.round(circum)); } // 5 - Write a function that takes in age as input and returns if that person is eligible to vote or not. A person of age > 18 is eligible to vote. public static void fnc5(int age){ String res =(age>18) ? "Eligible": "Not Eligible"; System.out.println(res); } // 6 - Write an infinite loop using do while condition. public static void fn6(int x){ do{ System.out.println("This is an infinite loop"); }while(true); } // 7 - Write a program to enter the numbers till the user wants and at the end it should display the count of positive, negative and zeros entered. public static void fn7(){ Scanner sc = new Scanner(System.in); System.out.println("How many numbers you want to input"); int x = sc.nextInt(); int [] dataArray = new int[x]; for (int i=0 ; i
@akshugaming2102
@akshugaming2102 2 года назад
Are bhai first 2 program wrong hai 2 nd vale mai main method missng hai
@norendermoody6509
@norendermoody6509 Год назад
The Fibonacci one is incorrect, becuase it is showing an 14 outputs on an input of 10
@norendermoody6509
@norendermoody6509 Год назад
Here is the correct fibonacci public class Fibonacci { public static void Fibonacci(int n) { int a = 0; int b = 1; // System.out.println(a); // System.out.println(b); for(int i=0; i
@krutirathod01
@krutirathod01 Год назад
how come an average is int? you need to convert int into double before returning.
@itsjagratjoshivlogs6435
@itsjagratjoshivlogs6435 Год назад
You not call this function and where is main method 😅
@yuvrajbansal7979
@yuvrajbansal7979 2 года назад
Hatts off for ur hard work didi
@sohamwaghmare2801
@sohamwaghmare2801 2 года назад
Do you know how vs code works please help
@XamsLyf
@XamsLyf 2 года назад
@@sohamwaghmare2801 Didi ne first video me mention kiya tha ..
@sohamwaghmare2801
@sohamwaghmare2801 2 года назад
@@XamsLyf nhi mtlab detail mai maine sab video dekhe same code copy kiya par ye chal hi nhi rha output mai kuch nhi aara
@XamsLyf
@XamsLyf 2 года назад
@@sohamwaghmare2801 IntelliJ IDEA use karlo bro better for java nd kotlin
@nilusingh75
@nilusingh75 3 месяца назад
@@sohamwaghmare2801 extension download karna padega
@ss30
@ss30 2 года назад
di it's my request, please bring a PYTHON series also like this. like those who agree
@NitinSharma-fh4ir
@NitinSharma-fh4ir Год назад
Chup
@zilishorts3190
@zilishorts3190 Год назад
@@NitinSharma-fh4ir 😂
@aloneboy-cw6qh
@aloneboy-cw6qh Год назад
Abey sale placement ke liye best Hai vrna tujhe Jada shauk hai toh coaching center chla ja
@ss30
@ss30 Год назад
Tu mat padh, jyada shauk hai to ghar pr nalla baith, ye bhi mat dekh
@aloneboy-cw6qh
@aloneboy-cw6qh Год назад
Nala toh tu hai copy krta hai content ki
@subhammaity9937
@subhammaity9937 2 года назад
Problem 1👇 /*Enter 3 numbers from the user & make a function to print their average. */ import java.util.*; public class Main { public static float average (float a , float b , float c) { float sum = (a+b+c)/3; System.out.println ("The average number is"); return sum; } public static void main (String []args) { Scanner sc = new Scanner(System.in); System.out.println("Enter the first number"); float a = sc.nextFloat(); System.out.println("Enter the second number"); float b = sc.nextFloat(); System.out.println("Enter the third number"); float c = sc.nextFloat(); System.out.println(average(a,b,c)); } } Problem 2 👇 /* Write a function to print the sum of all odd numbers from 1 to n.*/ import java.util.*; public class Main { static int sum = 0; static int sum (int n ) { for (int i =1; ib) { Bignumber = a; } else { Bignumber = b; } System.out.println("The greatest number between " + a + " and " + b + " is "+ Bignumber ); } public static void main(String args[]) { Scanner sc = new Scanner(System.in); System.out.println("Enter the first number"); int num1 = sc.nextInt(); System.out.println("Enter the second number"); int num2 = sc.nextInt(); Num(num1,num2); } } problem 4 👇 /*Write a function that takes in the radius as input and returns the circumference of a circle.*/ import java.util.*; public class Main { public static void Num (double r ){ double Circumference = (2 * 3.14) * r ; System.out.println("circumference of the circle = " + Circumference ); } public static void main(String args[]) { Scanner sc = new Scanner(System.in); System.out.println("Enter the Radius"); double radius = sc.nextDouble(); Num(radius); } } Problem 5 👇 /*Write a function that takes in age as input and returns if that person is eligible to vote or not. A person of age > 18 is eligible to vote.*/ import java.util.*; public class Main { public static void Num (int age ){ if (age>18) { System.out.println("You are eligble to vote") ;} else { System.out.println("You are not eligible"); } } public static void main(String args[]) { Scanner sc = new Scanner(System.in); System.out.println("Enter your age"); int yourage = sc.nextInt(); Num(yourage); } } Problem 6 👇 /*Write an infinite loop using do while condition.*/ public class Main { static void print(String value) { do{ System.out.println(value);} while(true);} public static void main(String[] args) { print("Subham"); } } Problem 7 👇 import java.util.*; public class Question12 { public static void main(String[] args) { Scanner sc= new Scanner(System.in); System.out.println("How many numbers you want to enter? "); int x= sc.nextInt(); int [] data= new int[x]; for(int i=0;i0){ count++; }else if(i
@SwatiRasoiVlog
@SwatiRasoiVlog 2 года назад
ishh comment ko pin kiya jae
@dhananjay5053
@dhananjay5053 2 года назад
In 7th question you first ask user to how many numbers he wants to enter so using that u set the size of an array but I have been thinking about how can we solve it without asking user how many time he gonna enter just take the inputs in arraylist ......what u say?
@SwatiRasoiVlog
@SwatiRasoiVlog 2 года назад
@@dhananjay5053 yes do that
@RealJ69
@RealJ69 Год назад
Heyyyy ram itni mehnat... Salute 🙌🙌
@Lucien88
@Lucien88 11 месяцев назад
and more than that array abhi padha nhi hai atleat iss video tk so how can someone use that let one asking for array input i mean i know,you probably but we cant say the same thing about the others @@dhananjay5053
@being_solituder
@being_solituder Год назад
Didi i am in 10th and your complete java placement course helped me a lot ... Thank you so much
@syedmuhammadhamza5570
@syedmuhammadhamza5570 2 года назад
MASHALLAH ALLAH bless you didi . I am from Pakistan. I thought I could never learn code but after seeing your lectures I fell in love with coding and my Microsoft wali didi. One thing is if you have a good mentor then nothing in the world is difficult for you to learn and do. JAZAKALLAH.
@aditya1068
@aditya1068 2 года назад
Thankyou 😊 shardhaa didi and the whole apna college team for conducting such awesome lecture i am following them rigorously.
@rafiullahkhan172
@rafiullahkhan172 2 года назад
Thanks,,,, World most premium course. I like it very much.. Love from Pakistan 🇵🇰
@abhayshukla0449
@abhayshukla0449 11 месяцев назад
for those who think that array is compulsory import java.util.*; public class Main { public static int positive(int a){ int bb=0; if(a>0){ bb++; } return bb ; } public static int negative(int a){ int cc=0; if(a
@anonymousm8357
@anonymousm8357 2 года назад
After apna collage.... Me :Shuru majburi me kiye the ab maja aa raha hain
@aneeshmujumdar8623
@aneeshmujumdar8623 2 года назад
yeah mirzapur gudu bhaiya
@gauravpawar6233
@gauravpawar6233 2 года назад
Didi PLZZ time complexity ko ground level se start karna PLZZ di (Dar lgta hh di usse ptani kyu)
@sawaijangid1435
@sawaijangid1435 Год назад
Thanks you Sharda didi and whole apna college team for conducting awesome lecture i am following them regularly 😀
@Chaitanya_6444
@Chaitanya_6444 2 года назад
0.47 Write a function that calculates the Greatest Common Divisor of 2 numbers. (BONUS): package com.company; import java.util.Scanner; public class Main { public static void gCD(int a,int b){ int number= 0; for(int i=1;i
@knowledgeworldamit1515
@knowledgeworldamit1515 7 месяцев назад
Notes of previous lecturers are not opening.। Please do something
@sahilharad9222
@sahilharad9222 2 года назад
Please add functions lecture in the playlist of java+dsa
@bmw-fe9ox
@bmw-fe9ox 2 года назад
Apki class sun soun ki apke upar muje pyar hogaya😊. Thanks for providing great classes to very easily... Thanks
@copilotcoder
@copilotcoder 2 года назад
The only consistent cource in the channel....hats of to didi
@PankajChoudhary-bm5di
@PankajChoudhary-bm5di 2 года назад
Op, kya baat h di 🥰😘 thanku,so , much, for ur,hard work 😎
@mahimaandani
@mahimaandani 2 года назад
Please share the learning path, I'm a 3rd year student really concerned about time. Love the series!
@kartiksinghal7556
@kartiksinghal7556 2 года назад
Ek language(c++/java) seekhle ache se taaki coding rounds nikaal sake, fir tu specialization kisme krna chahti hai wo dekh and uske technology pe kaam kr ( i am also a cse 3rd year student with specialization in full stack), hope it helps and trust me mushkil nahi hai bas roz dedicated time dio chaahe 1 2 ghante hi bas
@kratikamishra5464
@kratikamishra5464 Год назад
Bro aise hoskta
@EB_GORGEOUS
@EB_GORGEOUS 2 года назад
Deserve more than million subscribers, likes....
@ChetnThakre
@ChetnThakre 4 месяца назад
5 million already hai😢 jrurt to mujhe hai😂✅
@smitapoundkar9025
@smitapoundkar9025 Год назад
Didi it's my request please bring a selenium series also like this. Your video so help me. Thank you so much 🙏🙏🙏🙏
@codictive
@codictive 2 года назад
u r very awesome teacher thanks for making lectures apna college and team
@aabdaatalks1531
@aabdaatalks1531 2 года назад
Aman sir can u please make a seprate playlist of java script as it is not in a combined state or in a systematic order 💥❤️ And very much thanks Microsoft wali didi🌹
@BCAseWipro
@BCAseWipro 2 года назад
I am waiting for this since morning
@aryannagar4949
@aryannagar4949 2 месяца назад
Q.1 Enter 3 numbers from the user & make a function to print their average. Answer - import java.util.Scanner; public class fuctions{ public static int calculateAverage(int a, int b, int c ){ int average = a + b + c ; return average; } public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); int average = calculateAverage( a, b, c); { System.out.println( average /3); } sc.close();} }
@sunielsharma8142
@sunielsharma8142 2 года назад
Didi lecture no.7 add kar dijiye JAVA + DSA playlist me .. lecture no .7 missing hai java+dsa playlist me..
@AMITKUMAR-zw7gp
@AMITKUMAR-zw7gp Год назад
Thank you for your supportive videos 🙏
@PankajChoudhary-bm5di
@PankajChoudhary-bm5di 2 года назад
Apna college,op 😘🥰🔥
@luminousashraf2427
@luminousashraf2427 2 года назад
public class Main { public static void main(String args[]){ System.out.println("Thanks didi!!! " + "Im Really enjoying this Learning Path!"); } }
@arpittak5810
@arpittak5810 2 года назад
where is notes
@SanjeevkumarP8369
@SanjeevkumarP8369 6 месяцев назад
You are great teacher ma'am 👍
@yatharthmittal425
@yatharthmittal425 2 года назад
ANS-3: import java.util.*; public class Solution { public static void main(String args[]) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); if(a > b) System.out.println(a); else System.out.println(b); } }
@devilhimsgaming3434
@devilhimsgaming3434 2 года назад
Didi pascal's triangle bta doa solve nhi ho rh hai
@karthik4519
@karthik4519 2 года назад
Didi is course me DSA hoga kya ?? Should i learn java with you or should i learn c/c++ for competitive programming ?? :)
@mainak23_12
@mainak23_12 2 года назад
Java with didi🤗🥳😊
@snehadas4563
@snehadas4563 10 месяцев назад
Your explanations are really great didi... I would request u to please make videos on Java 8 concepts also.... if possible
@mohammedzuber1633
@mohammedzuber1633 2 года назад
// Write a function to print the sum of all odd numbers from 1 to n. public static void printOdd(int n ) { int sum =0; for(int i=1; i
@dhruvdornal803
@dhruvdornal803 2 года назад
bruh your method is correct but you could simply do this import java.util.*; class SumforOdd { public static void main(String[] args) { Scanner obj = new Scanner(System.in); System.out.println("Enter no:"); int n = obj.nextInt(); int sum = 0; for (int i = 1; i
@agniwehrai
@agniwehrai 2 года назад
I am unable to find notes of this lecture. kindly help. it is showing access issue. kindly share it with us
@budhadityachatterjee6270
@budhadityachatterjee6270 2 года назад
Can you please share the syllabus and timeline of Part 2 of this course ?
@Rahul-oz7kb
@Rahul-oz7kb 2 года назад
Didi you are explaining very briefly and
@mustakfog5076
@mustakfog5076 Год назад
I 'm 33years old (young) 9th pass but now I understand what is functions thank you teacher
@simrantiwari7752
@simrantiwari7752 2 года назад
is this the complete java course or is there anything still left in it??
@computer_tech98
@computer_tech98 Год назад
Best java course forever❤
@budhadityachatterjee6270
@budhadityachatterjee6270 2 года назад
Will this Java course be as detailed as the C++ course ?
@AnkitKumar-nx2tq
@AnkitKumar-nx2tq 2 года назад
It's better
@budhadityachatterjee6270
@budhadityachatterjee6270 2 года назад
@@AnkitKumar-nx2tq How do you know ?
@kulkarnisoham
@kulkarnisoham 2 года назад
@@AnkitKumar-nx2tq sooo true 💯 💯
@sohamwaghmare2801
@sohamwaghmare2801 2 года назад
Can someone help me nothing is working I did everything from first lecture like I copied same thing she wrote her's works but mines shows error
@XamsLyf
@XamsLyf 2 года назад
Problem 1 Solution 👇 /*Enter 3 numbers from the user & make a function to print their average. */ import java.util.*; public class Main { public static float average (float a , float b , float c) { float sum = (a+b+c)/3; System.out.println ("The average number is"); return sum; } public static void main (String []args) { Scanner sc = new Scanner(System.in); System.out.println("Enter the first number"); float a = sc.nextFloat(); System.out.println("Enter the second number"); float b = sc.nextFloat(); System.out.println("Enter the third number"); float c = sc.nextFloat(); System.out.println(average(a,b,c)); } }
@XamsLyf
@XamsLyf 2 года назад
Problem 2 solution 👇 /* Write a function to print the sum of all odd numbers from 1 to n.*/ import java.util.*; public class Main { static int sum = 0; static int sum (int n ) { for (int i =1; i
@XamsLyf
@XamsLyf 2 года назад
Problem 3 Solution 👇 /*Write a function which takes in 2 numbers and returns the greater of those two*/ import java.util.*; public class Main { static int Bignumber; public static void Num (int a , int b ) { if (a>b) { Bignumber = a; } else { Bignumber = b; } System.out.println("The greatest number between " + a + " and " + b + " is "+ Bignumber ); } public static void main(String args[]) { Scanner sc = new Scanner(System.in); System.out.println("Enter the first number"); int num1 = sc.nextInt(); System.out.println("Enter the second number"); int num2 = sc.nextInt(); Num(num1,num2); } }
@XamsLyf
@XamsLyf 2 года назад
problem 4 👇 /*Write a function that takes in the radius as input and returns the circumference of a circle.*/ import java.util.*; public class Main { public static void Num (double r ){ double Circumference = (2 * 3.14) * r ; System.out.println("circumference of the circle = " + Circumference ); } public static void main(String args[]) { Scanner sc = new Scanner(System.in); System.out.println("Enter the Radius"); double radius = sc.nextDouble(); Num(radius); } }
@XamsLyf
@XamsLyf 2 года назад
Problem 5 👇 /*Write a function that takes in age as input and returns if that person is eligible to vote or not. A person of age > 18 is eligible to vote.*/ import java.util.*; public class Main { public static void Num (int age ){ if (age>18) { System.out.println("You are eligble to vote") ;} else { System.out.println("You are not eligible"); } } public static void main(String args[]) { Scanner sc = new Scanner(System.in); System.out.println("Enter your age"); int yourage = sc.nextInt(); Num(yourage); } }
@XamsLyf
@XamsLyf 2 года назад
Problem 6 👇 public class Main { static void print(String value) { while(true){ System.out.println(value);} } public static void main(String[] args) { print("Subham"); } }
@tanu_matre
@tanu_matre Месяц назад
Didi I have solved 8/10 uestions without taking any online help ...... I know these are easy uestions but I tried to solve them....... 😅
@zafdell8170
@zafdell8170 2 года назад
Hello sir i have learned Django but don't know how to store image in database if anyone can help me. It would be great for me. Thank you in advance
@sheenu9393
@sheenu9393 2 года назад
Dii you are just awesome 🥰
@abhirupdas7962
@abhirupdas7962 Год назад
Q.10 Fibonacci Series ==> import java.util.*; public class fibonacciSeries { public static void main(String args[]){ Scanner sc = new Scanner(System.in); int sum=0, pre=0, next=1; System.out.print("Enter Limit = "); int limit = sc.nextInt(); for(int i=0; i
@alverstark9387
@alverstark9387 Год назад
Can anyone share the code for 7th que..?
@tahmeedaziz6840
@tahmeedaziz6840 Год назад
Answer of 9th question G.C.D' s solution is wrong.. try evaluating gcd of 10&25 using your.. it'll give 15 output. which is wrong.
@whimsical.me1
@whimsical.me1 6 месяцев назад
GREATEST COMMON DIVISOR... public class Main { public static void GCD(int a, int b) { int gcd = 1; int n = Math.max(a, b); for (int i = 1; i
@meghaghosh4877
@meghaghosh4877 Год назад
having problem with 7th q, did it with functn plse help import java.util.*; public class Main { public static int count ( int num, char choice) { int cp =0; int cz =0; int cn = 0; do { if ( num > 0) { cp++; } else if ( num < 0) { cn++; } else { cz++; } }while(choice=='y'); System.out.println("Positive numbers: " + cp); System.out.println("Negative numbers: " + cn); System.out.println("Zero numbers: " + cz); return num; } public static void main(String[] args) { //int num; Scanner sc = new Scanner(System.in); int num = sc.nextInt(); System.out.print("Do you want to continue y/n? "); char choice = sc.next().charAt(0); //int z; //Scanner sc= new Scanner( System.in); //int z = sc.next.Int(); //int n; //Scanner sc= new Scanner( System.in); //int n = sc.next.Int(); int count = count(num, choice); System.out.println(num); } } After entering y my input loop isn't ending
@meghaghosh4877
@meghaghosh4877 Год назад
@@maanas_sehgal I don't know why yt blocked the code, but I solved the problem already
@inertiaoffun6559
@inertiaoffun6559 Год назад
Pranam GURUDEV.🙏🙏
@StumpsAndWickets3
@StumpsAndWickets3 2 года назад
Is any bady. Tell me in vs code "&& javac class firstclass {.java && java class firstclass { Why get it this error. And please help me
@RoshanYadav-yl3kh
@RoshanYadav-yl3kh 2 года назад
mam can u suggest for this code
@RoshanYadav-yl3kh
@RoshanYadav-yl3kh 2 года назад
I am unable to get number of iteration as per user wise.
@wriddhihazra
@wriddhihazra 2 года назад
I would like to point out a mistake in the exercise sheet at the last question. The Fibonacci series which is shown as an example has the last term as 24, it will be 21 instead because the previous terms are 8 and 13 and 13+8=21 and not 24.
@XamsLyf
@XamsLyf 2 года назад
yes brother
@harshitwalecha5414
@harshitwalecha5414 2 года назад
Hey Wriddhi can you solve a short query ? Can we start code with java , like is it necessary to start with c ?? I am a new coder and very new with all this , would it be fine if I start with java directly ?
@aryansethia1371
@aryansethia1371 2 года назад
@@harshitwalecha5414 yep buddy you can start in java
@XamsLyf
@XamsLyf 2 года назад
@@harshitwalecha5414 you can start with java ✌️
@harshitwalecha5414
@harshitwalecha5414 2 года назад
Thnx guys 😄
@ashutoshpaswan4747
@ashutoshpaswan4747 2 года назад
Thanks you very much didi
@punnyaacharya2385
@punnyaacharya2385 10 месяцев назад
Didi 3rd qns mai main function mai dushre function ko kaise call karein. Pdf ke saath solution v mill jaata toh achha hota
@user-mu6wo2ov2v
@user-mu6wo2ov2v 7 месяцев назад
#Apna College & shradda didi rocks
@purveshsakharkarraistar2345
@purveshsakharkarraistar2345 Месяц назад
I am a fresher in college and I can solve all this questions with myself so am I on the right track or I have toh increase my speed of learning
@mohammadamir7056
@mohammadamir7056 9 дней назад
You are going on right track 👍
@Nikhilesh9807
@Nikhilesh9807 Год назад
Couldn't find the notes of thi lecture, please upload soon.
@piegionlife4125
@piegionlife4125 2 года назад
Didi, H.W krna kafi h ya code ki aur practice krni padegi please jaldi batana.🙏🙏🙏🙏
@cristianoankit0756
@cristianoankit0756 2 года назад
We can't access the Notes of this Lecture...........
@technikalproblem6780
@technikalproblem6780 Год назад
Thanks a lot for creating this video!
@clashwithaman6976
@clashwithaman6976 28 дней назад
Thanku so much ❤❤ didi
@neerusuri5630
@neerusuri5630 2 года назад
Apna college team Please update the playlist
@itaakesama
@itaakesama Год назад
The docs file for this lecture is not opening.
@barghavsanka3910
@barghavsanka3910 2 года назад
Very nice
@shvaibkhan4389
@shvaibkhan4389 Год назад
Is this complete series with all datastructure and algorithm
@MKTechnologyGyan
@MKTechnologyGyan 2 года назад
Thank you mam Places exercise WAP Question........
@BCAseWipro
@BCAseWipro 2 года назад
You are really great di 🙏
@Jay_Jay_Shree_Ram_
@Jay_Jay_Shree_Ram_ 2 года назад
Thanks Aman bhaiya and didi
@jassmanakfan555
@jassmanakfan555 2 года назад
Bhaiya after this please make a course on dbms and operating system also
@bubainath246
@bubainath246 Год назад
Thanks for everything
@kasapavan6844
@kasapavan6844 2 года назад
Great didi thanks a lot
@animania4074
@animania4074 Год назад
Can I do these by using methods
@digiflixindia8928
@digiflixindia8928 2 года назад
Thank you didi for these videos
@aryanrao7633
@aryanrao7633 2 года назад
didi jab koi integer hota hai tab sc.nextInt likhta hai. waisa he agar char hoga tab kya likenga, sc.nextchar?? paar aisa likhena sa wrong dikha raha hai. please boldigia.
@asadmajgaonkar229
@asadmajgaonkar229 2 года назад
char ch = sc.next().charAt(0);
@bhoomichhatbar
@bhoomichhatbar 3 месяца назад
question 9 : import java.util.*; class calculation { Scanner sc = new Scanner(System.in); public void calPosNum(int no1 , int no2) { int gcd = 1; //gcd : greatest common divisor int big_no; //bigger number if(no1 > no2) big_no = no1; else big_no = no2; for(int i = 1; i = 0 && no2 > 0 || no1 > 0 && no2 >= 0) obj.calPosNum(no1 , no2); if(no1 == 0 && no2 == 0) obj.calZero(no1 , no2); if (no1 < 0 && no2 < 0) System.out.println("sorry you enterd invalid number "); sc.close(); } }
@himeshkukadiya946
@himeshkukadiya946 2 года назад
Didi, Fibonacci series me 8 + 13 = 21 hota he. --> Aapne galtise 24 likh diya he? --> Ya fir 24 hi ana chahiye?
@SandeepSingh-px3sw
@SandeepSingh-px3sw 2 года назад
Amazing course...
@Ironman-tv4kf
@Ironman-tv4kf 2 года назад
Where is fibonacci series question discussed?
@sanjoo95-v7n
@sanjoo95-v7n Месяц назад
madam, cant find the solution
@arpitsrivastava2786
@arpitsrivastava2786 Год назад
where is the note of this lecture
@tanishqsoni1379
@tanishqsoni1379 2 года назад
Document are not available😟
@RaviKumar-jp7by
@RaviKumar-jp7by 2 года назад
great work thanks ♥️♥️♥️
@amit_karlekar
@amit_karlekar Год назад
Iss class k home works k solutions nahi hai?
@PankajChoudhary-bm5di
@PankajChoudhary-bm5di 2 года назад
Op , bolte 😘😎
@Rockss-kz5vn
@Rockss-kz5vn Год назад
Yh document download kyu nii ho rha?
@mayankdeshmukh5620
@mayankdeshmukh5620 Год назад
isme pichle lecture k practice qns k solns ni h ??
@krishnamishra992
@krishnamishra992 2 года назад
Please make a videos of its question's solution
@DTMASUYASHMISHRA
@DTMASUYASHMISHRA 2 года назад
Mam lecture 2 samaj nhi aaaya aapne kissi arrr chiz Mai saare codes likkhe Mera nhi aarha toh lecture 2 sai Mera pending hai 😭😭😭😭😭😭😭😭😭😭😭
@kashishraj1644
@kashishraj1644 2 года назад
bhai wo same code dono editors me chalta hai
@viveksaboo
@viveksaboo 2 года назад
please provide solutions of advance pattern homework problems
@bhoomichhatbar
@bhoomichhatbar 3 месяца назад
question 10 : import java.util.*; class my_class { public void cal(int n) { int a = 0; int b = 1; int c; System.out.print("THIS IS YOUR FIBONAKI SERIES....." + a + " , " + b); do { c = a+b; System.out.print(" , " + c); a = b; b = c; }while(c
@aryansingh7722
@aryansingh7722 Год назад
i coudn't solve question 6,7,9,10 is it time for me to admit that i am not good enough for coding
@AnkitKumar-ue3rr
@AnkitKumar-ue3rr 2 года назад
There's a mistake in question number 1 solutions For average of 3 number we should hv divide it with 3 . Bt in solution you divide it with 2.
@aditipatil2567
@aditipatil2567 Год назад
Where is solution
@sakirshaikh5604
@sakirshaikh5604 9 месяцев назад
Thank you didi.
@saiyampatil8744
@saiyampatil8744 Год назад
Where are the notes ?
Далее
❌Ему повезло больше всех #story
00:41
What's Your ENGLISH LEVEL? Take This Test!
21:31
Просмотров 2 млн
Learn JSON in 10 Minutes
12:00
Просмотров 3,1 млн
Functions / Methods in Java
1:30:31
Просмотров 843 тыс.
❌Ему повезло больше всех #story
00:41