ar
Feedback
TechShiksha by Badkul Technology

TechShiksha by Badkul Technology

الذهاب إلى القناة على Telegram

https://www.youtube.com/@TechShikshaBT Learn Java programming for free Free hand written notes Free ebooks Free assignment support Paid assignment support

إظهار المزيد
4 972
المشتركون
-424 ساعات
-147 أيام
-6330 أيام
أرشيف المشاركات
Newly Joined Members subscribe to our channel to learn programming and crack written exams. https://www.youtube.com/c/frbjava

/* Question - 19 Java Program To Find Fibonacci Series */ package ABC; import java.util.*; public class Main { public static void main(String[] args) { int Num1=0,Num2=1,Num3,Total_Num; Scanner S = new Scanner(System.in); System.out.print("Fibonacci Series Upto :"); Total_Num = S.nextInt(); for(int i=1;i<=Total_Num;++i) { System.out.print(Num1+","); // Printing The Next Terms Num3 = Num1 + Num2; Num1 = Num2; Num2 = Num3; } } }

#Quiz_Java (Question - 99) Which method is used for concatenating two strings?
Anonymous voting

#Quiz_Java (Question - 97) How to create constant variable?
Anonymous voting

#Quiz_Java (Question - 97) How to create constant variable?
Anonymous voting

Can you take array as input from user?
Anonymous voting

Next in our written exam solution series Sherlock number this was asked in Mindtree 21st and 22nd Feb https://youtu.be/H-COtpDvupo

#Quiz_Java (Question - 96) Which of the following type is immutable?
Anonymous voting

Next in our basic java series Conditional Statements https://youtu.be/tbuCA5eM_LM

/* Question - 06 Java Program To Find Quadratic Equations */ package ABC; import java.lang.Math; import java.util.*; public class Main { public static void main(String[] args) { double A,B,C; double P,Q; Scanner s = new Scanner(System.in); System.out.print("Enter The Value Of A :"); A = s.nextDouble(); System.out.print("Enter The Value Of B :"); B = s.nextDouble(); System.out.print("Enter The Value Of C :"); C = s.nextDouble(); double discrement = B*B-4*A*C; if(discrement>0) { P = ((-B+Math.sqrt(discrement))/2*A); Q = ((-B-Math.sqrt(discrement))/2*A); System.out.printf("The Quadratic Equations Are P:"+P+" Q:"+Q); } else if (discrement == 0.0) { double r1 = -B / (2.0 * A); System.out.println("The root is " + r1); } else { System.out.println("Roots are not real."); } } }

/* Question - 07 Java Program To Find Whether The Given Number Is Prefect Number Or Not */ package ABC; import java.util.*; public class Main { public static void main(String[] args) { int Num,Count=0,Sum=0,Var; Scanner s = new Scanner(System.in); System.out.print("Enter The Number :"); Num = s.nextInt(); Var = Num; for(int i=1;i<Num;i++) { if(Num%i==0) { Sum = Sum + i; } } if(Sum==Var) { System.out.println(Num+" Is A Perfect Number"); } else { System.out.println(Num+" Is Not A Perfect Number"); } } }

photo content

Guys I am seeing many people are struggling to even paste code if given. All such people should subscribe to our channel and practice along with me https://www.youtube.com/c/FrbJava

A in the string Java code
A in the string Java code

Alternate consecutive sum code
Alternate consecutive sum code

Newly Joined members Please subscribe to our channel below to learn coding https://www.youtube.com/c/frbjava Soon we will share all the solutions of mindtree exams

All answers of mindtree written