Sunday, April 24, 2016

C program to find the roots of a quadratic equation

#include<stdio.h>
#include<conio.h>
#include<math.h>
void main()
{
float a,b,c,d,root1,root2,root3;
clrscr();
printf("If the quadratic equation is ax2+bx+c=0 , then..");
printf("\nEnter the value of 'a' here: ");
scanf("%f",&a);
printf("Enter the value of 'b' here: ");
scanf("%f",&b);
printf("Enter the value of 'c' here: ");
scanf("%f",&c);
d=(b*b)-(4*a*c);
if(d>0)
{
root1=(-b+(sqrt(d))/(2*a));
root2=(-b-(sqrt(d))/(2*a));
printf("The roots of the equation are %f and %f",root1,root2);
}
else if(d==0)
{
root3=(-b/(2*a));
printf("The root is %f ",root3);
}
else
{
printf("No root");
}
getch();
}

C program to swap two variable(Using 3rd variable)

#include <stdio.h>
#include <conio.h>
void main()
{
int a,b,c;
clrscr();
printf("Enter the first number");
scanf("%d",&a);
printf("Enter the second number");
scanf("%d",&b);
c=a;
a=b;
b=c;
printf("The swapped numbers are \na=%d",a);
printf("\nb=%d",b);
getch();
}


That's it for now
Thank you for visiting

C program to swap two variables (Without using 3rd variable)

#include <stdio.h>
#include <conio.h>
void main()
{
int a,b,c;
clrscr();
printf("Enter the first number");
scanf("%d",&a);
printf("Enter the second number");
scanf("%d",&b);
a=a+b;
b=a-b;
a=a-b;
printf("The swapped numbers are \na=%d",a);
printf("\nb=%d",b);
getch();
}



That's it for now

Thank you for visiting

Saturday, April 23, 2016

Apple shuts down iTunes Movies


Apple may soon find a Great Wall coming in the way of further business growth in China. While growing its market share in mobile phones in recent years and being the only US-based content and services ecosystem to comply to the communist regime’s rigorous censorship demands to do business in the country, it may have grown too far, too fast.
Two anonymous sources close to the State Administration of Press, Publication, Radio, Film and Television say the authority demanded Apple close down its iBooks Store and iTunes Movies and that the company complied. Apple, through a spokesperson, stated that it hoped to make the services available in China again soon.

The government has also wanted to crack down on communications and had previously proposed an antiterrorism law that would demand the turn-over encryption keys that tech companies used. Apple, in US congressional testimony, has previously stated that it did not give the keys to China. But after the Apple v FBI debacle, a similar case in China — if and when it would happen — would not bode well for Cupertino’s continued prospects in the country.
Apple isn’t likely to give up a revenue engine as rich, though burdensome, as China. And yet we wonder how far a giant will go to appease another giant?
That's it for now.
Thank you for visitng
Will see you next time... 

Source: pocketnow


Friday, April 22, 2016

Refurbished store at amazon

Here are some refurbished products at amazon right now, which are in great prices.
Most of the also come with a warranty. So, if you re interested in buying, do it right now...

If you do not know what refurbished products are, click here to read


                                                      


Pick any one which you want.

Thank you for visiting 
Will see you next time...

This could be the next Moto E

First details regarding of the upcoming 3rd generation Moto E have surfaced thanks to import documents on Zauba. Codenamed "Affinity", the phone is listed to have a 5" display and a price of just $78.

While it's clear that this price isn't the device's retail one, it's an indication that the "Affinity" is a low-budget device. The current Moto E (2nd gen) sports a 4.5" display, so the upcoming model will presumably grow in size.
Presumably, the Moto E (3rd gen) will be larger in order to accommodate a fingerprint scanner. As a Lenovo exec said earlier in January, all 2016 Moto devices will have fingerprint scanners. Hopefully, the latest Moto E won't be an exception.
Recent information suggests that Motorola prepares to announce the Moto G4 and G4 Plus on June 9. We wouldn't be surprised if the Moto E (3rd gen) too gets a place under the spotlights then.
That's it for now.
Thank you for visiting
Will see you next time...

Thursday, April 21, 2016

Android N Developer Preview now available on Sony Xperia Z3


