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
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