Posts

Nuticharge BioAge|Biological V/S Chronological Age

Image
 Nuticharge BioAge Biological V/S Chronological Age "Chronological age" refers to the actual amount of time a person has been alive. In other words, the number of days, months or years a person has been alive does not change, regardless of how healthy a lifestyle — even one filled with great exercise and nutrition habits — they are living. "Biological age" , also called physiological age, is a measure of how well or poorly your body is functioning relative to your actual calendar age. Biological V/S Chronological Age Proper and efficient functioning of our vital organs determines our actual biological age it our overall system is perfect and working it may be less than chronological age or maybe more it we are unfit. We can keep our biological age in balance with the use of health-promating bio greens and important nutrients. keep our biological age in balance with the use of health-promating bio greens and important nutrients. Nutricharge Bio Age Nutricharge BioAg...

Mindtree|Remove all vowel from user input a string in java

Image
 Remove all vowel from user input a string in java In this java program, we have to delete all occurrences of vowel characters from a given string and then print it on screen The logic behind this question is simple. It is to remove the vowels in the given string and display the input string without vowels (i.e with only consonants).  Here we are using two approach. 1.Using Indexof()  Method Java String indexOf() method is used to find the index of a specified character  or substring in a given String.  Method returns -1 if the specified char/substring is not found in the particular String. import java.util.Scanner; public class R_Vowels { public static void main(String[] args) { Scanner sc=new Scanner(System.in); System.err.println("Enter the String :");         String s1=sc.nextLine();         String s2="AEIOUaeiou";         String s3=" ";      for(int i=0;i<s1.length...

Java Program for shop Bill to Calculate total amount of product with discount

Image
 Java Program for shop Bill to print total amount with discount To print total amount with discount import java.util.Scanner; class Shop { public static void main(String args[]) { Scanner sc=new Scanner(System.in); System.out.println("Enter the product name and its price."); String a=sc.next(); double r1=sc.nextDouble(); System.out.println("Enter the 2nd product name and its price."); String b=sc.next(); double r2=sc.nextDouble(); System.out.println("Enter the 3rd product name and its price."); String c=sc.next(); double r3=sc.nextDouble(); double d1=r1-(r1*0.08); double d2=r2-(r2*0.08); double d3=r3-(r3*0.08); System.out.println("Product  Price  DiscountPrice"); System.out.println("-----------------------------"); System.out.println("  "+a+"  "+r1+"  "+d1); System.out.println("  "+b+"  "+r2+"  "+d2); System.out.println("  "+c+"  "+r3+"  "+d3); Sys...

Java Program to Print the number is either positive negative or zero.

 Java Program to Print the number is either positive negative or zero. In this java program, we will read integer number and check whether it is positive, negative or zero. Using If-else statement with Method  import java.util.Scanner; class Number { String pnz(int a) { if(a<0) return "Negative"; else if(a>0) return "Positive"; return "Zero"; } public static void main(String args[]) { Scanner sc=new Scanner(System.in); System.out.println("Enter a number."); int x=sc.nextInt(); Number n=new Number(); System.out.println(n.pnz(x)); } }

learn basic Python for beginners free online course with certificate

Image
 Learn basic Python for beginners  free online course with certificate No.1 Ranked online and classroom courses on Artificial Intelligence, Machine Learning, Business analyst, Deep Leaning, Data Science Engineering,Python  amd many more.    with Great Learning                       learn Python Programming from basic to higher level with certificate  Start your course Register now  Click Get Python Programming course completion certificate from Great learning which you can share in the Certifications section of your LinkedIn profile, on printed resumes, CVs, or other documents. Click here  to Enroll and   start your course free of cost and gain Certificate Skills covered Python basics Object oriented programming   Numpy   Pandas   Matplotlib Topic cover by this course Python basics Installing python and IDEs Data types variables and operators Data structures in p...

Java program to Reverse a number using do while loop

Image
Java program to Reverse a number using do while loop  Reverse number or digit using do while loop Example: num = 456 rev_num = 0 rev_num = rev_num *10 + reminder = 6 num = num/10 = 45 rev_num = rev_num *10 + reminder = 60 + 5 = 65 num = num/10 = 4 rev_num = rev_num *10 + reminder = 650 + 4 = 654 num = num/10 = 0 Reverse number or digit using do while loop  class RevNum { public static void main(String args[]) { Scanner sc=new Scanner(System.in); System.out.println("Enter the number:"); int num=sc.nextInt(); int rev=0; do{ int reminder=num%10; rev=rev*10+reminder; num=num/10; }while(num!=0); System.out.println("Reversed Numer is: "+rev); } }

Java program To check given number is special two digit number or not

Image
Java program To check given number is special two digit number or not This program helps to check whether it is special two Digit number or not. Special Two Digit Number are number for which sum of it’s  sum of it’s digits and product of it’s digits is equal to the original number. Example: Original Number : 29 Step 1 : Sum of two digit is  2+9 = 11 Step 2 : Product of two digit 2*9 = 18 Sum of sum of two digit and product of two digit as calculate in above steps and that will be 11+18 = 29 Calculated Number is equal to original number so we can say it is Special Two Digit Number.   Java Program for   special two digit number or not import java.util.Scanner; class SpecialTwoDigit { public static void main(String args[]) { Scanner sc=new Scanner(System.in); System.out.println("Enter a two digit number to check if it is special or not."); int original_No=sc.nextInt(); int d1=x/10; int d2=x%10; int sum_product=d1+d2+d1*d2; if(sum_product==original_No) System.out.pr...

Rcm|Raise a child Brain Development|Nutricharge DHA

Image
 Grow a Child Brain Development Nutricharge DHA DHA is the most important component of brain formation. According to the doctors and scientists, DHA is very critical for the brain of the child developing in mother's womb. As 70% of the brain is formed inside the womb before birth, DHA consumed by mother reaches the child through the placenta. After the birth, the child gets the DHA through mother's milk. Hence it is imperative to take 400 mg DHA during the entire duration of pregnancy and lactation, even it is suggested to start the consumption of DHA at the planning stage of pregnancy. For this  we have one soulation  Nutricharge DHA for the brain of the child developing in mother's womb. Nutricharge DHA - Nutricharge   Nutricharge DHA  Nutricharge DHA is 100% vegetarian capsule of right quantity dose of  400mg since DHA is a liquid, most of the companies sell them in gelatin  capsules which is made from the bone ash of animals. Nutricharge DHA is...

RCM Complete your balanced nutrition|Nutricharge

Image
  C omplete your balanced nutrition with Nutricharge We all must understand the importance of staying healthy and must bring out the solution for same. The money can buy good  food but if our health is poor we would not enjoy our food similarly we can have best of bed to sleep on but if health is poor it will not allow to sleep properly. That is the reason since old time ,it is said that  "Health is Wealth". Is there any solution to complete our balanced nutrition we do have one  solution.... . Nutricharge Man &  Nutricharge  Woman   Nutricharge Man    Nutricharge Man Nutricharge  man is a comprehensive dietary nutritional  supplement that provide 35 different type of key Nutrients:- Vitamins  Minerals Amino acid 35 Nutrients Botanicals With a modem lifestyle ,fast food, imbalanced diet and poor absorption ,it is difficult to get all nutrients in required quantities. Nutricharge meets deficiency of these nutrients to improv...

Java program for nested if-else else if statement

Image
Java program for nested if-else else if statement A programming language uses control statements to control the flow of execution of program based on certain conditions. you can use one if or else if statement inside another if or else if statement. Nested else-if Program if statements are executed from the top towards the bottom. As soon as the test expression is true, codes inside the body of that the if statement is executed. Then, the control of the program jumps outside the if-else-if ladder. If none of the conditions is true, then the final else statement will be executed. The final else acts as a default condition; that is, if all other conditional tests fail, then the last else statement is performed. A  program construct that is based upon a sequence of nested with if-else-if ladder import java.util.Scanner; class Story { public static void main(String args[]) { Scanner sc=new Scanner(System.in); System.out.println("Enter the Number:"); int a=sc.nextInt(); if(a%3==0...