Skip to main content

Posts

C programs to create pyramid structures

Q1.  Write a C program to create pyramid structure as shown below : 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 Code: //Author : Lakshmikant A. Deshpande #include<stdio.h> #include<stdlib.h> void main() { int i=1,j=5; for(i=1;i<=5;i++) { for(j=1;j<=i;j++) printf("%d ",j); printf("\n"); } } Q2.  Write a C program to create pyramid structure as shown below :     1      1 2     1 2 3  1 2 3 4 1 2 3 4 5 Code: //Author : Lakshmikant A. Deshpande #include<stdio.h> #include<stdlib.h> void main() { int spaces=4; int i,j,k; for(i=1;i<=5;i++) { for(k=0;k<spaces;k++) //Print spaces printf(" "); for(j=1;j<=i;j++) { printf("%d ",j); } for(k=0;k<spaces;k++) //Print spaces
Recent posts

Android KitKat (4.4) features, tips & tricks

Android KitKat is the most recent version of Android till date. It has revamped user interface with smoother animation and lower system hardware requirements. As Android rolled out Android KitKat, it introduced a bunch of new features and modifications in the Android API. 1. Keep mobile data under control We use mobile data everyday. But not all of the carriers do have unlimited data plans. Sometimes we fail to keep an eye on mobile data limit and get a huge bill in return. And as we all know, Android applications hog data a lot because of cloud computing with synchronization. Thanks to Android's built in data monitor which warns you to turn off data when warning limit set by you is exceeded, and turns off data automatically when data plan is exhausted. The data usage monitor even allows to reset the data counter on a particular date. 2. Keep an eye on alarms Alarms are extremely useful for the most of us. But sometimes they make you feel awkward when your phone rings wi

Moto G Tips and Tricks

Hey there ! You got a Moto G ? Awesome. You bought the Motorola's most successful phone ever. It's the best phone you can get by spending  less than 200$. The Motorola and Google have done some magic over the phone and it's still difficult to find out what exactly they have done to bring down the price bar. Smart typing with Google Keyboard.   Google has introduced Google keyboard in Kitkat with gesture based typing which lets you type by just swiping your finger through the letters of intended word. It's an incredible way of typing which gets better and better as you go on using it. Google currently haven't added a facility to fetch slang words/popular acronyms from social networks. Getting help from Motorola   Motorola has provided a nice application for providing easy access to help. It is also one of the only few apps Motorola has added to keep the operating system more close to stock android. To access this service, just click on Help icon in launche

Enable Developer Tools in Moto G

As we know, Moto G is a fantastic and affordable phone by Motorola and Google !! Moto G surprisingly provides specifications that the phones with double price could provide. Are you too a nerd too, trying to explore your brand new phone ? You are at the right place. Initially developer options used to be visible. Later, with the release of Android 4.2 Jelly Bean (JB)  Google decided to hide those settings, because people used to play with developer tools, even if they did not know what those settings could lead. Follow the steps. 1. First of all get a Moto G, if you still don't have it... 2. Open settings. 3. Scroll down to bottom. 4. Touch on 'About Phone' 5. Tap on Build Number 7 times You are good to go... :)

BSNL connection problem (solved)

Are you fed up by BSNL GPRS connection problem ? No worries, I'm here with a working solution. Just follow the guide : 1) Go to your BSNL data card application 2) Go to settings / configuration ..... (I'm unsure, coz I'm using another data card) 3) Find APN or Access Point settings and put there ' bsnllive ' without quotes. 4) Save the setting and connect with the new setting. Once you get connected, you need to configure proxy in each application you use. If you are unsure, you can always google for configuring the proxy in that application. You will get high browsing speed with this proxy. The proxy settings are as follows : Proxy : 10.220.67.131 Port : 8080 You can use the same APN, proxy and port in your phone too. P.S. : Don't' forget to reset all of your settings to default when you change your internet connection. Otherwise you won't be able to browse the net at all. Enjoy the speed !

BSNL free missed call alerts

Hey folks, you can get free missed call alerts on a BSNL sim card. All you've got to do is divert/forward your calls when your phone is unreachable or unavailable. Just go to call settings in your phone, and divert the calls to this number  : +919422017010. I'm a BSNL user and I'm currently using missed call alerts for free. Thanks for visiting my blog ! :) Enjoy !

Pidgin :- Great alternative to traditional messengers

Pidgin is a universal chat client. It lets you chat with multiple social networks and chat networks. Imagine a program with which, you can chat with Google chat, Facebook chat, ICQ, Yahoo Messenger, AOL Messenger.... friends at once without need of logging in to each of those individually. With this, you can have mail notifications too. Features : 1) Supports multiple chats like Google Talk, Yahoo Messenger, ICQ, ..... 2) Smileys and kinda useful things 3) Very handy 4) Multiple messenger chat possible simultaneously 5) Powerful features, and supports adding buddy, checking mail and much more Want to have a look ? Go here   www. pidgin .im/ [ Image from http://www.pidgin.im ]