Pages

Thursday, April 18, 2013

How to get source code from apk file


What is .apk file?
 APK file is nothing but Android Package File(APK). APK is the file format used to distribute and install application software and middleware on Google's Android operating system.


Apk Files are Zip file formatted packages based on the JAR file format, with .apk extension. Apk files contains all program resources and code i.e it contains .dex files, resources, assets, certificates, and manifest file.



How to get source (java files) from .apk file?
As we now know that apk file is just a zip file containing all program resource file, we can now get java code from apk files with ease. Following are steps to get java code from apk files.
Step 1:Renaming .apk file

  • Rename the .apk file with the extension .zip (for example let the file be "demofile.apk" then after renaming it becomes "demofile.apk.zip")

Step 2:Getting java files from apk

  • Now extract the renamed zip file in specific folder, for example let that folder be "demofolder".
  • Now Download dex2jar from the link for windows and extract that zip file in folder "demofolder".
  • Now open command prompt and go to the folder created in previous step and type the command "dex2jar classes.dex" and press enter.This will generate "classes.dex.dex2jar" file in the same folder.
  • Now  Download java decompiler from the link and extract it and start(double click) jd-gui.exe
  • From jd-gui window browse the generated "classes.dex.dex2jar" file in demofolder, this will give all the class files by src name.
  • Now from the File menu select "save all sources" this will generate a zip file named "classes_dex2jar.src.zip" consisting of all packages and java files.
  • Extract that zip file (classes_dex2jar.src.zip) and you will get all java files of the application.
Above steps will generate java files but to get xml files perform following steps.

Step 3:Getting xml files from apk

  • Download apktool and apktool install from the link and extract both files and place it in the same folder (for example "demoxmlfolder").
  • Place the .apk file in same folder (i.e demoxmlfolder)
  • Now open command prompt and goto  the directory where apktool is stored (here "demoxmlfolder") and type the command "apktool if framework-res.apk" 
  • Above command should result in "Framework installed ..."
  • Now in command prompt type the command "apktool d filename.apk" (where filename is name of apk file)
  • This will generate a folder of name filename in current directory (here demoxmlfolder) where all xml files would be stored in res\layout folder.

Wednesday, April 17, 2013

How to Install Windows 8 from a USB


Forget the CD and install Windows 8 with your flash drive 

A guide? To install Windows? Slapping a new operating system on your desktop or laptop PC should be old hat by now, right? This is Windows 8, after all: Odds are pretty good that you, an astute and well-travelled Maximum PC reader, have been around the ol’ Windows installation block a few times before.

And unlike previous versions of the operating system, Windows 8 doesn’t even need that much babysitting. Once you’ve set the installer application running, it’s off to the races: You can sit back, enjoy a nice beverage or a fun sitcom, and let Microsoft’s fantastically efficient OS installation routine do all the work. By the time your Windows 8 OS needs your input, you’re practically finished – but a few short steps, if not minutes, away from the tiled joy that is Windows 8 proper.

So, er, what does that leave us to talk about?

Plenty. Ditch your discs; we’re going to show you how to install Windows 8 from a USB key. 

Installing Windows 8 from a USB key

If you shun DVDs, love speedier installations, have a digital download of Windows 8, or just plaindon’t have an optical drive – or are too lazy to hook one up – then it’s going to be a USB-based installation for you. And that’s just fine; it’s a great, quick way to get an operating system onto your hard drive and extremely useful if you, say, keep your Windows installation disc tucked away as an .iso on your network drive instead of thrown in one of your desk drawers.
The easiest way to accomplish this process is to already have your hands on a copy of Windows 8’s downloadable .iso file – acquirable by purchasing it from Microsoft itself. If you have a flash drive of the appropriate size (at least four gigabytes or greater, depending on whatever file Microsoft lets you grab), you’re golden. Insert your flash drive into a USB slot on your system, and then go grab Microsoft’s Windows 7 USB/DVD Download Tool – don’t let the name dissuade you.

Install the app and run it. It’ll ask you to select an .iso file to be “burnt” onto your USB key. Go ahead and select your Windows 8 .iso file – the fact that it’s not the right operating system as the tool’s name has absolutely no bearing on what you’re doing. 