The Android N Developer Preview was seeded to Nexus 6, Nexus 5X, Nexus 6P, Nexus 9, Nexus Player, and Pixel C in early March. The Preview even saw its first firmware update in mid-March.



Surprisingly, Sony made the Android N Preview available to the Xperia Z3 model earlier today. If you own the D6603 or D6653 flavors of the Xperia Z3, then you can easily install and run Android N. Here is how:
  • Connect your compatible Z3 device to a computer with a USB cable.
  • Xperia Companion will open automatically.
  • Make sure you have Xperia Companion version 1.1.24 or later. If not, download the latest version from here.
  • Hold down the ALT key on your computer and click on Software repair on the home screen, then follow the guide.
  • You’ll be asked to disconnect and turn off your device, then to reconnect whilst holding down the volume down key to start the software flashing.
  • You can return to factory settings at any time by connecting back to Xperia Companion and following the Software repair.




The Android N Developer Preview lacks the Xperia launcher, so you should have that in mind before installing. Plus - it's recommended to install it only if you are a developer and know what you are doing. Bugs and issues may and will occur, so it's not recommended to use an Xperia Z3 running on Android N as your primary phone.
That's it for now.
Thank you for visiting
Will see you next time..

Galaxy S5 gets Marshmallow update



After already landing for South Korean,  and Sprint versions of the Galaxy S5, Android 6.0.1 Marshmallow is being rolled out to the global version of the S5 (SM-G900F).

The weight of the update is around 1.5 GB.
The update has already been spotted landing on handsets in Sri Lanka.

Given that the global model is available across so many regions, there’s no strict time frame for when the update will arrive for your particular handset. It could take days or more likely weeks for the update to get around the world, so don’t stay up looking out for that update notification or hammering the manual update check button.
Check out the video for more details 


That's it for now.
Thank you for visiting 
Will see you next time...

Wednesday, April 20, 2016

Le Eco Le2, Le 2 Pro, Le Max 2 overview

Le Eco has just announced their three new phones in the Chinese market.The company is making a lot of noise and positioning itself against its competition in the smartphone space and beyond.
LeEco has been making a concerted push into the smartphone space. And today they are updating their smartphone lineup with a trio of devices all appropriately suffixed as 2. These are the Le 2, the Le 2 Pro, and the LeMax 2.

Starting at the flagship level, we have the LeMax 2. Based around Qualcomm’s popular Snapdragon 820, the 5.7” phablet’s spec sheet reads very similar to some of the other flagship phones we’ve seen launched this year. LeEco is pairing the 820 with 32 or 64GB of UFS 2.0 NAND, and as a first for any Android smartphone, up to 6GB of LPDDR4 RAM. To have the first 6GB phone show up here is admittedly unexpected, but given the prevalence of 3GB/4GB configurations elsewhere, it was only a matter of time until someone used higher capacity chips to get to 6GB.

Shifting gears, the display for the phone is a 1440p LCD, which will put it in competition with the likes of the Samsung Galaxy Note5 and S7 series, and the LG G5. The display subjectively looked good with high brightness and good viewing angles. Otherwise for image capture purposes, LeEco has outfitted the phone with a 21MP OIS-capable rear camera, utilizing Sony’s IMX230 sensor. As has been the case for a number of phones this generation, there is a sizable camera hump here to house the camera while keeping the rest of the phone relatively thin. Meanwhile front facing camera duties are handled by a 8MP camera with 1.4µm pixel pitch on the sensor.


Rounding out the package, LeEco is equipping the phone with a 3100mAh battery. 

But perhaps the most notable aspect of this phone will be the I/O connectivity.  That LeEco is using the increasingly common USB Type-C port is, if anything, to be expected. However what’s unexpected is that this is the only port; a 3.5mm audio jack is not present. Instead the company is piping out audio over the USB port and including a USB Type-C to 3.5mm audio adapter to maintain compatibility with standard headsets. Underlying the USB audio connection in turn is a brand-new technology LeEco is calling CDLA (Continual Digital Lossless Audio).
LeEco will be offering two configurations of the LeMax 2. The 32GB NAND + 4GB RAM configuration will sell for ¥2099, or roughly $325. Otherwise the more spacious 64GB NAND + 6GB RAM configuration will sell for ¥2499 (~$385).


