BHAI PLS HELP I WANT TO RUN JAVA IN VS CODE IT WILL BE GREAT IF U SEE MY COMMENT and yes i got it correct 4.0, first i thought it is 4 then noticed that it is being stored as float so it will be 4.0 btw u didnt put an semicolon so some people might get confuse from that as i got at first sight
@UmKhan-sv9mv4 жыл бұрын
East or west harry bhaiya is the best thanks alot bhaiya for such a good course harry bhai dil de do yaar
@anjaneekumar-singh2 жыл бұрын
The 2nd problem can also be solved without type casting ... as char grade = 'A' ; grade += 8; // incrementing char without type casting Thank you harry bhai for all of this ♥😊
@yusrax32 жыл бұрын
um but char+int=int won't it raise error cuz the variable "grade" is char datatype
@anjaneekumar-singh2 жыл бұрын
@@yusrax3 i tried this... No error is raised
@yusrax32 жыл бұрын
@@anjaneekumar-singh i see, lemme test it myself later 🤔😅
@yusrax32 жыл бұрын
hey i test the code it worked fine but when i wrote "grade=grade+8" it raised an error n required type casting,can u explain how it worked without datatype conversion error using "+=" ?
@sbvforworld4290 Жыл бұрын
@@yusrax3maybe a special ability of +=
@PratikBanger2 жыл бұрын
// Question 4: Following exp in JAVA Program: V^2 - U^2 / 2as float a = 2, s = 2, v = 8, u = 2; float exp = (v*v - u*u) / (2*a*s); System.out.println(" "+exp);
@Jv_Singh372 жыл бұрын
Thnx 👍🤝
@Apka_shari Жыл бұрын
Great 👍 job.. appreciate your afforts...
@Apka_shari Жыл бұрын
Ap jaisa ACHA bndo ki wjah sa hum jaisa bndo ko guzara ho jata ha 😁...
@aasthawadhwa3370 Жыл бұрын
Isme value assign Krna zroori tha ?? Bina value diya q nh kr skte
@ganeshmore1482 Жыл бұрын
@@aasthawadhwa3370 input dena padega fir
@abhirupdey15912 жыл бұрын
Harry bhai earlier i only used to clear the theoretical concepts and whenever it comes to solve problems i used to run away from it because i could not find the logic behind writing the code but after watching your videos it helped me a lot and boosted my confidence thank you so very much for it these practice set questions are really helpful and amazing.... More such practice set questions will be really helpful to develop the concepts even more and boos confidence to touch complex programs Thank You for your contribution towards students like us with average knowledge in coding yet willing to learn the language
@erravindra191 Жыл бұрын
😊
@himanshumohod94677 ай бұрын
int v=4; int u=9; int a=5; int s=2; int sum=(v*v-u*u)/(2*a*s); System.out.println(sum); Sout(“brilliant harry bhai”);
@infomayet75553 жыл бұрын
Answer of Question 4: //Answer 4) float a = 5; float S = 6; float v = 7; float u = 8; float x = (v*v)-(u*u); float y = (2*a*S); float z = x/y; System.out.println(z);
@crazyartist4you Жыл бұрын
question no 4 float v=40; float u=4; float a=6; float s=8; float formula= (v*v - u*u) /(2*a*s); System.out.println(formula); answer is =16.5 thnq for this playlist
@Anyonymus1239 ай бұрын
Math.pow(base,exponent) Bachho wali sakkal leke bachho wali problem karte ho
@farheenbegum3717 ай бұрын
Please put f at every end
@StrongMind-q3k5 ай бұрын
@@Anyonymus123 lol i also thought to import math library
@hrittik_india2 ай бұрын
but answer should always come 1 becuase its rule 2as = v2 - u2 1 = v2 -u2/2as
@rahul_on_streets24 күн бұрын
Float=(V*V - U*U) /(2*a*s) ;
@abhilashnair27022 жыл бұрын
finally I am understanding things in JAVA.. Thank You Harry Sir..
@mayurigawande59733 жыл бұрын
The best day in my life when I found your channel in 1st year of my engineering ❤
@haiderbangash993 жыл бұрын
can u please help me?
@abhishek_._tiwari2 жыл бұрын
@@haiderbangash99 ask, we will sure try to help
@ankitasrivastava39662 жыл бұрын
ha ha samee lol
@riteshverma001 Жыл бұрын
Haa malum hai baap to mt sikha chal....
@vinodKumar-td6mb3 жыл бұрын
float v=4.0f; float u =5.0f; float a =2.0f; float s =3.0f; float qwes = (v*v-u*u)/(2*a*s); System.out.println(qwes); thank you very much harry sir i really love this java course. it is very useful to us.
@shivshankarkumarchaudhary69032 жыл бұрын
hello isska outpur -0.75 aaya hai kya batayeiye please
@s.vsatya73382 жыл бұрын
Cant we use type cast operator for Q1..To make the value as float.
@Bhakti_Darshan_TV2 жыл бұрын
@@shivshankarkumarchaudhary6903 ji
@hsetips25742 жыл бұрын
It took me a long time to find you ... by the way I got it... that's great... One more things I am interested in learning of Coding programs... I searched many videos in last few days but not satisfied there but here I feeling better and my journey is continued with you.. I seen your this series from beginning to till yet..and also i will finish it because it's interesting, easiest and helpful... 😊 I salute your hard work... Thank you so much ❤️🙏
@Rohitkumar-ok2oc2 жыл бұрын
10:39 float a = 2f; float S = 4f; float v = 8f; float u = 4f; float frml = (v*v - u*u) ; float total = frml / (2*a*S) ; System.out.println(total);
@saurabhlambore53522 жыл бұрын
(v*v - u*u) /2*a*s
@craftvsgaming68342 жыл бұрын
Bro yaha par ham Float a = 2.0f Kar sakte hain
@Rohinishff2 жыл бұрын
import java.util.Scanner; public class Pratice_set { public static void main(String[] args) { Scanner sc = new Scanner(System.in); System.out.println("What is value of V"); float v = sc.nextFloat(); System.out.println("What is value of U"); float u = sc.nextFloat(); System.out.println("What is value of A"); float a = sc.nextFloat(); float answer = (v*v)-(u*u)/(2*a*5); System.out.println(answer); } }
@Rohitkumar-ok2oc2 жыл бұрын
@@craftvsgaming6834 yes bro
@starvingbits2 жыл бұрын
thanks brother , i'm really thinking so hard but i didn't get it , after watching your comment i get it. i am using integer instead of float.
@musiciantirth37104 жыл бұрын
10:30 answer (v*v-u*u)/(2*a*s)
@AshishKhetwal9 ай бұрын
Harry bhai due to people like you on the internet, today nothing is impossible, you have developed my interest so much in coding, I can't express my gratitude towards you. Always learning from you. Thank you so much for everything you do for us
@Pmu4303 жыл бұрын
Placed in Infosys..my first training language is java ..I am from non cs background.. thanks u for explaining java in easiest way.. it's too helpful for me!
@vaibhavnayak34163 жыл бұрын
your qualification? and which role?
@Pmu4303 жыл бұрын
@@vaibhavnayak3416 be mechanical System engineer
@DevilGaming-ww6vb Жыл бұрын
Bro i want to talk with you
@DevilGaming-ww6vb Жыл бұрын
Bro what all u did to get placed in Infosys only this playlist helped u to place in Infosys
@Akashyadav-rd1eo Жыл бұрын
I m bcom but dining these can I land a job ?
@maheshmahadar47804 жыл бұрын
for calculating two digits kids use calculator man use mobile legend use URL big fan harry bhai
@shardanegi38454 жыл бұрын
Ultra Legend use Java to calculate
@avi_vai3 жыл бұрын
@@shardanegi3845 like me!🤣🤣
@Victor-ev3vu3 жыл бұрын
And God doesn't calculate
@avi_vai3 жыл бұрын
@@Victor-ev3vu 😄😄
@MrPR-xc5io3 жыл бұрын
@@Victor-ev3vu like me
@malihaaamir3329 Жыл бұрын
Amazing content sir thankyou Soo much for this seriously dol karta hai kai jav karti rhun mera second semester chal rha hai first ami c parhyai thi uni mai maind chorne ka fiasla karfi atha programming ki wjh se likin ab yaqeen hai inshallah hojayega.❤ thankyou sir from Pakistan
@sambhajikenche19643 жыл бұрын
float v = 10; float u = 2; float a = 5; float s = 4; float sc = (v * v - u * u) / (2 * a * s); System.out.println(sc); Output: 2.4
@destination383611 ай бұрын
out put should be 60.0
@maazahmad34052 жыл бұрын
I really don't have words to describe your hard work and dedication. Thank you harry bhayya lots of love
@hemlatakhandelwal8384 Жыл бұрын
Like seriously i m in love with your teaching. i m literally learning and enjoying...best teacher thankyou so much ❤❤❤❤❤
@sunnygupta59413 жыл бұрын
public class PracticeSet{ public static void main (String args[]){ float v = 10.0f; float u = 5.0f; float a = 6.0f; float s = 8.0f; float i = (v*v - u*u)/(2*a*s); System.out.print(i); } } Result = 0.7815 Thankyou Harry Sir❣️
@metalord8182 жыл бұрын
why do u take float value ? u can take int value also, right?
@akhilesh_14_2 жыл бұрын
Bhai isme Maine float ke jagah int likh diya hai Aur float i = (v*v-u*u) /(2*a*s) ; aise hi rehne diya hai to answer float mjhe float me chahiye but answer int me aa rha hai aisa ku Please tell 🙏
@akhilesh_14_2 жыл бұрын
@@metalord818 same bro int le rahe to answer float me nhi aa rha hai ku
@sunnygupta59412 жыл бұрын
What if your answer will come in decimals.....
@sunnygupta59412 жыл бұрын
@@metalord818 Use Float instead of Int to get answer in decimals (float)
@pavitsingh69084 жыл бұрын
I really love their courses 🧡🧡
@abhistraj42842 жыл бұрын
Q. 4.. int v = 10; Int u = 20; Int a = 15; Int s = 30; float k = (v*v - u*u) /(2*a*s) ; System.out.println(k);
@Aashirwad_Tyagi Жыл бұрын
// Question 4 int v = 8; int u = 2; int a = 8; float sum = (v*v - u*u) / (2.0f*a*5.0f); System.out.println(sum); Thank you Harry sir for this course😀🙏
@soumyasahu18753 ай бұрын
its s not 5
@ankursingh5704 жыл бұрын
public static void main (String [] args){ Scanner sc = new Scanner(System.in); float v = sc.nextFloat(); float u = sc.nextFloat(); float a = sc.nextFloat(); float s = sc.nextFloat(); float ans = (v*v -u*u) / (2*a*s); System.out.println(ans); }
@KnowWithAbhi4 жыл бұрын
Yes
@lyrical890174 жыл бұрын
@@SRNEntertainment no need in itellije it get accses
@azamcangame52534 жыл бұрын
first, I tried doing it myself, answer was always 0.0, then I tried yours....answer is still coming 0.0 no matter what the value of float is
@azamcangame52534 жыл бұрын
@@subzeroforyou3728 THX bro(for helping me out)
@r.k_collection6 ай бұрын
import java.util.Scanner; class HelloWorld { public static void main(String[] args) { Scanner sc = new Scanner(System.in); System.out.println("Enter the value of v "); float v = sc.nextFloat(); System.out.println("Enter the value of u "); float u = sc.nextFloat(); System.out.println("Enter the value of a "); float a = sc.nextFloat(); System.out.println("Enter the value of s "); float s = sc.nextFloat(); float total = ((v*v - u*u) / (2.00f*a*s)); System.out.println(total); System.out.println("total ka answer sahi nahi dai raha hai"); } }
@blinx_edits2 жыл бұрын
Bhaiya your channel is just amazing . The questions you gave are tricky but so good and helped me learn so much . Thank you for this amazing course !!
@asharma87404 жыл бұрын
// Question 4 int v = 10; int u = 4; int a = 2; int s =1; int ans = ( v*v-u*u)/(2*a*s); System.out.println(ans);
@ssrcrushergaming2 жыл бұрын
wrong
@IITianTaniya Жыл бұрын
//Question 4 float v = 4.0f; float u = 2.0f; float a = 1.0f; float s = 4.0f; float k = (v*v-u*u)/(2*a*s); System.out.println(k);
@jackkkkz Жыл бұрын
1.5
@gtaanime62513 жыл бұрын
float v = 10.0f, u = 5.0f, a = 3.0f, s = 2.0f; (v * v - u * u ) / (2 * a * s) Result :- 6.25
@tejaltiwari94093 жыл бұрын
Tq it helped me😌
@myCodingJourney023 жыл бұрын
@@tejaltiwari9409 thanks
@gaanaparadise14393 жыл бұрын
@LALIT BISHT no bro if we remove brackets then the ans is 25.0 . harry bhai plz help us
@Abd501developer3 жыл бұрын
bhai galat hai answer 1.75 aayega
@Abd501developer3 жыл бұрын
public class Practice2Ka4 { public static void main(String[] args) { float v = 5.0f; float u = 2.0f; float a = 3.0f; float s = 2.0f; float f = (v*v - u*u) / (2*a*s); System.out.println(f); } }
@stalkstocks65273 жыл бұрын
Q3 ,me shayad bollen karke comparison chaheye tha Scanner sc =new Scanner(System.in); System.out.println("Enter Comparison Number"); int a = sc.nextInt(); boolean b = (8>a); System.out.println(b);
@surajwaghmare52273 жыл бұрын
Bro we're r the notes of java ... Help me to find it
@stalkstocks65273 жыл бұрын
Bro just go to description and check out
@sagnikroy507 Жыл бұрын
public static void main(String[] args) { float v = 2.0f; float u = 1.0f; float a = 1.0f; float s = 2.0f; float x = (v*v - u*u)/(2*a*s); System.out.println(x);
@PieStreams Жыл бұрын
Thanks. Actually I Was Getting Wrong Answers Because Of Not Inserting Parentheses After Division (2*a*s); After Going Through Your Solution I Was Able To Get It !! Thanks Sagnik Roy. I Hope I Spelled It Right 😅😅
@rudrakshcodes4 жыл бұрын
Hey Bro please make a video on how you learned all the programming languages, How was your journey, it would be very interesting....
@raghavgupta61864 жыл бұрын
By implementing them when needed.
@PirateKingLuffy-c4q4 жыл бұрын
Maybe books or tuitions
@akashbhade13054 жыл бұрын
They are from IIT Kharagpur
@raghavgupta61864 жыл бұрын
@@akashbhade1305 College doesn't matter
@ashupathak95224 жыл бұрын
@Rohan Rathour abe wo iit hai, surajmal ni
@priyansujohn22083 жыл бұрын
HarrY Sir I feel like You're the Harry of the Harry Potter with Your Elder Wand.... What I Mean Is I Love Your Teaching 😁 and Continue to See you in your Videos ... Thanks 😊
Harry sir , you are the best computer teacher . I have never studied with such a good teacher. Salute you , I didn't have words to say. I have a request please make a playlist of wordpress,,I have watched your wordpress in one video but not understand properly . So please make a playlist on wordpress . Thank you 🙏🙏
@prasenjitnayak_ Жыл бұрын
// Question 4 import java.util.Scanner; public class Question4{ public static void main(String args []){ Scanner sc = new Scanner(System.in); System.out.println("Enter numbers to be calculated"); System.out.println("Enter the value of v"); float v = sc.nextFloat(); System.out.println("Enter the value of u"); float u = sc.nextFloat(); System.out.println("Enter the value of a"); float a = sc.nextFloat(); System.out.println("Enter the value of s"); float s = sc.nextFloat(); float ds = (v*v-u*u)/(2*a*s); System.out.println("Your Output is "+ds); } } // it was a little bit advanced version
@Mrviraledz Жыл бұрын
Bro.. Some doubt.. Help me
@Mrviraledz Жыл бұрын
Sout("your output is"+ds) ; in this line why u are using +ds can you explain 🙏
@DematManish Жыл бұрын
10:36 //Question 4 public class Main { public static void main(String[] args) { int v = 100; int u = 20; int a = 30; int b = (v^2)-(u^2); int n = 2*a*b; float ans = b/n; System.out.println(ans); } }
@MamunKhan-gy9er3 жыл бұрын
10:30 -> (v*v-u*u)/(2*a*s)
@abhishekxd80723 жыл бұрын
@Faizan Ali Memon it depends on what values the user is entering
@navigill55272 жыл бұрын
The complete practice set: import java.util.Scanner; public class PracticeSet2 { public static void main(String[] args) { // Question 1 float t = 7/4.0f * 9/2.0f; System.out.println(t); // Question 2 // encrypting a grade char grade= 'B'; grade = (char)( grade +8); System.out.println(grade); // Decrypting a grade grade = (char)( grade -8); System.out.println(grade); // Question 3 int given_number = 45; Scanner sc = new Scanner(System.in); int user_input = sc.nextInt(); System.out.println(user_input>given_number); // Question 4 float v = 3; float u = 6; float a = 5; float s = 4; float total = (v*v - u*u)/(2*a*s); System.out.println(total); // Question 5 int z = 7*49/7+35/7; System.out.println(z); } }
@swetha1160 Жыл бұрын
about question 4 , wasnt it to print the formula?
@durvexh Жыл бұрын
no @@swetha1160
@Spd02344 ай бұрын
Thank you so much sir🥺❤️🩹
@Dxiag1234 жыл бұрын
Great. Harry Bhai, you always make a smile on our face everytime. This revolution is going to be legendary.🙇🏻♂️🙇🏻♂️
@futurebillionare3712 жыл бұрын
Jyafa English mat pel
@Dxiag1232 жыл бұрын
@@futurebillionare371 Ajeeb BKL hai..
@yashgour72664 жыл бұрын
*Upload video frequency in java playlist humble request* . . . . *Like if u agree*
@parthmalaviya75044 жыл бұрын
Harry bhai if possible can you make it 2 videos per day
@komaldugar144 жыл бұрын
@@parthmalaviya7504 he is managing 3 playlists in one day bro. You dont know how much hardwork he is doing for us in free. He is uploading nearly 3-4 vids per day. In worst case 2
@FallenSnow4 жыл бұрын
@@parthmalaviya7504 jaydat hi likhwalo bro
@lovegeneration271611 ай бұрын
float v = 7; float u = 8; float a = 2; float s = 4; float obj = ( v*v - u*u) / (2*a*s); System.out.println(obj); output :- -0.9375
@shivam._official_2 жыл бұрын
// Practice set questions no - 4 public class Main{ public static void main(String[] agrs) { int v = 7 ; int u = 5 ; int a = 2 ; int s = 2 ; int formula = (v*v - u*u ) / (2 * a* s) ; System.out.println(formula ) ; } } output : 3
@gddsgaming17632 жыл бұрын
Without brackets 1
@harshchandel82532 жыл бұрын
Vro ye values khud Li h ?
@rajagamer5738 Жыл бұрын
dude its not the right answer because the expression is not about associativity its about which arithematic operator has more precedence so the right output will be 45 as per you've taken int
@saketgunjansrivastava79004 жыл бұрын
Best way to teach bro start teaching wid same procedure throughout ur playlists 🤘
@LEGENDGaming-dx1of10 ай бұрын
Hi Bro! I really love your Java tutorial and I loved your videos. As your pinned question my answer is no. The answer of Q # 4 is ; Scanner sc = new Scanner(System.in); float v = 7.0f; float u = 9.0f; float a = 16.0f; float s = 13.0f; float sol = (v*v - u*u)/ (2*a*s); System.out.println(sol);
@piplicorn45899 ай бұрын
-3328.0?
@TheTop-tx9js4 жыл бұрын
System. out. print ("Thanks sir for your java playlist you are awesome"); respect++;
@avi_vai3 жыл бұрын
++respect;
@iamhappy78743 жыл бұрын
System.out.println("lmao");
@anantgupta11883 жыл бұрын
@@avi_vai System.out.println("r/woooooosshhhh");
@avi_vai3 жыл бұрын
@@anantgupta1188 haha
@Unstoppable.Sakshi2 жыл бұрын
Time-9:31 public class velocity{ public static void main(String[] args){ int v =12; int u=10; int a =5; int s=1; float k=(v*v - u*u)/2*a*s; system.out.println(k); } }
@sahilpatil54452 жыл бұрын
Wrong hai Right : (v*v-u*u)/(2*a*s)
@AliHassantalks5 ай бұрын
Thankyou so much sir for playlist. public static void main(String[] args) { int u = 3; int v = 5; int S = 4; int a = 6; int k= (v*v-u*u)/(2*a*S); System.out.println(k);
@dhirajmathankar63852 жыл бұрын
Thank you so much for this Awesome course with notes. int v = 2 int u = 2 int a = 2 int s = 2 int calculation = (v *v - u*u)/(2*a*s) FINAL ANS :- 0
@Lord_SP2 жыл бұрын
Bro where is semicolons?
@satyamsahu242 жыл бұрын
bhai obviously 0 ayega
@shantanulamba35994 жыл бұрын
He is getting almost 1k subscribers a day!!
@tanishbhosale16753 жыл бұрын
Because he is hard worker
@YogeshSharma-lu4qr Жыл бұрын
public class express { public static void main(String[] args) { float v = 5.0f; float u = 2.0f; float a = 3.0f; float d = (v*v - u*u) / 2*a*5; System.out.println(d); } }
@strangerme42663 жыл бұрын
harry bhai i request you to teach us to make any small software at the end of the java courses like the school management system library management system or anything like it. with GUI too.
@abheygupta23324 жыл бұрын
I can see chapter 3 notes' impression 😁😁😁
@Rohit-0019 Жыл бұрын
I am watching this course after 2 years thanku
@kunalsingh00912 жыл бұрын
ans 4 = package Percectage; import java.util.Scanner; public class prac { public static void main(String[] args) { Scanner sc = new Scanner(System.in); System.out.println( "write the value of v "); float v = sc.nextFloat(); System.out.println( "write the value of u "); float u = sc.nextFloat(); System.out.println( "write the value of a "); float a = sc.nextFloat(); System.out.println( "write the value of s "); float s = sc.nextFloat(); System.out.println( ((v * v) - ( u * u ))/(2 * a * s) ); } } mine one is even more advance because I am taking input from user. yess, you can thank me for giving my special code to you.
@Rahul-gc3eq Жыл бұрын
If only I have to print the equation soo what I code?
@muhammadsultan3515 Жыл бұрын
very nice bro but what are the input values you take after you get answer 4?😊
@PrishaXD Жыл бұрын
@@Rahul-gc3eq int v = 55; int u = 44; int c = (v*v) - (u*u); int e = c/295; System.out.println(e); use this
// 3 int u = 7; int v = 8; int a = 5; int s = 7; int sum = (v*v-u*u)/(2*a*s); System.out.println(sum);
@hellosir14953 жыл бұрын
Hi Harry, Could you please share the PDF of you notes for all the pages together. Your teaching style is really awesome.
@aniketb3513 Жыл бұрын
he has already provided the link of notes in the description.
@ngxlerate4 жыл бұрын
System.out.print("who is the best teacher for coding:"); System.out.println("harry is the best teacher for coding");
@akshatsharma66444 жыл бұрын
Are you getting notes
@akshatsharma66444 жыл бұрын
@Tawfeeq Barik yes
@akshatsharma66444 жыл бұрын
@Tawfeeq Barik I think so that harry sir is forgetting
@akshatsharma66444 жыл бұрын
@Tawfeeq Barik in this java course only bro
@fastcar5444 жыл бұрын
Bruh this code could have been soo much better but......
@ayush21sahoo9 ай бұрын
at around 03:43 if we will only add a 'f' with number 4 that will also work as when u do any kind of mathematical operation with float data type (f) with any integer(int) or if we do any kind of mathematical operation with double data type(d) with integer data type(int) the resultant will be also float/double and we can also do that by writing '4f' instead of '4.0f' as adding f will make it float only so there is no need of adding an additional 0 like - in above video - float a = 7/4.0f * 9/2.0f but to save time we can also do = float a = 7/4f * 9/2
@luxocity92684 жыл бұрын
Sir thanks for making videos on java I am really thankful and please keep bringing java so that we can become pros too ❤️❤️❤️
@BhaktaBhusanDas3 жыл бұрын
System.out.print("Enter the value of v:"); Scanner input=new Scanner(System.in); float v=input.nextFloat(); System.out.print("Enter the value of u:"); float u=input.nextFloat(); System.out.print("Enter the value of a:"); float a=input.nextFloat(); System.out.print("Enter the value of s:"); float s=input.nextFloat(); float result=((v*v)-(u*u))/(2*a*s); System.out.println("result is "+result);
@s.vsatya73382 жыл бұрын
Cant we use type cast operator for Q1..To make the value as float.
@dhruvverma1901 Жыл бұрын
10:32 answer is 210 int v = 4; int u = 2; int a = 7; int sum = (v*v-u*u)/2*a*5; System.out.println(sum);
@MonuCodeCrafters4 жыл бұрын
Should be written after main class.. System.out.println((v*v)-(u*u)/(2*a*5));
The answer of fourth question is : System.out.println("Q4. Evaluate the expression : v*v - u*u / 2*e*5"); int v = 20; int u = 30; int e = 25; int evaluation = (v*v - u*u ) / (2*e*5); System.out.println("The answer is : " + evaluation); // The final answer is -2
@KodiLearn4 жыл бұрын
No one knows that the best pdf viewer is microsoft edge
@sunilsangolkar82416 ай бұрын
best coding playlist harry bhai
@akshatsharma66444 жыл бұрын
Sir notes nahi hai Sir answer will be ((v*v - u*u)/(2*a*s))
@Trex878018 күн бұрын
10:32 Only firmula (V*V - u*u) / (2*a*5)
@Avenenon Жыл бұрын
public class pr03 { public static void main(String[] args) { float v=12; float u=11; float a=2; float s=3; float z=(v*v-u*u)/(2*a*s); System.out.println(z);
@inzaik33862 жыл бұрын
Practice question no 4 float v = 4.0f; float u = 6.0f; float a = 3.0f; float s = 7.0f; float formula = ( v*v - u*u ) / ( 2*a*s ); System.out.println(formula); Ans -0. 47
@sejalsanjayvamja10 ай бұрын
Sir maine bhi java pathana start kiya hai....thoda hard hai...15 saal.ke break ke baad study chalu huva hai....but achha chal raha hai course. Thoda speed jyada hai...word bahut naye naye hai....but aap itna dil se pathate hai to lagta hai ki quit nahi karungi...heartly thx
@sejalsanjayvamja10 ай бұрын
This reply is for previous lesson....
@TusharKumar-iu4nt2 жыл бұрын
Bhai majje aagaye.. For the first time coding aasaan lag rahi hai!!
@Nerdboy172 жыл бұрын
Practice Set Q-4: int v = 5; int u = 3; int s = 7; int a = 4; int result = (v*v-u*u) / 2*a*s; System.out.println(result); Output = 224
@musicalclouds745 Жыл бұрын
Denominator also should be in Parentheses,As a and S get multiplied to result of (v²-u²/2). 👍Like if my opinion is correct.
@zrcoding28322 жыл бұрын
thank you harry bhai ! 😇😇
@arshuarshad15514 ай бұрын
Question no.4 is given below public class Q4 { public static void main(String[] args) { int v = 2; int u =1; int a = 3; int s =6; int k = (v*v-u*u)/(2*a*s); System.out.println(k); } } output = 0
@PrishaXD Жыл бұрын
ans for qs 5 int d = 7; double f = 7*49/7 + 35/7; System.out.println(f);
@LaxmikantKore10 ай бұрын
finally I am understanding things in JAVA.. Thank You Harry Sir.. but I want all chapter notes ....please send it..
@rahulkadam6655 Жыл бұрын
Amazing java course🎉🎉
@laxmibabar8330 Жыл бұрын
Thankyou harry❤️i learnt so much from ur vdo’s than my college in 4 years
@princestudiokarahal62073 ай бұрын
Thanks you sir ❤❤❤❤
@spidey_DeViL7996 Жыл бұрын
sir i have a ques , aapki web development wali playlist ke sath sath mai java bhi sikh sakta hu ya fir pehle java complete fir baad mei web development please reply sir❤
@The_sanatan_zone Жыл бұрын
class Main{ public static void main(String args[]){ float v=2; float u=3; float a=4; float s=1; float k=(v*v-u*u)/(2*a*s); System.out.print(k); } }
@chingaari135311 ай бұрын
thanks for this amazing playlist love you brother 😘
@shivakantjaiswal2 жыл бұрын
import java.util.*; class Question{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int a=1,s=2,u=3,v=4; float b = (v*v-u*u)/(2*a*s); System.out.println(b); } }
@official.shubhu2 жыл бұрын
Question - 4 class HelloWorld { public static void main(String[] args) { int v = 4; int u = 7; int a = 3; int S = 9; int g = (v * v - u * u)/ (2* a * S); System.out.println(g); }
@rok1394 Жыл бұрын
import java.util.Scanner; public class Main { public static void main(String[] args) { int v=9; int u=6; int a=2; int s=3; float i = (float) ((v*v) - (u*u)) / (2*a*s); System.out.println(i); } }
@BholaKumar-rbs Жыл бұрын
You are great 💯
@sujalsharma261324 күн бұрын
Thanks sir ❤
@48_subhambanerjee22 Жыл бұрын
class HelloWorld { public static void main(String[] args) { int v=2,u=3,a=1,s=5; System.out.println("The result is: "); double res = (double)(v*v -u*u)/(2*a*s); System.out.println(res); } } answer is: -0.5
@cott6984 Жыл бұрын
Solution of que. 4 We can do it by taking the value from the user... import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); System.out.println("enter the value of v:"); int v = scan.nextInt(); System.out.println("enter the value of u:"); int u = scan.nextInt(); System.out.println("enter the value pf a: "); int a = scan.nextInt(); System.out.println("enter the value of s: "); int s = scan.nextInt(); int solve = (v*v-u*u)/2*a*s; System.out.println(solve); } }