Yes, we know, it says "Windows 7" download tool, but you can just ignore that part.
On the next screen, you’ll be asked whether you’d like to create a “Windows 7 backup” – again, ignore the name – on a USB device or DVD. Pick the obvious answer, select your USB key from the drop-down menu.


Select your USB device
When you're ready to let 'er rip, click on "Begin copying!"  If the tool needs to format your USB key first, it'll let you know.

Micromax Funbook 3G P560 with 3G SIM


It looks Micromax are in good form as they are continuously coming out with Tablets and Smartphones of late and now Micromax Funbook 3G P560 is the latest of the lot. Last week they came up with Micromax Funbook Talk P360 and now this tablet which is having 7 inch screen display and runs on Android 4.0.4(Ice Cream Sandwich). Funbook Talk P360 was powered by 1GHz A12 Cortex-A8 processor but Funbook 3G P560 is powered by 1GHz Qualcomm Snapdragon MSM7227-A.
Micromax Funbook 3G

The tablet also offers 3G SIM support to let users avail the Internet on the go and the tablet also packs a 2MP Rare Camera and 0.3MP Front Camera. From the specs it looks to be competing withLava E-Tab Connect which was launched in early march and is available for the price of Rs 9,499.
The key Specicifications of Micromax Funbook 3G P560 are:
  • Android  4.0.4 (Ice cream sandwich)
  • 7” Capacitive Touch Screen Display with 800 x 480 pixel resolution
  • 3G Sim Support
  • 1 GHz Qualcomm  Snapdragon MSM7227-A processor
  • 512 MB RAM
  • 4 GB internal Storage (2.5 GB user memory), expandable upto 32 GB with microSD Card
  • Front Camera: 2 Mp and Back Camera: 0.3 MP
  • 3G, Wi-Fi 802.11 b/g/n, Bluetooth 3.0, USB 2.0
  • 3000 mAh Battery
    • Talk time – 5 hrs
    • Standby time – 160 hrs
The actual Price of Micromax Funbook 3G P560 is Rs 9,999 but Online retail Store Saholic are offering the Tablet at the price of Rs 8,799.

AOC Breeze 7 inch and 9.7 inch tablets


AOC who are know for Monitors and Televisions had launched 2 tablets under Breeze range, one has 7 inch screen and the other has 9.7 inch screen. Both the tablets are powered by 1.5 GHz Dual Core processor and runs on 4.1.1 Jelly Bean. It is a good leap for the company to start a new range of tablets.
AOC Breeze Tablet
The Key Specifications of AOC Breeze 7 inch tablet are :
  • 7 inch TFT LCD screen with 1024 X 600 resolution
  • 4.1.1 Jelly Bean OS
  • 1.5GHz Dual Core ARM Cortex-A9 Processor
  • Mali 400 Quad Core GPU
  • DDR3 1GB RAM
  • 8GB Flash Memory and expandable upto 32 GB by microSD card
  • 2MP Rare Camera
  • 0.3MP Front Camera
  • mini-HDMI, micro-USB 2.0, WiFi
  • 3000mAH Battery
The Key Specifications of AOC Breeze 9.7 inch tablet are :
  • 9.7 inch TFT LCD screen with 1024 X 768 resolution
  • 4.1.1 Jelly Bean OS
  • 1.5GHz Dual Core ARM Cortex-A9 Processor
  • Mali 400 Quad Core GPU
  • DDR3 1GB RAM
  • 16GB Flash Memory and expandable upto 32 GB by microSD card
  • 2MP Rare Camera
  • 0.3MP Front Camera
  • mini-HDMI, micro-USB 2.0, USB 2.0, WiFi
  • 3000mAH Battery
Only thing that is not good about the tablets is that neither of them has Bluetooth.
AOC Breeze 7 inch tablet is available at Rs 7,990 and AOC Breeze 9.7 inch tablet is available at Rs 12,990. The tablets will start retailing at the end of April.

Intex Aqua Wonder Quad-Core


      Intex has launched the recently reported Intex Aqua Wonder 2 smartphone in the market with the price of Rs. 9,990. This is the Intex’s first Quad-Core smartphone in the market.

      Intex Aqua Wonder Quadcore sports a 4.5 inch qHD(540 x 960) capacitive touchscreen with IPS panel screen technology. It is powered by 1.2GHz MediaTek MT6589 Quad-Core processor and comes with 512MB of RAM. The smartphone has 4GB internal storage, of which 1.93GB is user accessible. The internal storage can be expanded by up to 32GB via a microSD card.
