Profile

Cover photo
Karanjeet Kaur
Lives in India
38 followers|227,942 views
AboutPostsPhotosVideos

Stream

Karanjeet Kaur

Shared publicly  - 
CPM leader Sitaram Yechury on Thursday accused the government of charging students with sedition because it couldn’t tolerate dissent and wanted to enforce its ideology on everybody.
1
Add a comment...

Karanjeet Kaur

Shared publicly  - 
 
 
#include <stdio.h>
#include<conio.h>
#define ARRAY_SIZE 5
void main()
{
char array[ARRAY_SIZE] = "12345";
int index;
clrscr();
for (index = 0; index < ARRAY_SIZE; ++index)
{
printf(" &array[ index ]=Ox%p (array+i ndex)=Ox%p array[index ]=Ox%x\n" ,&array[index],(array+index), array [index]);
}
getch();
}
1
Add a comment...

Karanjeet Kaur

Shared publicly  - 
 
 

#include<stdio.h>
#include<dos.h>
#include<conio.h>
main()
{
int n,x[50],big,i;
printf(" \n How many Numbers you want to Enter:");
scanf("%d",&n);
printf("\n ENTER THE NUMBERS: ");
for(i=0;i<n;i++ )
{
scanf("%d",&x[i]);
}
big=x[0];
for(i=1 ;i<n;i++)
{
if(big<=x[i])
{
big=x[i];
}
}
printf("\n BIGGEST NUMBER IS = %d ",big);
sleep(5);
return 0;
#include. #include. #include. main(). {. int n,x[50],big,i;. printf(" \n How many Numbers you want to Enter:");. scanf("%d",&n);. printf("\n ENTER THE NUMBERS: ");. for(i=0;i...
1
Add a comment...

Karanjeet Kaur

Shared publicly  - 
 
 
#include<stdio.h>
#include<conio.h>
void main ( )
{
int ind_one= 1, xmas=71, fill = 0,jvm, value ,kum;
clrscr() ;
while (ind_one<= 7)
{
jvm = 65;
value = xmas ;
while(jvm<=value)
{
printf ( "%c", jvm ) ;
jvm++ ;
}
if(ind_one==1 )
value-- ;
kum=1;
while(kum<=fill)
{
printf(" ");
kum++ ;
}
fill = 2 * ind_one - 1 ;
while( value>=65)
{
printf(" %c" ,value);
value--;
}
printf( "\n");
xmas--;
ind_one++;
}
printf("\nPress any key for termination ");
getch();
1
Add a comment...

Karanjeet Kaur

Shared publicly  - 
 
 
#include<stdio.h>
#include<conio.h>
#include<process.h>
#include<dos.h>
void main()
{
int a[20],n,i,j,b[10],temp,temp1,count[10],count1;
clrscr();
printf("Enter the Size of array:");
scanf("%d",&n);
printf("\n Enter the elements of array(1-10)\t",i+1);
for(i=0;i<n; i++)
{
scanf("%d",&a[i]);
if(a[i]<1 || a[i]> 10)
{
#include. #include. #include. #include. void main(). {. int a[20],n,i,j,b[10],temp,temp1,count[10],count1;. clrscr();. printf("Enter the Size of array:");. scanf("%d",&n);. printf("\n Enter the elements of array(1-10)\t",i+1);. for(i=0;i...
1
1
Add a comment...

Karanjeet Kaur

Shared publicly  - 
 
 
#include<stdio.h>
#include<conio.h>
void main ( )
{
int ind_one= 1, xmas=71, fill = 0,jvm, value ,kum;
clrscr() ;
while (ind_one<= 7)
{
jvm = 65;
value = xmas ;
while(jvm<=value)
{
printf ( "%c", jvm ) ;
jvm++ ;
}
if(ind_one==1 )
value-- ;
kum=1;
while(kum<=fill)
{
printf(" ");
kum++ ;
}
fill = 2 * ind_one - 1 ;
while( value>=65)
{
printf(" %c" ,value);
value--;
}
printf( "\n");
xmas--;
ind_one++;
}
printf("\nPress any key for termination ");
getch();
1
1
Add a comment...

Karanjeet Kaur

Shared publicly  - 
1
Add a comment...

Karanjeet Kaur

Shared publicly  - 
 
 
#include <stdio.h>
#include<conio.h>
#define X SIZE 40
#include <stdio.h>
#include<conio.h>
void main()
{
int sqrs[ 10];
int i;
for(i = 1; i < 11; i++)
sqrs[i-1] = i * i ;
for(i = 0; i < 10; i++)
printf( "%d ", sqrs[i] );
getch();
}
1
Add a comment...

Karanjeet Kaur

Shared publicly  - 
 
 
#include<stdio.h>
#include<conio.h>
#include<process.h>
#include<dos.h>
void main()
{
int a[10],n,i,j,temp;
clrscr();
printf("Enter the size of array : ");
scanf("%d",&n);
printf("\n Enter the elements of array : ");
for(i=0;i<n;i++ )
{
1
Add a comment...

Karanjeet Kaur

Shared publicly  - 
 
 
#include<stdio.h>
#include<conio.h>
#include<process.h>
#include<dos.h>
void main()
{
int a[20],n,i,j,b[10],temp,temp1,count[10],count1;
clrscr();
printf("Enter the Size of array:");
scanf("%d",&n);
printf("\n Enter the elements of array(1-10)\t",i+1);
for(i=0;i<n; i++)
{
scanf("%d",&a[i]);
if(a[i]<1 || a[i]> 10)
{
#include. #include. #include. #include. void main(). {. int a[20],n,i,j,b[10],temp,temp1,count[10],count1;. clrscr();. printf("Enter the Size of array:");. scanf("%d",&n);. printf("\n Enter the elements of array(1-10)\t",i+1);. for(i=0;i...
1
Add a comment...

Karanjeet Kaur

Shared publicly  - 
 
 
#include <stdio.h>
#include<conio.h>
#include <string.h>
#include <ctype.h>
#define MAX_COUNT 100
void show(double array[], size_t array_size, unsigned int field_width);
void main()
{
double array [MAX_COUNT] = {0.0};
int count = 6;
char answer = 'n';
array[0] = 123456.123456;
array[1] = 12345.12345;
array[2] = 1234.1234;
array[3] = 123.123:
array[4] = 12.12:
array[5] = 1.1;
show(array, count, 12);
printf( "\n\n\n");
#include . #include. #include . #include . #define MAX_COUNT 100. void show(double array[], size_t array_size, unsigned int field_width);. void main(). {. double array [MAX_COUNT] = {0.0};. int count = 6;. char answer = 'n';. array[0] = 123456.123456; ...
1
Add a comment...
Story
Tagline
Life can't be ReverseD
Introduction
Karanjeet Kaur is a student and designer with strong passion and promoter of Celzon.
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
India
Links
Contributor to
Links
Work
Occupation
Student
Basic Information
Gender
Female