Techy Blitz

The science of today is the technology of tomorrow.

Breaking

Tuesday, 14 September 2021

September 14, 2021

C program to check prime number

 



Prime Number formula: For a number p>3; if  p² - 1 is divisible by 24 then it is prime.

 

#include<iostream>
using namespace std;

int main()
{
int n;
cin>>n;
if(n>=1){
if(n==2 || n==3){
cout<<n<<" is prime";
}
else if(((n*n)-1)%24==0){
cout<<n<<" is prime";
}
else{
cout<<n<<" is not prime";
}
}
else{
cout<<"Enter a valid number";
}
return 0;
}

Thursday, 22 November 2018

November 22, 2018

C Program to print a pyramid



#include <stdio.h>
int main(void)
{
// n is number of rows // PRAJNADEEP
int n = 5;
int i, j, k;

// do for each row
for (i = 1; i <= n; i++)
{
// print space
for (j = i; j < n; j++)
printf(" ");

// print '*'
for (k = 1; k < 2*i; k++)
printf("*");

// move to the next line
printf("\n");
}

return 0;
}

Saturday, 26 May 2018

May 26, 2018

How to play PUBG on PC for free.

Download and install PUBG on your PC for free



PlayerUnknown's Battlegrounds (PUBG) is a multiplayer online battle royal video game created by developer Bluehole for Microsoft Windows with planned releases for Xbox One and PlayStation 4 systems in the future. To win, players must eliminate all competitors across a deserted island using weapons, equipment and other items discovered throughout the match.

Its not free for PC and consoles, you have to purchase it to play. But there is a way to run this game for free. 

Yes, you heard it  right. You can get  PlayerUnknown's Battlegrounds
(PUBG) on your PC for free. 

But how ? Well, there is a mobile version of the game available for free on the Play Store. Its not quite versatile as the PC version but it's quite close. You can install this game with the help of an android emulator like bluestacks. But now, Tencent Games have made it more easy now to play the mobile version on PC by releasing an Official Emulator. Its available for download on their website.
Just follow these steps to install the game: - 

1. Goto the official site and download the installer. 


 Click here to download the setup.


2. After you have downloaded the installer, run the setup.
 It will start downloading the required files, the game is about 1.2 GB including the emulator files so make sure you have enough data plan. 


The download will take time according to your internet speed.

3. After the downloading is complete, click on PLAY.

Thats it, PUBG mobile will launch, you can now enjoy the game. The control settings can also be configured on the Emulator. 



Thats it ! Enjoy.





Thanks.


Tuesday, 8 May 2018

May 08, 2018

Google Play Awards, the Best Apps of 2018 !

The Best Android apps of 2018 according to Google


There are thousands of apps on the play store, majority of which are available for free for any android smartphone.


But which ones are better ? Provide a better experience and worth your time ?

Well, every year Google short lists some apps based on different categories which according to them are some of the best apps on the Play Store you can get. This year Google Play awards were unveiled on the eve of I/O 2018 (annual developer conference). The nominees were first announced last month and these are the top Android apps and games chosen by Google : 

Best Breakthrough Hit :

This category is for new apps and games with excellent overall design and user experience and strong install growth. This year its Empires & Puzzles.





Build for Billions Experience :

This category is for well optimized performance, good design and emerging markets. This year India's Shopping App Flipkart wins this title.



Standout Startup :

 Here, apps from new developers or Startups with good user experience and high number of installs are highlighted. This year Canva is named the best new Standout Startup app. Its an easy and simple to use photo editor and Graphics design tool.



Best AR / VR Experience:

Apps which offer amazing visual experience with highly optimized use of ARCore or Daydream UI.
"BBC Earth : Life in VR" gets this title this year.



Standout Indie:

Games from indie developers with great design,game-play and  visuals with well optimized user experience.



Best Community Building Game :

Games that are built to connect users and promotes social interactions with great gameplay and game mechanics.



Best Social Impact:

Apps or games which create a positive impact and are great for productivity. (categories include : health,education,crisis response etc.) 



Best Accessibility Experience:

Apps that serves people with disabilities or special needs.
 


Standout Well-Being App :

Apps with great design and aspects which provides a rich user experience and encourages users to live a better life.This year Simple Habit is named the best Standout App of 2018.




These are the Google's Picks for the best android apps of 2018 through Google Play Awards.

Tuesday, 17 April 2018

April 17, 2018

How to improve the gaming performance of your smartphone ?

Gaming on a budget device ?


Now a days mobile games have evolved very much with time. The visuals and the graphics have improved a lot. We can see similar to desktop level graphics on a flagship smartphone with the latest and greatest specs. 

With this comes the latest titles such as Asphalt 8, PUBG, Modern Combat 5, etc. These games are made with the experience and visuals in mind, they do not focus on the budget range of devices.