Intex Aqua Wonder Quadcore
        There is 8 megapixel primary camera with dual LED flash and front 2 megapixel camera for video calling. The Aqua wonder runs on the Android 4.1.1 Jelly Bean and has 1,800 mAh beattery. There phone supports connectivity options like Wi-Fi, Bluetooth, GPS, A-GPS and microUSB port. The Aqua Wonder Quadcore also has sensors like Motion, Gravity, Light and Proximity sensors.
Specifications of IntexAqua Wonder Quad-Core:
  • Dual-SIM
  • Android 4.1.2 Jelly Bean
  • 4.5 inch qHD(540 x 960) IPS capacitive touchscreen
  • 1.2GHz Quad-Core MediaTek MT6589 processor
  • 512 MB RAM, 4GB internal storage, expandable by up to 32 GB
  • 8MP auto focus rear camera with dual LED flash and 2MP front-facing camera
  • Wi-Fi 802.11 b/g/n, Bluetooth v4.0, GPS, A-GPS
  • Motion, Gravity, Light and Proximity sensors
  • 1800mAh battery

Monday, April 15, 2013

How do I create a table in Microsoft SQL


Create & Use Database

Write a command to create the database you want to use for your table if you don't already have one. Highlight the command and execute.



CREATE DATABASE NewDatabase




Make sure you are using the database. You can execute the command.



USE NewDatabase

Create Table

Write a command to create the new table and specify the table name. List the table columns, data type and any other criteria you would like to include, separated by commas. Enclose the entire set of columns in parentheses. Highlight and execute the command.



CREATE TABLE NewTable

(

NewColumn varchar(30) NOT NULL,

FirstName varchar(35),

LastName varchar(35),

Address varchar(75)

)

How do I compare dates with SQL Oracle


Comparison Method

Compare dates stored in an Oracle database using the standard comparison operators including "=", "!=", ">" and ":<" within the structured query language (SQL) statement. The following statement returns all data for rows in the "date_table" where "date1" is an earlier value than the "date2" value.



select * from date_table where date1 < date2

How do i use visual basic 2008 express?


Create a Visual Basic 2008 Express Project

Start "Visual Basic 2008 Express Edition." Start a new project by clicking on the "File" menu, then select "New Project." Under "Visual Studio installed templates," select "Windows Forms Application." Type the name of your project in the "Name" text box and select "OK."

Using Visual Basic 2008 Express Controls

Select a "TextBox" control from the "Toolbox" pane on the left of your screen. Drag the text box control to "Form1." Add a "Button" control by selecting it and dragging it to "Form1."

Writing Visual Basic Code

Double-click on "Button1" to create a sub named "Button1_Click." Inside "Button1_Click," type "Me.TextBox1.Text = 'Hello, I know how to use Visual Basic 2008 Express!'" Press "F5" to run the program. Click on "Button1."

References:


How do I install Apple operating system software


Insert the Mac OS X Disc

Insert the Mac OS X installation DVD or the first installation CD. Mac OS X 10.0 through 10.4 are available on multiple CDs, while Mac OS X 10.4 and later are available only on DVD. If booted into Mac OS X, double-click the "Install Mac OS X" icon on your desktop to launch the installer. If your computer is off, press and hold the "C" key after booting the computer to force it to start from the installation disc.

Install the Operating System

Select the drive to which your current version of Mac OS X is installed. This completes an in-place upgrade of Mac OS X.

Advanced Installation Options

Click "Options" at the "Select a Destination" window to select an advanced installation option. "Install Mac OS X" installs the operating system on a drive that does not have Mac OS X installed. "Archive and Install" saves existing system files but otherwise erases your current OS X installation. "Erase and Install" clears the entire contents of the disk before installing an Apple operating system. Click "Continue" to install Mac OS X.

Source:


what is difference between ipv4 and ipv6


What is Internet Protocol -- IP?

IP (short for Internet Protocol) specifies the technical format of packets and the addressing scheme for computers to communicate over a network. Most networks combine IP with a higher-level protocol called Transmission Control Protocol (TCP), which establishes a virtual connection between a destination and a source. 

IP by itself can be compared to something like the postal system. It allows you to address a package and drop it in the system, but there's no direct link between you and the recipient. TCP/IP, on the other hand, establishes a connection between two hosts so that they can send messages back and forth for a period of time. 

