Monday, 13 July 2020

TOP 5 MOST EXPENSIVE PEN IN THE WORLD

1.Visconti Alchemy H.R.H Fountain Pen

This pen is obviously a very luxurious one! An exclusive product with an internal ink reservoir and embellished with precious metals. The pen comes equipped with two nibs both made of 18K gold and each provides a different style of writing. It’s decorated with diamonds and rubies with a cap made of silver and gold. It can be yours for $57,000.
















2. Omas Phoenix Platinum Fountain Pen Luxury Limited Edition with diamonds.

At a $60,000 price tag, this cone-shaped pen is the embodiment of luxury and fancy.  It’s made of platinum and yellow Enamel with and 18K gold engraved nib. And if that wasn’t enough it’s a limited edition that features diamonds.


3.La Modernista Diamonds Caran d’Ache.

Made by the famous jewelry maker Robert Perron, the pen is embellished with diamonds and rubies with a structure and nib of 18K gold. By the Swiss brand Caran d’Ache, this beautiful pen that would be a great present was listed as the Guinness World Record as most expensive pen back in 2001. You can have it for $265,000.









4.Mystery Masterpiece Mont Blanc & Van Cleef & Arpels

Made to celebrate the centenary of two renowned brands, Montblanc and Van Cleef & Arpels this limited edition pen was the result of the collaboration of the brands.  Three individual editions, each of them decorated with either rubies, sapphires or emeralds, These extravagant pens will set you back $730,000.


5. Aurora Diamante Fountain Pen

The most expensive pen is this exclusive pen with a jaw-dropping price tag of  $1,470,600. This unique piece contains over 30 carats of diamonds on a solid platinum barrel. It features an 18K gold nib and can be personalized with a coat of arms, signature, or portrait.

Saturday, 11 July 2020

PROJECT 2.0 

This is the second project for java for beginners.
So let's start
So today we are going to make a calculator that will accept perpendicular and base of the right-angle triangle and display the hypotenuse, area, and perimeter of the triangle  

import java.util.*;
public class maths 
{
    public static void main (String args[])
    {
        Scanner in = new Scanner (System.in );
        double p,b,h,ar,pm;
        System.out.println("Enter the perpendicular of the triangle");
        p=in.nextDouble();
        System.out.println("Enter the base of the triangle ");
        b=in.nextDouble();
        h=Math.sqrt(p*p+b*b);
        ar=1.0/2.0*p*b;
        pm=(p+b+h);
        System.out.println(" The Hypotenuse of the triangle is ="+h);
        System.out.println("Area of the triangle is ="+ar);
        System.out.println("The perimeter of the triangle is ="+pm);
    }
}

    The output of the program is 

Enter the perpendicular of the triangle
1.2
Enter the base of the triangle 
12
The hypotenuse of the triangle is =12.059850745345068
Area of the triangle is =7.199999999999999
The perimeter of the triangle is =25.25985074534507
Enter the perpendicular of the triangle



 

Thursday, 2 July 2020

LEARNING JAVA

                       WANT TO LEARN JAVA 


Then follow this article

1:-    First let's learn what is java?
So java is an object-oriented programming language that encapsulates many features of C++.
Originally java was designed to execute applets, downloaded while web browsing.

2:- Some basic features of java.
java is an object-oriented programming language.
java programs are both compile and interpreted.


3: java package contain several classes and each class contains different functions.
to know more about JDK (java development kit )check the link.
  
4: Before making a program, first we need to download JDK file click the link to download 
JDK form its official page (link ) or you can google "download JDK for oracles ", you can download from their also. 

5:-  After installing JDK in your pc/laptop, you have to install an IDE you can use blue j or IntelliJ IDE. I will prefer you to download  IntelliJ.

To download IDE click on the first link to download blue and second link to download IntelliJ.
1:-blue j
2:- IntelliJ.
And remember that you have to install JDK first the install IDE.
And if you want to install IntelliJ check the video link  https://www.youtube.com/watch?v=EMLTOMdIz4w

            Now let's make a simple  java program 

The first program is as follows:-

// This is the program to add two numbers and to multiply to numbers.
(we will use // symbol to comment out a line in java programming, means java will not execute the line written after the double slash(//)).
Let's start 

public class calculate 
{
public static void main (String args[])
{
int  add=0 ,product=0, sub=0,a=22,b=51;
// now here a &b are the two variables in which we store values 
add=a+b;
sub=a-b;
product=a*b;
System.out.println("THE SUM OF TE GIVEN NUMBER IS="+add);
System.out.println("The difference of the given two number is ="+sub);
System.out.println("The product of the two number is ="+product);
}
}
--------------------------------------------------------------------------------------------------------------------------
The output of the given program is
THE SUM OF TE GIVEN NUMBER IS=73
The difference between the given two number is =-29
The product of the two number is =1122


You can use any variable you want.
and you can assign any number within that variable.
 So, next, we will learn how to take user input from the keyboard.

Date July 6, 2020.

Today we will learn how to take input from the user 
so to take input from user in java we use special class there are two method  
1: through "util " class 
let's see a simple program to take input from the user through the util package. A simple calculator to do addition, multiplication, subtraction, and division.

import java.util.*;
public class practice 
{
public static void main (String args[])
{
Scanner in=newS canner(System.in);
double a,b,add=0,sub=0,div=0,product=0;
System.out.println("enter the first number ");
a=in.nextDouble();
System.out.println("enter the second number ");
b=in.nextDouble();
add=a+b;
sub=a-b;
div=a/b;
product=a*b;
System.out.println("The addition  of the given number is="+add);
System.out.println("The subtraction of the given number is = "+sub);
System.out.println("The product of the given number is ="+product);
System.out.println("The division of the given number is ="+div);
}
}

"OUTPUT  OF THE PROGRAM"

enter the first number 
54
enter the second number 
26
The addition  of the given number is=80.0
The subtraction of the given number is = 28.0
The product of the given number is =1404.0

The division of the given number is =2.076923076923077
--------------------------------------------------------------------------------------------------------------------------

                           NEXT METHOD IS 

THROUGH STREAM CLASS 
Let's make ti same program through stream class.

import java.io.*;
public class practice 
{
public static void main (String args[])throws IOException
{
InputStreamReader read =new InputStreamReader(System.in);
BufferedReader in=new BufferedReader(read);
double a,b,add=0,sub=0,div=0,product=0;
System.out.println("enter the first number ");
a=Double.parseDouble(in.readLine());
System.out.println("enter the second number ");
b=Double.parseDouble(in.readLine());
add=a+b;
sub=a-b;
div=a/b;
product=a*b;
System.out.println("The addition  of the given number is="+add);
System.out.println("The subtraction of the given number is = "+sub);
System.out.println("The product of the given number is ="+product);
System.out.println("The division of the given number is ="+div);
}
}

the output of this program is

enter the first number 

25

enter the second number 

25

The addition  of the given number is=50.0

The subtraction of the given number is = 0.0

The product of the given number is =625.0

The division of the given number is =1.0 

_________________________________________________________________________________















TOP 5 MOST EXPENSIVE PEN IN THE WORLD

1. Visconti Alchemy H.R.H Fountain Pen This pen is obviously a very luxurious one! An exclusive product with an internal ink res...