But not all are fortunate enough to own a Pixel 2 or a Razer Phone, but you could be able to play those games with minor lags on a mid-range device. But with a presence of mind you can get more out of your budget device, improve the performance and experience lag-free gaming*. 


Follow these steps :

By, following these steps you can improve the GPU performance and increase the frame rate by about 15-20 %.


1. First goto 'settings > About phone'.


2. Scroll down below and tap on 'Build number' several times until the developer options are enabled.



3. Goto 'Developer options'.



3. Enable the developer options. Then scroll down below and under the 'Hardware accelerated rendering' section, turn on 'Force 4x MSAA' option as shown below.





Thats it, you are done, now you can enjoy a better gaming experience than before. 


Thanks.

*The improvement in perfomence depends on the hardware of your device, turning on this setting will not make your phone perform like a flagship phone.






Friday, 30 March 2018

March 30, 2018

OnePlus 6 release date, news, price and leaks

OnePlus 6



The next flagship from OnePlus, the OnePlus 6 is one of the most anticipated and hyped smartphones of 2018.

As seen on the previous OnePlus devices, they offer a great value for money and are one of the Top players in the mid-range budget segment.

So, lets talk about the upcoming OnePlus 6.

As seen on the previous leaks, the new device will have a notch in the display just like the iPhone X, where the front facing camera and the sensors are put to increase the screen-to-body ratio as much as possible. It seems like 2018 is going to be the trend for 18:9 displays and bezzel-less phones with notches. 

This is the first Official image from OnePlus, confirming the notch.


Lets talk Specs :


The OnePlus 6 is going to be powred by the latest Snapdragon 845, 6GB or 8GB of RAM, a 6.2 inch display with a screen resolution of 1440 x 2560 pixels and runs on Android v8.1 (Oreo) operating system. The battery is expected to be 3500 mAh. It will have upto 256 GB of storage, dual rear cameras of 16MP+20MP and will support Dash Charging.

Price :

It seems like that the OnePlus 6 will have the highest price tag the company has put on a smartphone. It is expected to cost around Rs 34,000 - Rs 38,000. 

Expected launch:

In January, CEO Pete Lau confirmed that the OnePlus 6 will be available late in the second quarter. Last year, the OnePlus 5 launched in June, so we should expect the same timeline with its successor.


 

Tuesday, 27 March 2018

March 27, 2018

How to download copy of everything Facebook knows about you?

Download a copy of your data from Facebook



























































The market capitalisation of Facebook fell more than $100 billion over the last 10 days after the data scandal involving Cambridge Analytica was exposed.

Facebook collects all your data(texts,contacts,messages etc.) isn't it creepy ?
Well, there's a way to know what data of you is stored in their servers. You can download all of your data stored in a"zip" file easily.

Just Follow these simple steps :-

1. Login to your Facebook account.

2. Goto settings.

3. Under General Settings, select "Download a copy of your Facebook data. As shown below:



4. Then select "Start My Archive" as shown below :-




5. You will be notified when this process is finished. Then click on the notification and select "Download Archive" :-


6.  You will be asked to re-enter your Facebook password. Just do it and your data will be downloaded.



Thanks.






March 27, 2018

Far Cry 5 Released !

Far Cry 5 ! Here's what you need to know :



The Latest Game from the Far Cry franchise by Ubisoft is Released Worldwide Today.

Similar to its predecessors, Far Cry 5 is an action-adventure first-person shooter set in an open world environment which the player can explore freely on foot or via various vehicles. Unlike previous titles in the series where the player takes on the role of a set character, the game will feature a new character creator, which the player can use to customize their character's appearance.



This year, the game takes place in the fictional area of Hope County, Montana. As far as the story goes, there's a radical preacher named Joseph Seed has formed the ever-growing Eden’s Gate cult, the player is a sheriff’s deputy who has been tasked with helping the U.S. Marshals arrest Seed, but that doesn’t go according to plan, and you soon find yourself assisting a small rebellion that is trying to take back the area from Eden’s Gate.

Far Cry 5 is available for PC,PS4 and Xbox One.



Here are the PC System requirements for Far Cry 5 :-


Minimum :

  • CPU: Intel Core i5-2400 | AMD FX-6300 @ 3.5 GHz or better.
  • CPU SPEED: Info
  • RAM: 8 GB
  • OS: Windows 7 SP1, Windows 8.1, Windows 10 (64-bit versions only)
  • VIDEO CARD: NVIDIA GeForce GTX 670 | AMD R9 270 (2GB VRAM with Shader Model 5.0 or better)

Recommended :

  • CPU: Intel Core i7-4770 @ 3.4 GHz | AMD Ryzen 5 1600 @ 3.2 GHz or equivalent
  • CPU SPEED: Info
  • RAM: 8 GB
  • OS: Windows 7 SP1, Windows 8.1, Windows 10 (64-bit versions only)
  • VIDEO CARD: NVIDIA GeForce GTX 970 or AMD R9 290X (4GB VRAM with Shader Model 5.0 or better).