There are currently two version of Internet Protocol (IP): IPv4 and a new version called IPv6. IPv6 is an evolutionary upgrade to the Internet Protocol. IPv6 will coexist with the older IPv4 for some time.

What is IPv4 -- Internet Protocol Version 4?

IPv4 (Internet Protocol Version 4) is the fourth revision of the Internet Protocol (IP) used to to identify devices on a network through an addressing system. The Internet Protocol is designed for use in interconnected systems of packet-switched computer communication networks (see RFC:791). 

IPv4 is the most widely deployed Internet protocol used to connect devices to the Internet. IPv4 uses a 32-bit address scheme allowing for a total of 2^32 addresses (just over 4 billion addresses).  With the growth of the Internet it is expected that the number of unused IPv4 addresses will eventually run out because every device -- including computers, smartphones and game consoles -- that connects to the Internet requires an address.

A new Internet addressing system Internet Protocol version 6 (IPv6) is being deployed to fulfill the need for more Internet addresses.

What is IPv6 -- Internet Protocol Version 6?

IPv6 (Internet Protocol Version 6) is also called IPng (Internet Protocol next generation) and it is the newest version of the Internet Protocol (IP) reviewed in the IETF standards committees to replace the current version of IPv4 (Internet Protocol Version 4). 

IPv6 is the successor to Internet Protocol Version 4 (IPv4). It was designed as an evolutionary upgrade to the Internet Protocol and will, in fact, coexist with the older IPv4 for some time. IPv6 is designed to allow the Internet to grow steadily, both in terms of the number of hosts connected and the total amount of data traffic transmitted.

IPv6 is often referred to as the "next generation" Internet standard and has been under development now since the mid-1990s. IPv6 was born out of concern that the demand for IP addresses would exceed the available supply.

While increasing the pool of addresses is one of the most often-talked about benefit of IPv6, there are other important technological changes in IPv6 that will improve the IP protocol:
  • No more NAT (Network Address Translation)
  • Auto-configuration
  • No more private address collisions
  • Better multicast routing
  • Simpler header format
  • Simplified, more efficient routing
  • True quality of service (QoS), also called "flow labeling"
  • Built-in authentication and privacy support
  • Flexible options and extensions
  • Easier administration (say good-bye to DHCP)
Recommended Reading: IPv6: Preparing for the Migration

The Difference Between IPv6 and IPv4 IP Addresses

An IP address is binary numbers but can be stored as text for human readers.  For example, a 32-bit numeric address (IPv4) is written in decimal as four numbers separated by periods. Each number can be zero to 255. For example, 1.160.10.240could be an IP address.
IPv6 addresses are 128-bit IP address written in hexadecimal and separated by colons. An example IPv6 address could be written like this: 3ffe:1900:4545:3:200:f8ff:fe21:67cf (see "What does an IPv6 address look like?")  

A Dictionary of IPv6 Related Terms

Webopedia's Network and Internet Protocols Category offers definitions to hundreds of technology terms and phrases related to network protocols. You can view all related sub-categories and term definitions here.

Related IPv6 Articles

IPv6: Preparing for the Migration 
IPv6 is here. With the move to a 128-bit address space will come a fundamental shift in the way you think about your network. Are you ready to migrate? Still learning about the challenges? Check in here as we add to our collection of IPv6 resources.

Is the U.S. Ready For The IPv6 Challenge?
In the third volume of its report to the government about IPv6 transition, Juniper Networks outlined some of the key challenges and initiatives the government will have to undertake in order to meet the federally mandated IPv6 transition deadline of June 2008.

Understanding IPv6
We're going to spend some time teaching you a number of incredibly wonderful things about IPv6, such as why network administrators need to get their duffs up and implement it, bullet points to persuade the bosses, and, of course, how to actually use it.

differences between operating systems and application software


The operating system acts as a host for all other software on the computer system and offers hardware services to them by acting as a virtual machine and hides the complexity of the hardware. It is the software what operates all the hardware functions and software on the computer system. That is the reason it is called "operating system". Other usuall names for the operating system was a "master program", "supervisor", "kernel", "controller", "core" or "nucleus". 

(4)the User
(3)Application Programs
(2)System Software
(1)Operating System
(0)Hardware