Below the LeMax 2 are the duo of Le 2 series phone, the Le 2 Pro and the simply named Le 2. Both of these phones share the same basic chassis and screen, incorporating a 1080p LCD in a 5.5” phablet form factor. The design is also the same as the LeMax 2 so except for the smaller camera bump on the basic Le 2 you wouldn't be able to tell the difference between the Le 2 Pro and the LeMax 2. The difference, as you might expect from the name, comes from the feature set and price.

Starting with the Le 2 Pro, this phone is based around MediaTek’s Helio X25 SoC, which offers 3 clusters of ARM Cortex CPUs – 2 A53 quad core clusters at different performance/power levels, and a dual core A72 cluster. The X25 in turn is paired with 4GB of LPDDR3 and 32GB of eMMC 5.1 NAND. Also setting it apart from its more basic counterpart is the rear camera module, which like the LeMax 2 is a 21MP camera utilizing Sony’s IMX230 sensor. However OIS doesn't seem to be available in this somewhat smaller phone.


As for the basic Le 2, this sees LeEco dropping down to the lower performance Helio X20 SoC, which cuts down on both the A72 cluster and GPU clockspeeds. The Le 2 gets a smaller 3GB of LPDDR3 RAM and the same 32GB of eMMC 5.1 NAND, however the camera module is a simpler 16MP camera utilizing a hereto-unknown sensor.
Otherwise both phones share identical specifications as far as all other features are concerned. The Helio SoC offers its own integrated Category 6 LTE modem, and both phones incorporate a 8MP front facing camera. And since both phones share the same chassis, both phones also come equipped with a 3000mAh battery. Finally, for I/O and connectivity both phones share the larger LeMax 2’s configuration: dual-band WiFi + Bluetooth 4.2 for wireless data, and the sole USB Type-C port for data and audio.

The Le 2 will be hitting the market at ¥1099 (~$170), while the more powerful Le 2 Pro adds another ¥400 to the price tag, bringing it to ¥1499 (~$230).

That’s it for now.
Thank you for visiting

Will see you next time…

Le Eco ditches the 3.5mm audio jack


LeEco or letv as known earlier , has unveiled three new smartphones in Chinese markets. And the phones do not have a 3.5 mm audio jack. That’s because these have been replaced by the USB type-C port.

So, Le Eco becomes the first company( even before apple)  to ditch the 3.5mm audio jack .


 Le eco thinks that analog audio connectors like the 3.5mm audio jack are a thing of the past and starting with the new Le trio is moving to an all-digital solution called CDLA. This stands for Continual Digital Lossless Audio and has already been certified by the Music Association of China.


Headphones will be plugged into the USB Type-C port, which will stream lossless audio to a decoder chip inside the headphones themselves. One benefit of this setup is that it simplifies noise reduction - analog headphones typically need batteries to power the electronics necessary for noise reduction (there are exceptions, like some high-end Sony headphones, which work only with Xperia phones).

At first, two pairs of headphones will be available. The big over-ear headphones have noise reduction (comparable to BOSE QC25, says LeEco) and "solid bass."

There are smaller in-ear plugs that feature 14mm moving coils and bass that tops Apple's EarPods (again, says LeEco).




These initial headphones will be manufactured by FIIL, but ideally others will join in too since now there's slim choice. Apple is rumored to drop the 3.5mm audio jack and go all in on the Lightning port, but that won't help with the availability of USB Type-C headphones.

 That's it for now.
Thank you for visiting
Will see you next time...

Tuesday, April 19, 2016

CREO mark 1 smartphone -- Do you really want the phone??



The CREO mark 1  is a phone from a new company named CREO .now available for purchase on the company's official website, and among and on flipkart right now. The price is 19,999 Indian rupees
Custom Message engraved on the side of the phone



Those purchasing the handset from CREO's website will also be able to get a custom message engraved on the side of their unit. The engraving option will be free for the first 2,000 orders.

The overall look feel of the feel of the phone is nice. Even though it is a bit heavy, it feels like a solid device in your hand. The power and volume buttons are on the right, while the three buttons below the screen can be customized according to your needs. The back panel is a fingerprint magnet,.. thanks  to it’s glossy finish.
The Mark 1 is the most affordable phone to sport a 2K Quad-HD display.


