*Here is the Program:-* import java.util.Scanner; public class PhloemNumber{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); System.out.println("Enter a number"); int n = sc.nextInt(); String num = ""+n; int len = num.length(); int corner1 = n%10; int corner2 = n/((int)Math.pow(10,len-1)); int cornerSum = corner1 + corner2; int middle = Integer.parseInt(num.substring(1,len-1)); int t=middle,rem=0,middleSum=0; while(t>0){ rem = t%10; middleSum+=rem; t/=10; } if(cornerSum == middleSum) System.out.println("It is a Phloem Number"); else System.out.println("It is not a Phloem Number"); } } *Here is the Output:-* Enter a number 34326 It is a Phloem Number Enter a number 3445 It is a Phloem Number Enter a number 9562 It is a Phloem Number Enter a number 12321 It is not a Phloem Number Enter a number 159512 It is not a Phloem Number *_HOPE IT HELPS_*
Id i request you to upload videos on 2024 paper strategy of biology and physics and english and maths..... Sir i request you please sirrrrrrrrr........ You are the best teacher
Sir you have already solved this program in solving ICSE 2023 specimen paper❤❤.thanks anyways sir. Sir can you do special number program from ICSE 2014 paper
@@AmplifyLearning Ques1)A numbers is called "Mystery number" , if the number can be expressed as the sum of two numbers and those two numbers should be the reverse of each other For example: Ex 1:- Input 154 59+95=154 154 is a mystery number Ex 2:- 22 11+ 11=22 Ex 3:-24 12+12=24 24 is not a mystery number Ques2)An "Anagram" of a string is another string that contains the same characters with the same frequency , only the order of characters can be different. Example 1:- Input : str1="listen" str2="silent" output : Anagram words Example 2:-str1="arm" str2="gram" output: Not an anagram words Example 3: CAT & ACT are anagram Looking forward for your upcoming video Your subscriber,
sir is it possible for you to make a long video and cover some important algorithms (from exam's perspective). like how to solve number based questions (teach recursion and other general ways) how to solve string problems searching and sorting algorithms .
Sir I have a doubt Is there any specific use of do while loop in any program Means can we use while loop in a case where we can use do while or is there any case where there is no other option other than using do while. Because most of the program i have seen is done by using for and while loop there is mo use of do while loop.
Sir Please upload videos on topics like • type casting • difference between Math.rint and Math.round • Function of continue and break statements Please upload videos on this topics it will be of great help
Sir aajkal aapki videos nhi dekhra. Plz make vids on class11 as well. And specially on mathematics and Physics since I have taken bio. And I am also grateful to you for I have scored a 96 in comp just bcoz of you😂🎉❤ seriously computer mein zindagi mein itna number nhi dekha tha😮😮
Import.java.util.*; Class prg { PSVM(string args[ ]) { Scanner in = new scanner(system.in) Int i, d , s=0, n; SOPLN ("Enter a number") n= in.nextInt(); i=n while(i>0) { d=i%10; s=s+d; } if ((int)math.pow(s,3)==n) Sopln(dudeney number:"+d); Else Sopln(not a dudeney number:"+d) } } I have shown you the easiest way to slove this program
Thank u soo very much for doing the video sir...
System.out.println ("Thank you sir") ;
Sir ka asli sincere student 👍
No sarcasm
error: class is not declare😂🙂
Thank you bolne ka tarika thora cazual h
@@dynasticgamingyt7843 tum to conqueror gaye ho💀
Sir you deserve million of subscriber
And 1 day you will be with million.
All the best for today exam
sir u made this topic crystal clear😇 .... thank youu😊, we need more videos like this
Sir make a video on phloem number
Eor ex:34326
Sum of corner digit = 3+6 = 9
Sum of middle digit = 4+3+2 = 9
*Here is the Program:-*
import java.util.Scanner;
public class PhloemNumber{
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
System.out.println("Enter a number");
int n = sc.nextInt();
String num = ""+n;
int len = num.length();
int corner1 = n%10;
int corner2 = n/((int)Math.pow(10,len-1));
int cornerSum = corner1 + corner2;
int middle = Integer.parseInt(num.substring(1,len-1));
int t=middle,rem=0,middleSum=0;
while(t>0){
rem = t%10;
middleSum+=rem;
t/=10;
}
if(cornerSum == middleSum)
System.out.println("It is a Phloem Number");
else
System.out.println("It is not a Phloem Number");
}
}
*Here is the Output:-*
Enter a number
34326
It is a Phloem Number
Enter a number
3445
It is a Phloem Number
Enter a number
9562
It is a Phloem Number
Enter a number
12321
It is not a Phloem Number
Enter a number
159512
It is not a Phloem Number
*_HOPE IT HELPS_*
Id i request you to upload videos on 2024 paper strategy of biology and physics and english and maths.....
Sir i request you please sirrrrrrrrr........
You are the best teacher
How to find largest, second largest and smallest in array .
Please..
Sir aej se pahele kabhi kese itna acha nahi pedhaya jase aep pedhate ho .....Thanku sir
Sir plzz make a strategy video for both maths and geography. Plzz make a video as soon as possible
Sir you have already solved this program in solving ICSE 2023 specimen paper❤❤.thanks anyways sir. Sir can you do special number program from ICSE 2014 paper
Sir please tell Mystery & Anagram number .
Send me the complete question, I will make it.
@@AmplifyLearning
Ques1)A numbers is called "Mystery number" , if the number can be expressed as the sum of two numbers and those two numbers should be the reverse of each other
For example:
Ex 1:- Input 154
59+95=154
154 is a mystery number
Ex 2:- 22
11+ 11=22
Ex 3:-24
12+12=24
24 is not a mystery number
Ques2)An "Anagram" of a string is another string that contains the same characters with the same frequency , only the order of characters can be different.
Example 1:- Input : str1="listen" str2="silent"
output : Anagram words
Example 2:-str1="arm" str2="gram"
output: Not an anagram words
Example 3: CAT & ACT are anagram
Looking forward for your upcoming video
Your subscriber,
Sir please tell these both question.
I also have same doubt😢
I also have same doubt 😅
Can we use for loop for all number programs
ofcource
if required
Sir please make a detailed vedio on linked list
sir which complier do you use
Sir pleaseeee do all number logic programs tqsm for this video
Thank you so much sir 😊
Sir can you make a video on duck number?
sir is it possible for you to make a long video and cover some important algorithms (from exam's perspective).
like how to solve number based questions (teach recursion and other general ways)
how to solve string problems
searching and sorting algorithms .
also array based algorithms and techniques which are mainly asked .
not only for practical exam but also in theory
Sir can u explain bouncy number in next video??
Sir please make a video on special words in string.
Great 🎉
Sir pls make videos on matrix program in Java isc class 12 because isc is giving at least one matrix question program in the paper.
Sir mere chemistry k preboard mai 76/80 aye🙂❤️
Sir pls class 12 computer isc k liye bhi videos dal dijiye sir please 🙏🏻
Sirr pls do one shots on history and civics and physics sir pls
for(i=1;i
Sir can you do tech number and circular prime number please??
Please upload economics stratergy video
Sir please make a video to cover important questions for board 2024 and for preboard
Sir can you make a video on Hamming number. (A hamming number is a positive integer that has the prime a factor 2,3&5 only.)
Sir please make a video on this
Take a word from the user and print the word in alphabetical order...can u plz make a program for the above question...please
Sir Class 11th ki bhi kuch help kardijiye ,Please .
Organic Chemistry par videos bana dijiye .
Sir please upload class 11 Physics and chemistry videos also as exam are near and many chapter are left 😢
Sir, can you plz do the prgrm of finding the longest word and shortest word in a string without using buffer reader function
Thanks sir ...😊
Sir could you please make strategy videos for bio and phy for 2024 boards.. please sir
Sir , please ek playlist bana dijiye for ISC computer, which includes all the topics which can be asked in Boards 2024
Sir Reflection me Proving GEOMATRIC FIGURES KA A B C D KUCH NAHI AATA
11:34 sir yha pe aapne explicitly integer mei convert kr dia hai toh round lgane ka koi fayda nhi shyad . Pls explain
Line11
Without round bhi work karega. You can try it yourself once.
Thanks a lot sir you really helped me greatly in class 10th my 11th class is about to end now!
Sir I have a doubt
Is there any specific use of do while loop in any program
Means can we use while loop in a case where we can use do while or is there any case where there is no other option other than using do while.
Because most of the program i have seen is done by using for and while loop there is mo use of do while loop.
Do while is generally used where you have to run the loop atleast one time. Like in menu driven program, where you have to show the menu atleast once.
Sir maths ka stragey bata do latest syllabus ke according
Sir...hindi strategy pattern according to 2024 ...pls make a videoo
Sir please upload a video of Krishnamurthy number
Sir please tell maths syllabus
Please please sir 🥺
Its a request!!
Sir maths ki strategy bta do and important chapters bta do class 10 icse
sir line no. 23 kaise execute hoga please sir tell me
class Hellosir
{
public static void main(String[] args)
{
System.out.println("Thank You Sooooo Muchhhhh Sir!");
}
}
Sir errors ki ak vedio bana do jisme output based questions ho 🙏🏻
Sir Please upload videos on topics like
• type casting
• difference between Math.rint and Math.round
• Function of continue and break statements
Please upload videos on this topics it will be of great help
Oky 👍🏻😊
Sir can you please make geography strategy video for class 10 ICSE 😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢. I have been asking you since many days
Please sir
Sir can you tell me which software you are using to write programs because it's not bluej
IntelliJ
Sir pyqs solved krwa dijiye taki marks score kr pye
Sir, please upload pattern printing or nested loop.
As, I am unable to understand your old videos 😕
Sir chemistry me Jo topic board me aa skta h uska video banaye na . please sir
sir in which software do you execute programs
plz tell me sir
intellij
Sir please bring video for computer class 12 isc
Sir,can you make buzz number for next video
Sir what if it is negative number?? How do you make the logic for that??
While(t>0)
Bhai apki video ka sound low hay thik se sunai nehi de raha bro thora sound high karo .... sunne me achcha / clear lagega ...
Its clear
Sir can you make a video happy number
Kaha se learn icse java wala app banaye hai
Sir output based class 10th ke liye new video plz sir if possible plz in this or next week. Plzzz sir request
Sir please do the lucky number and ugly number program
Sir plz ch 18 tangent and intersection chords ka video bnayiye😢
Sir line number 22 bta dijiye kyu use hua h
sir anagram program please it came in pre board 1
Sir please 🥺 don't left explaining ICSE
BHAIYA I THINK YOU FORGOT ABOUT 12 ISC STUDENTS
bhai 11vi pe focus krle
phle se tune bohat video daal rkhi hai 10th pe utni kaafi hai mere bhaii.......hamari 11vi ki videos bnaa bhai jldiii!
sir line 16 (sum) nhi samja
Sir maine bhi apko ek program mail kia hai, please sir bnaye
Sir Emirp Number Please......
Why don't you make videos for cbse you will get more subscribes.
for( int i=1;i>0;i++)
{
System.out.println(" thank you sir ");
}
Any one tell the out put
♾️♾️
Sir voice is not audible
Sir aajkal aapki videos nhi dekhra. Plz make vids on class11 as well. And specially on mathematics and Physics since I have taken bio. And I am also grateful to you for I have scored a 96 in comp just bcoz of you😂🎉❤ seriously computer mein zindagi mein itna number nhi dekha tha😮😮
Feeling powerful to complete 100 likes 🤣🤣
🤐
First🎉🎉
Please pin
Kya kimiya giri karke log har din naye naye number banaya karte, bhai khana khao, hago, soo, faltu ke number kyuuuu faida karne hai 😢
Nothing audible
Is it still not audible ?
@@AmplifyLearningIt is ok now👍
Not helpful
Import.java.util.*;
Class prg
{
PSVM(string args[ ])
{
Scanner in = new scanner(system.in)
Int i, d , s=0, n;
SOPLN ("Enter a number")
n= in.nextInt();
i=n
while(i>0)
{
d=i%10;
s=s+d;
}
if ((int)math.pow(s,3)==n)
Sopln(dudeney number:"+d);
Else
Sopln(not a dudeney number:"+d)
}
}
I have shown you the easiest way to slove this program
Sir could you please make strategy videos for bio and phy for 2024 boards