The operating system (level 1) allows other software work on the computer (level 0). Other software are system programs (level 2), system libraries (level 2), and application programs with their own software libraries (level 3). System programs are such what offers user interface to the operating system or for the other application programs so the user (level 4) can use the computer. System libraries are shared libraries what gets used by system programs or application programs. Typical system library is a C-library and system programs like command interpreter offering command line interface or Xorg offering a graphical windowsystem for graphical desktops. Application programs are then the typical software that user use, like word, spreadhseet, painting program, web browser and music player.

The typical operating system has one of the most used architectures. A monolithic, server-client or layered. The operating system is structured by different ways on every architecture. There are multiple different architectures and what belongs to the operating system itself, is mostly case-by-case. 

Monolithic architecture is the first and so on oldest way to build operating system. That time the operating system was mostly know as kernel. The kernel alone includes all the functions of the operating system. It works alone in the kernel space and alone as supervisor. The operating system was working alone in the kernel space and was protected from tampering by running all system software in the different address space called as userland or user space. The monolithic kernel is the operating system and offers all the system calls for the user space. User can extend the system calls what the monolithic OS offers by using a system call wrapper what is normal system software top of the operating system. Usually it is a C library but user can write easily own. The monolithic operating system can be modular as well. But the modularity is on binary level only and not on the architecture level. When module is attached to the kernel, it works just like it would be compiled as part of it. 

It is crucial but subtle point to understand that the monolithic kernel is the operating system alone and no other software belongs to it. 

The demanded need for theoretical better security and stableness (while losing speed) caused that other OS architecture was born and was called server-client. The operating system sliced to multiple parts. The most important part of that OS was the microkernel what included only the most important features of the OS. All other OS functions like device drivers, filesystem, network protocols (OSI layer 3), memory management etc, was spread to run as protected process in the different address space. The pure server-client architecture is that microkernel works alone in the kernel space and all other parts of the OS works in user space. They are called as operating system servers or modules and the microkernel controls them with IPC (Inter-Process Communication). They acts like servers for all the other software on the software system, but are modules for the microkernel. You can mix the server-client architecture by moving some, if not all modules/servers back to the kernel space but even then they are not part of the microkernel. Servers are protected from each other and all other software on the software system. Every server runs in supervisor mode like the microkernel as well and every operating system server offers system calls to other programs. It is crucial to understand that the modularity is on architecture level and on binary level.Together the microkernel and modules build up the complete operating system.

The third architecture is a layered model what is based to the microkernel idea to have a tiny microkernel and OS servers. But instead running every server alone offering their functions to other system software, they are layered. Every layer uses lower level layer functions and offers owns for others top of it. Every layer offers system calls and they pass calls from top to bottom when needed. The microkernel controls all the layers.

Then there is few more rare architectures what has even smaller kernel than what microkernel is. Typical microkernel has few thousands lines of code. The nanokernel or exokernels has less than that. While the monolithic kernel including all OS functions from device drivers to memory management, filesystems, it's size is counted in millions lines of code. Linux OS is now today over 11 million lines of code, mostly device drivers. 

Some corporations wanted to market their own server-client architecture operating system as better than pure microkernel-based operating systems. They tried to push a new ideal architecture called Hybrid kernel. It was told to be as fast as the monolithic operating system, but as secure and stable as the pure server-client architecture OS. It was not success on the science side but was successfully on the marketing side for normal people. The hybrid kernel is not a new architecture for the OS. It includes the typical microkernel but it just is not pure by the original idea. Some of the OS servers are moved back to the kernel space (separated from the microkernel itself) and some, like device drivers, are running still on the other user space. Some of the technologies allows the whole server-client operating system run in one address space but every process is a SIP.

Then there are very rare architectures where the operating system has multiple kernels. Every CPU core is assigned by own kernel. The kernel controls the core and together all OS servers can use them when needed.

It is very crucial, but subtle point, that application programs like games, web browsers, mediaplayers, office software, text editors and so on are NOT part of the operating system. The user can not interact with the operating system. User sees other software and interact through them with the operating operating system what operates all the hardware and software on the computer system .

Shop Management Project in C

#include <iostream.h>
#include <conio.h>
#include <stdio.h>
#include <string.h>
#include <fstream.h>
#include <process.h>
#include <stdlib.h>

