Sunday, 28 September 2014

A Program To Check If A Number Is Odd Or Even


Source Code:

#include <stdio.h>
#include <conio.h>
// A Program To Check If A Number Is Odd Or Even
void main()
{
int n;
clrscr();
printf("\nEnter the value of n = ");
scanf("%d",&n);
if (n%2==0)
     printf("\nNo. Is Even");
else
     printf("\nNo. Is Odd");
getch();
}

Output:



A Program To Run Basic If Statement


Source Code:

#include <stdio.h>
#include <conio.h>
// A Program To Run Basic If Statement By....Akshay...
void main()
{
int n;
clrscr();
printf("\n Enter value of n = ");
scanf("%d",&n);
if (n%2==0)
printf("\n No is even.");
getch();

After writing the source code save with extension .CPP

Output:


Xperia Z3 Specs

Camera and video


  • 20.7 megapixel camera with auto focus
  • 8x digital zoom
  • ISO 12800 maximum
  • Sony Exmor RS for mobile image sensor
  • 4K video recording
  • Front-facing camera, HD 1080p for video chat and 2.2 MP for camera capture
  • Pulsed LED flash
  • SteadyShot™ – video stabilisation
  • Superior Auto – automatic scene selection
  • HDR for photos and videos
  • Burst mode
  • Social live**
  • Image stabiliser
  • Geotagging – add location info to your photos
  • Object tracking – lock focus on a specific object
  • Red-eye reduction
  • Image capture, supported file format: JPEG
  • Image playback, supported file formats: BMP, GIF, JPEG, PNG, WebP
  • Video capture, supported file formats: 3GPP, MP4
  • Video playback, supported file formats: 3GPP, MP4, Matroska, AVI, Xvid, WebM

Networks


  • GSM GPRS/EDGE (2G)
  • UMTS HSPA (3G)
  • LTE (4G) (not available in all markets)

Display and design


  • 5.2" Full HD display (1920x1080 pixels)
  • TRILUMINOS™ Display for mobile
  • X-Reality™ for mobile picture engine

Processor (CPU)


  • Snapdragon 2.5 GHz Qualcomm Quad-core
  • Adreno 330 GPU

Memory and storage


  • 3 GB RAM
  • Up to 16 GB flash memory
  • Up to 128 GB microSD™ (card slot, SDXC supported)

Connectivity


  • aGPS
  • Bluetooth® 4.0 wireless technology
  • 3.5 mm audio jack with Digital Noise Cancelling (DNC)
  • DLNA Certified®
  • NFC
  • GLONASS**
  • Native USB tethering
  • Synchronisation via Exchange ActiveSync®, Facebook™, Google™ and SyncML™**
  • USB High speed 2.0 and Micro USB support
  • Wi-Fi and WiFi Hotspot functionality
  • ANT+ wireless technology
Sensors

  • Accelerometer, Gyro, Proximity, Compass, Barometer

Sony Xperia Z3

For specs click here

Designed to stand the test of time

With Sony’s passion for perfection, this waterproof smartphone blends design and engineering to deliver beauty that lasts. Its super-slim, rounded aluminium frame, uniquely-designed power button and durable tempered glass panels, give it an elegant, premium finish. And with an easy-to-use interface and symmetrical design it feels right at home in your hand.


Snap away with a waterproof smartphone

With the waterproof Xperia Z3, you can take pictures with the best smartphone camera while swimming in fresh water for up to 30 minutes. You can even dive down to 1.5 metres with it. Just remember that all the covers for the micro USB port, the micro SIM slot and the memory card slot must be firmly closed.

Superior photos even in low light

Xperia Z3 has unbelievable ISO 12800 sensitivity, to capture great images even in the toughest of low-light conditions.


4K – Ultra High Definition video recording

The Xperia Z2 lets you capture everything you see in brilliant high resolution 4K video. Four times the detail compared to Full HD 1080p image quality, your footage is delivered in Ultra High Definition, for unparalleled sharpness full of authentic details. This model supports 4K (3840 x 2160) resolution and playback on a 4K TV or projector using the latest MHL 3.0 connector.

Incredible speed and power

For lightning fast web browsing, super fluid UI and impressive multi-tasking, we’ve kitted this Android™ device with the latest and most powerful quad-core Qualcomm® Snapdragon™ 801 processor. The Krait 400 CPU has an impressive max clock speed of 2.5 GHz. And since the asynchronous processor makes sure that each core is powered independently, you get the precise amount of power when you need it, without wasting power when you don’t.

Razor-sharp images with X-Reality™ for mobile

From still pictures and low-resolution videos to high-resolution films, Sony’s unique image software engine analyses each image to optimise colours, sharpness and contrast, as well as reduce noise. The super resolution function reproduces missing pixels, for spectacular clarity and astonishing detail – bringing your favourite moments closer to Full HD quality

Saturday, 27 September 2014

Note 4 Specs

DISPLAY:
 ● Super AMOLED capacitive touchscreen,         16M colors
 ● 1440 x 2560 pixels, 5.7 inches (~515 ppi
     pixel density)
 ● Corning Gorilla Glass 3

MEMORY:
 ● MicroSD, up to 128 GB
 ● Internal 32 GB
 ● 3 GB RAM

BLUETOOTH:
 ● v4.1

NFC: Yes

INFRARED PORT: Yes

CAMERA:

● Primary 16 MP, 3456 x 4608 pixels, optical     image stabilization, autofocus, LED flash.
● Video - 2160p@30fps, 1080p@60fps,                 optical stabilization.
● Secondary 3.7 MP, 1080p@30fps.

CPU:

● 2.7GHz Quad Core or 1.9GHz Octa Core (1.9GHz Quad + 1.3GHz Quad Core)

* Specs may differ country wise.

SENSORS: 

● Gesture, Accelerometer, Compass,
   Gyroscope, RGB ambient light, Proximity,      Barometer, Hall Sensor, Finger Scanner,        UV, HRM.


Pros : Awesome Hardware and Camera,                    Loads of Sensors, Quad HD Display,
           515 pixel density, UltraHD Recording.

Cons: Same Old Samsung Design.

Is it worth a buy?

Yeah! I would have bought it if I had the money.

Samsung Galaxy Note 4

For specs click here

Features
Premium Screen
(Quad HD Super AMOLED
Display)
Enjoy crystal clear images beyond
the limits of the human eye.
The precise color saturation and the high
contrast of 5.7''
Quad HD Super AMOLED display will drive
you to feel the
fluent and vivid color as if you are looking
with the naked eye.
High resolution boasts tremendous viewing
experience.
Truly optimized for web-browsing and e-
booking.

Bright and Clear images
with Advanced Camera
No worries in the dark, still capture
the best moments.
Shoot brighter and clearer images using
Rear and Front
camera. 3.7MP front-facing F1.9 lens
camera, and a 16MP
Smart OIS back camera provides you the
best results for
every moment of your life even in dark
surroundings.

Smart Select
Freely select the text & content on any
screen
With S pen, you can easily select the
contents you want
from any text, screen and apps. Put together
what you
select and share & save at once.

Photo Note
A new way to take notes
Make your own notes. Take photos with
Photo Note and
instantly convert analog to digital.
You can edit notes, change colors, and put
in additional
memos with S Pen easily.

Advanced S Pen
Improved touch & feel like a pen
S Pen offers an improved digital handwriting
experience
through enhanced pressure sensitivity.
Enrich you writing through more precise
expression.

Free Flowing and
Natural multitasking
Intuitive, for more convenience
Multi-window, Gain flexibility by managing
multiple
applications at once on a single screen
using simple
gestures.

Fast charging, high
capacity
Shortened recharge, lengthened use
Thanks to charging speed improvement,
waiting times
of Galaxy Note 4 have decreased
significantly.
Go from zero to 50% in around 30 minutes
– usually a
55-minute process. All you have to do is
plug in and get
dressed after taking a relaxing shower. If
you're running
out of your time, use Ultra Power Saving
mode.

iPhone 6

iPhone 6 isn’t simply bigger —
it’s better in every way. Larger,
yet dramatically thinner. More
powerful, but remarkably power
efficient. With a smooth metal
surface that seamlessly meets
the new Retina HD display. It’s
one continuous form where
hardware and software function
in perfect unison, creating
a new generation of iPhone
that’s better by any measure. 4.7 inches Retina Display


7.1 mm Thick


8 MP Camera with new sensor. Faster auto focus. 1080p HD at 60 fps, slo-mo at 240 fps, and time-lapse video mode. 

The breakthrough Touch ID technology lets
you securely access your iPhone with the
perfect password: your fingerprint. You can
also use it to approve purchases from
iTunes and the App Store without having to
enter your password.

iPhone 6 Plus

iPhone 6 Plus isn’t simply bigger —
it’s better in every way. Larger,
yet dramatically thinner. More
powerful, but remarkably power
efficient. With a smooth metal
surface that seamlessly meets
the new Retina HD display. It’s
one continuous form where
hardware and software function
in perfect unison, creating
a new generation of iPhone
that’s better by any measure. 5.5 inches Full HD Display


7.1 mm Thick


8 MP Camera with new sensor. Faster auto focus. 1080p HD at 60 fps, slo-mo at 240 fps, and time-lapse video mode. 

The breakthrough Touch ID technology lets
you securely access your iPhone with the
perfect password: your fingerprint. You can
also use it to approve purchases from
iTunes and the App Store without having to
enter your password.

Bug in Google.co.in

Did you thought that the biggest search engine in the world does not any bugs, well you were wrong. It also has bugs that pisses people off, and make them move to some other search engine. Let me show you that bug.

Have you ever tried searching for any good that is available online to buy, then you must have seen ads on the top of the page from which you can select the desired website.


But whenever you click any ad, you'll land here. It will say that "Unable to connect to google ad services". These websites pay thousands of dollars to show their ad on google and all they get is "error" and lose of a potential buyer.

Thursday, 25 September 2014

A Program to Convert Celsius Into Fahrenheit

A Program to Convert Celsius Into Fahrenheit

Source Code:

#include <stdio.h>
#include <conio.h>
//A Program to Convert Celsius Into Fahrenheit...By Akshay... 
void main()
{
int c,f;
clrscr();
printf("\nEnter the value in Celsius = ");
scanf("%d",&c);
f=(1.8*c)+32;
printf("\nValue in Fahrenheit = %d",f);
getch();
}

After writing the source code save with extension .CPP

Output:


A Program To Convert Days Into Months And Years.

A  Program To Convert Days Into Months And Years.


Source Code:

#include <stdio.h>
#include <conio.h>
//A Program To Convert Days Into Months And Years..By Akshay...
void main()
{
int d,m,y;
clrscr();
printf("\nEnter the value of days = ");
scanf("%d",&d);
printf("\nDays = %d",d);
m=d/30;
y= d/365;
printf("\nMonths = %d",m);
printf("\nYears = %d",y);
getch();
}

After writing the source code save with extension .CPP
Output:



Wednesday, 24 September 2014

A Program To Convert Seconds Into Minutes And Hours.

A Program To Convert Seconds Into Minutes And Hours.

Source Code:

#include <stdio.h>
#include <conio.h>
//A program to convert seconds into minutes and hours by Akshay...
void main()
{
int s,m,h;
clrscr();
printf("\n Enter the value of seconds = ");
scanf("%d",&s);
printf(" \n Seconds = %d", s);
m = s/60;
h= s/3600;
printf("\n Minutes = %d",m);
printf("\n Hours = %d",h);
getch();
}

After writing the source code save with extension .CPP

Output:


Tuesday, 23 September 2014

A Program To Calculate Percentage


Source Code:

#include <stdio.h>
#include <conio.h>
// A program to obtain percentage....By Akshay...
void main()
{
 float  bme,bcp,eees,comm,phy,total,percentage;
 clrscr();
 printf("\n Enter the marks of BME = ");
 scanf("%f",&bme);
 printf("\n Enter the marks of BCP = ");
 scanf("%f",&bcp);
 printf("\n Enter the marks of EEES = ");
 scanf("%f",&eees);
 printf("\n Enter the marks of.  Communication Skills = ");
 scanf("%f",&comm);
 printf("\n Enter the marks of Physics = ");
 scanf("%f",&phy);
 total = bme+bcp+eees+comm+phy;
 printf("\n Total makrks obtained =  %f"  ,total);
 percentage = total*0.2;
 printf("\n Percentage Obtained =  %f"  ,percentage);
 getch();
}
//Done

After writing the source code save with extension .CPP

Output:


A Program To Calculate Simple Interest



Source Code:

#include<stdio.h>
#include<conio.h>

//A Program to calculate Simple Interest by Akshay...

void main()
{
  clrscr();
  float p,r,t,si;
  printf("\n Principle = ");
  scanf("%f",&p);
  printf("\n Rate = ");
  scanf("%f",&r);
  printf("\n Time = ");
  scanf("%f",&t);
  si = (p*r*t)/100;
  printf("\n Simple Interest is = %f",si);
  getch();
}
//Done!!

After writing the source code save with extension .CPP

Output:


A C Program To Perform Multiplication Of Two Numbers.



Source Code:

#include <stdio.h>
#include <conio.h>

//Multiplication program by Akshay...

void main()
{
int a,b,c,multiplication;
clrscr();
printf("Enter the value of a = ");
scanf("%d",&a);
printf("Enter the value of b = ");
scanf("%d",&b);
printf("Enter the value of c = ");
scanf("%d",&c);
multiplication=a*b*c;
printf("The multiplication of a,b and c is = %d ",multiplication);
getch();
}
//Done!!!

After writing the source code save with extension .C++

Output:




A C Program To Perform Addition Of Two Numbers.


Source Code:

#include <stdio.h>
#include <conio.h>

// Addition program by Akshay...

void main()
{
  int a,b,c;
  clrscr();
  printf("\n Please enter value of a ");
  scanf("%d",&a);
  printf("\n Value of a is = %d \n", a);
  printf("\n Please enter value of b ");
  scanf("%d", &b);
  printf("\n Value of b is = %d\n", b);
  sum=a+b;
  printf("\n Sum of a & b is = %d", sum);
  getch();
}

// Done!!

After writing the source code save with extension .CPP 

Output:


My First Program in C++

First C++ program

Source Code:

#include <stdio.h>
#include <conio.h>

void main()
{
  clrscr();
  printf("My first program");
  getch();
}

After writing the source code save with extension .CPP

Output:


Saturday, 23 August 2014

भारत का भविष्य ।

यद्यपि भारत का सुनहरा भविष्य
तो तुमने देखा है
लेकिन यथार्थ से परे कभी इस तस्वीर
को देखा है
मैंने सड़कों के किनारे भारत
का भविष्य देखा है
कंपकपाती सरदी में नंगे बदन ठिठुरते
देखा है
पेट पालने की जुगत में भीख मांगते
देखा है
भारत के भविष्य को भूख से दम तोड़ते
देखा है
चाय की होटल पर उसको बरतन धोते
देखा है
भारत के भविष्य का यूं अपमान होते
देखा है
मैंने भारत के भविष्य को जूते माँजते
देखा है
कचरे की टोकरी से उसको झूठन खाते
देखा है
स्कूलों के बैग टकटकी लगा देखते
देखा है
और फिर खुद की हालत पे यूं मन मसोसते
देखा है
फटे हुए कपड़ों में उसको बदन छिपाते
देखा है
भारत का भविष्य दर-दर ठोकर खाते
देखा है
सड़क किनारे बिन चद्दर के रात बिताते
देखा है
और कभी गाड़ी की टक्कर से बेमौत मरते
देखा है
यद्यपि भारत का सुनहरा भविष्य
तो तुमने देखा है
लेकिन यथार्थ से परे कभी इस तस्वीर
को देखा है