The phone is powered by a Mediatek Helio X10 - True octacore processor, backed up with 3GB of RAM.



The Memory is expandable upto 128GB

The phone is running on it’s own skin- the FUEL UI on top of  android lollipop 5.1.1.
The company did great with it's Fuel UI. They did not mess up the UI by adding many customization, and you will be able to spot your favorite native android icons.

The phone has got a really useful app called Echo, a voice mail that resides in the device and not with your service provider.
The camera has a Sony Exmor sensor

The Mark 1 has a camera of 21 megapixels and a front camera of 8 mp. The camera sensor is that of Sony Exmor The camera has immense potential, but it needs work. At the moment it looks like a camera that has been tuned to impress and in that process tends to outperform itself. Picture at times appear stunningly good, and in the very next instant appear bizarrely over processed.

Shot with Mark 1
Shot with Mark 1
Shot with Mark 1
Shot with Mark 1












































Concluding, if you like customizing your phone and ensuring that your phone looks different as soon as you switch it on. The Creo Mark 1 offers both of these out of the box. Plus, it seems like good value for money given specs and features, especially the QHD screen. But , with a price of about 19,999 INR, will it be able to stand out in the market?



We will let you know.

Thank you for visiting.

Will see you next time...

T-Mobile releases Marshmallow Update for Samsung Galaxy S6 edge, S6 Edge+, Note 5



Shortly after the Samsung Galaxy Note5 on T-Mobile started receiving it, the Marshmallow update has begun hitting T-Mobile Galaxy S6 edge+ variants as well. While the update brought Android 6.0 to the former, the latter gets Android 6.0.1.


Weighing in at 1.34 GB, the update bumps the software version to G928TUVU2DPD1. As you'd expect, the update brings along the usual Marshmallow goodies, including Doze, Google Now on Tap, and redesigned app permissions.


Given the fact that the update has just begun rolling, it may take some time before it hits your device. However, if you're feeling impatient, you can manually check for it by heading to the Settings menu on your handset.
Watch the video here 



That's it for now.

Thank you for visiting
Will see you next time... 

Monday, April 18, 2016

LeEco Le 2 (or Le Max 2) caughtin a benchmark with 6GB of RAM

After launching the first Snapdragon 820-powered smartphone a few months back, LeEco (formerly known as LeTV) has been busy working on its next top of the line device. We've seen this leaking quite a few times, either in images, official certifications, or benchmarks.. 

The handset could be called Le 2, Le 2 Pro, or. even Le Max 2. And now it turns out that the Le 2 (let's call it that) will come in no less than three hardware versions.
One will sport 3GB of R. AM, another will come with4GB of memory, but the highest-end of them all will get a whopping 6GB of RAM. It's this model that has now been spotted in the GFXBench database, after someone performed a benchmark run on it.
The phone also has a 5.5-inch QHD touchscreen, a 21 MP rear camera (with 4K video capture), an 8 MP front-facing snapper (which can record QHD video), and 64GB of storage. It's powered by Qualcomm's Snapdragon 820 chipset, as you'd expect given the other specs here. The new LeEco smartphone runs Android 6.0.1 Marshmallow.
It's still unclear when LeEco will make this device official, but hopefully that's going to happen soon.


Huawei VR: Chinese manufacturer unveils its Gear VR-style virtual reality headset


Chinese electronics company Huawei has unveiled its first virtual reality (VR) headset, alongside its recently-announced P9 smartphone.

The  Huawei VR is the company's answer to Samsung's Gear VR - rather than having a built-in screen, users slot their P9 or P9 Plus smartphone into the front of the headset, where it works as the display and computer 'brain' of the device.




Like the Gear VR, it has a trackpad on one side, which allows you to use the phone while it's encased in the headet, as well as volume and focus controls.

The sheer amount of launch content for the Huawei VR sets it apart, however - as reported by Engadget, it'll come out with 4,000 videos and 40 games ready to play, along with hundreds more panoramic pictures and virtual tours.




Well, that's it for now.
What do you think of the new virtual reality headset by Huawei? 

Thank you for visiting the page.
Will see you next time..