class list
    {
    int count;
    char serial[30][30];
    char name[30][30];
    char price[30][30];
    char quality[30][30];
    char quantity[30][30];
    public:
    void goods();
    void order_goods();
    void show_goods();
    };

void list::order_goods()
    {
    char pid[30];
    long qid;
    int found=0;
    cout<<"Enter Product id: ";
    cin>>pid;
    int v;
    for(v=0;v<count;v++)
      {
      if(strcmp(serial[v],pid)==0)
        {
        found=1;
        break;
        }
      }
    if(found==1)
      {
      char read;
      cout<<"Enter quantity(kg): ";
      cin>>qid;
      AA:
      cout<<"Are you sure of ordering "<<qid<<" kg of "<<name[v];
      cout<<"\nEnter (y/n)";
      cin>>read;
      if(read==121)
      {
      fstream fout;
      fout.open("list.txt",ios::out);
      long sum=0;
      int d=1;
      for(int s=strlen(quantity[v])-1;s>=0;s--)
        {
        sum+=(quantity[v][s]-48)*d;
        d*=10;
        }
      sum+=qid;

      //sum=(long)quantity[v];
      //cout<<"sum"<<sum;

      itoa(sum,quantity[v],10);

      for(int m=0;m<count;m++)
        {
        fout<<serial[m]<<";";
        fout<<name[m]<<";";
        fout<<price[m]<<";";
        fout<<quality[m]<<";";
        fout<<quantity[m]<<";"<<"\n";
        }
        long ati=atoi(price[v])*qid;
      cout<<"\n"<<ati <<" taka has been truncated from shop account\n";
      }
      else if(read==110);
      else
      {
      clrscr();
      goto AA;
      }
      //char y='n';
      //printf("%d",y);
      }
    }
void list::goods()
    {
    char pricestr[20];
    char str[2000];
    ifstream fin;
    fin.open("list.txt",ofstream::in);

    //char s[2000];
     count=0;
    while(fin>>str)
      {

      int savei=0;
      //cout<<str;
     //   cout<<strlen(str)<<" ";
     int i=0;
     int d=0;
      while(i<strlen(str))
      {

      if(str[i]==';')
        {

      //cout<<"Savei="<<savei<<"\t"<<"i="<<i<<" ";
      char s[30];
      int l=0;
      for(int j=savei;j<i;j++)
          {
          s[l]=str[j];
          l++;
          }
          s[l]='\0';
      if(d==0)
      strcpy(serial[count],s);
      else if(d==1)
      strcpy(name[count],s);
      else if(d==2)
      strcpy(price[count],s);
      else if(d==3)
      strcpy(quality[count],s);
      else if(d==4)
      strcpy(quantity[count],s);
      d++;
       //cout<<"strlen="<<l<<",s="<<s<<"\n";
      //char tab='\t';
      //printf("%5c",tab);

       i++;
       savei=i;
        }
      //printf("%c",str[i]);

      i++;

      }
      count++;
      if(fin.eof())
      break;
      //cout<<"\n";
      }
      fin.close();


      }
      void list::show_goods()
      {
      cout<<"p-id\t name\t  price\t   quality\tquantity(kg)\n";
    cout<<"-----------------------------------------------------------\n";
      for(int v=0;v<count;v++)
      {
      printf("%s",serial[v]);
      printf("%8s",name[v]);
      printf("%8s",price[v]);
      printf("%15s",quality[v]);
      printf("%10s",quantity[v]);
      printf("\n");
      }
      }
void main()
{
A:
clrscr();
cout<<"Make your choice:\n[1] For see products\n[2] For order products\n[3] For quit\n\n";
list ob;
char a;
cin>>a;
clrscr();
ob.goods();
if(a==49)
ob.show_goods();
else if(a==50)
ob.order_goods();
else if(a==51)
exit(0);
else
goto A;
cout<<"\n\nPress any key to return to Main Menu.";
getch();
goto A;

}

////////////////////////////////////////////////////////////////////////////
You must include a file "list.txt",You can include data in this file "list.txt" like below,

12001;salt;20;good;1022;
12002;sugar;35;excellent;1104;
12003;Milk;42;excellent;500;
12004;Rice;23;good;2523;
12005;Atta;35;excellent;100023;

///////////////////////////////////////////////////////////////////////////
Copy & paste this code in your TC & run, then you will get output.......
If you have any problem please comment below.........