110. Program to add two matrix.
#include<stdio.h>
#include<conio.h>
void main()
{
int m, n, c, d, first[10][10], second[10][10], sum[10][10];
clrscr();
printf("Enter the number of rows and columns of matrix :");
scanf("%d%d", &m, &n);
printf("\nEnter the elements of first matrix : \n");
for (c = 0; c < m; c++)
{
for (d = 0; d < n; d++)
{
scanf("%d", &first[c][d]);
}
}
printf("\nEnter the elements of second matrix : \n");
for (c = 0; c < m; c++)
{
for (d = 0; d < n; d++)
{
scanf("%d", &second[c][d]);
}
}
printf("\nSum of entered matrices : \n");
for (c = 0; c < m; c++)
{
for (d = 0; d < n; d++)
{
sum[c][d] = first[c][d] + second[c][d];
printf("%d\t", sum[c][d]);
}
printf("\n");
}
getch();
}
@programming_and_coding
#include<stdio.h>
#include<conio.h>
void main()
{
int m, n, c, d, first[10][10], second[10][10], sum[10][10];
clrscr();
printf("Enter the number of rows and columns of matrix :");
scanf("%d%d", &m, &n);
printf("\nEnter the elements of first matrix : \n");
for (c = 0; c < m; c++)
{
for (d = 0; d < n; d++)
{
scanf("%d", &first[c][d]);
}
}
printf("\nEnter the elements of second matrix : \n");
for (c = 0; c < m; c++)
{
for (d = 0; d < n; d++)
{
scanf("%d", &second[c][d]);
}
}
printf("\nSum of entered matrices : \n");
for (c = 0; c < m; c++)
{
for (d = 0; d < n; d++)
{
sum[c][d] = first[c][d] + second[c][d];
printf("%d\t", sum[c][d]);
}
printf("\n");
}
getch();
}
@programming_and_coding
TCS NQT Registration Started
Last Date: 10th Feb 2021
Exam Date: 18th - 19th Feb 2021
Batch: 2018/19/20/21/22
Registration Link: https://prepflix.in/tcs-nqt
~ via PrepFlix
Telegrem: @programming_and_coding
https://prepflix.in/tcs-nqt
Last Date: 10th Feb 2021
Exam Date: 18th - 19th Feb 2021
Batch: 2018/19/20/21/22
Registration Link: https://prepflix.in/tcs-nqt
~ via PrepFlix
Telegrem: @programming_and_coding
https://prepflix.in/tcs-nqt
111. Program to arrange array numbers in ascending order.
#include<stdio.h>
#include<conio.h>
void main()
{
int i, j, a, n, number[30];
clrscr();
printf("Enter total numbers : ");
scanf("%d", &n);
printf("\n Enter the numbers :\n");
for (i = 0; i < n; ++i)
{
scanf("%d", &number[i]);
}
for (i = 0; i < n; ++i)
{
for (j = i + 1; j < n; ++j)
{
if (number[i] > number[j])
{
a = number[i];
number[i] = number[j];
number[j] = a;
}
}
}
printf("The numbers arranged in ascending order are :\n");
for (i = 0; i < n; ++i)
{
printf("%d\n", number[i]);
}
getch();
}
@programming_and_coding
#include<stdio.h>
#include<conio.h>
void main()
{
int i, j, a, n, number[30];
clrscr();
printf("Enter total numbers : ");
scanf("%d", &n);
printf("\n Enter the numbers :\n");
for (i = 0; i < n; ++i)
{
scanf("%d", &number[i]);
}
for (i = 0; i < n; ++i)
{
for (j = i + 1; j < n; ++j)
{
if (number[i] > number[j])
{
a = number[i];
number[i] = number[j];
number[j] = a;
}
}
}
printf("The numbers arranged in ascending order are :\n");
for (i = 0; i < n; ++i)
{
printf("%d\n", number[i]);
}
getch();
}
@programming_and_coding
KPIT HIRING FRESHERS
Package - 3.6-5.5 LPA
Last Date - FEB 07
https://assessment.hackerearth.com/challenges/hiring/kpit-campus-hiring-challenge/
🔥Join @programming_and_coding
Package - 3.6-5.5 LPA
Last Date - FEB 07
https://assessment.hackerearth.com/challenges/hiring/kpit-campus-hiring-challenge/
🔥Join @programming_and_coding
ThoughtWorks Recruitment | 8.3LPA | 2020 Batch | BTech/MCA/MTech/MSc
https://assessment.hackerearth.com/challenges/hiring/thoughtworks-qa-developer-diversity-challenge-2021/
Join Telegram: @programming_and_coding
https://assessment.hackerearth.com/challenges/hiring/thoughtworks-qa-developer-diversity-challenge-2021/
Join Telegram: @programming_and_coding
HackerEarth
ThoughtWorks Grad QA Developer Diversity Challenge 2021
At ThoughtWorks, you will see passionate technologists who believe in the power of software and technology as tools for social change. The 1000+ people in ThoughtWorks India are as diverse in personality as they are in their backgrounds, culture, and expertise. …
Standard Chartered Hiring | 2020 & 2021 Batch | 6LPA+ | Females | B Tech
https://sc.taleo.net/careersection/sc1/jobdetail.ftl?job=GBSDHAIN21&lang=en
Telegram: @programming_and_coding
https://sc.taleo.net/careersection/sc1/jobdetail.ftl?job=GBSDHAIN21&lang=en
Telegram: @programming_and_coding
sc.taleo.net
Careers | Standard Chartered Bank
Mobile
Airtel Recruitment | 14.75 to 17.5LPA |BE - CS/IT | 2019 2020 2021 Batch
https://assessment.hackerearth.com/challenges/hiring/airtel-i-code/
Telegram: @programming_and_coding
https://assessment.hackerearth.com/challenges/hiring/airtel-i-code/
Telegram: @programming_and_coding
Atos Hiring Freshers Trainee
atos.net/en/india/campus-recruitment-form
Telegram: @programming_and_coding
atos.net/en/india/campus-recruitment-form
Telegram: @programming_and_coding
Shaping the future together
Join us
Explore job opportunities, get to know us, understand why working with us is beneficial, and get valuable tips on how to join our team. Become Essential, Join Us.
112. Program to check whether the matrix is sparse matrix or not.
#include<stdio.h>
#include<conio.h>
void main()
{
static int array[10][10];
int i, j, m, n;
int counter = 0;
clrscr();
printf("Enter the order of the matix : ");
scanf("%d %d", &m, &n);
printf("\nEnter the co-efficients of the matix :\n");
for (i = 0; i < m; ++i)
{
for (j = 0; j < n; ++j)
{
scanf("%d", &array[i][j]);
if (array[i][j] == 0)
{
++counter;
}
}
}
if (counter > ((m * n) / 2))
{
printf("The given matrix is sparse matrix \n");
}
else
{
printf("The given matrix is not a sparse matrix \n");
}
printf("There are %d number of zeros", counter);
getch();
}
Join : @programming_and_coding
#include<stdio.h>
#include<conio.h>
void main()
{
static int array[10][10];
int i, j, m, n;
int counter = 0;
clrscr();
printf("Enter the order of the matix : ");
scanf("%d %d", &m, &n);
printf("\nEnter the co-efficients of the matix :\n");
for (i = 0; i < m; ++i)
{
for (j = 0; j < n; ++j)
{
scanf("%d", &array[i][j]);
if (array[i][j] == 0)
{
++counter;
}
}
}
if (counter > ((m * n) / 2))
{
printf("The given matrix is sparse matrix \n");
}
else
{
printf("The given matrix is not a sparse matrix \n");
}
printf("There are %d number of zeros", counter);
getch();
}
Join : @programming_and_coding
EMTEC Hiring | 2021 Batch | 4lpa+
Eligibility: BE | MCA | MSc
Last Date - 22nd April
Exam date - 25th April
emtec.digital/join-our-team/freshers-recruitment-drive
Telegram - @programming_and_coding
Eligibility: BE | MCA | MSc
Last Date - 22nd April
Exam date - 25th April
emtec.digital/join-our-team/freshers-recruitment-drive
Telegram - @programming_and_coding
Bridgenext
Careers
Learn more about our culture, explore open positions, and apply to join the Bridgenext team.
TCS Smart Hiring | BSC/BCA/BCS | 2019,2020,2021 Batch
Last Date - 23 May 2021
Exam Date - 6th June 2021
tcs.com/careers/smart-hiring-IT-drive
Telegram - @programming_and_coding
Last Date - 23 May 2021
Exam Date - 6th June 2021
tcs.com/careers/smart-hiring-IT-drive
Telegram - @programming_and_coding
113. Program to delete an element from array.
#include<stdio.h>
#include<conio.h>
void main()
{
int array[100], position, c, n;
clrscr();
printf("Enter total number of elements in array : ");
scanf("%d", &n);
printf("\nEnter element %d : ", n);
for (c = 0; c < n; c++)
scanf("%d", &array[c]);
printf("\nEnter the location from where you wish to delete element : ");
scanf("%d", &position);
if (position >= n + 1)
printf("\nDeletion not possible.");
else
{
for (c = position - 1; c < n - 1; c++)
array[c] = array[c + 1];
printf("\nResultant array is :");
for (c = 0; c < n - 1; c++)
printf("\n%d", array[c]);
}
getch();
}
@programming_and_coding
#include<stdio.h>
#include<conio.h>
void main()
{
int array[100], position, c, n;
clrscr();
printf("Enter total number of elements in array : ");
scanf("%d", &n);
printf("\nEnter element %d : ", n);
for (c = 0; c < n; c++)
scanf("%d", &array[c]);
printf("\nEnter the location from where you wish to delete element : ");
scanf("%d", &position);
if (position >= n + 1)
printf("\nDeletion not possible.");
else
{
for (c = position - 1; c < n - 1; c++)
array[c] = array[c + 1];
printf("\nResultant array is :");
for (c = 0; c < n - 1; c++)
printf("\n%d", array[c]);
}
getch();
}
@programming_and_coding
Cognizant GenC Campus Recruitment | 4.5 LPA | 2021 Batch | Last date - 11 June
bit.ly/3ilbttQ
~via PrepFlix
Telegram - @programming_and_coding
bit.ly/3ilbttQ
~via PrepFlix
Telegram - @programming_and_coding
Walmart Off Campus | 2021 & 2022 Batch | Last Date - 11 June | Cash Prize + CTC upto 26lpa
dare2compete.com/o/walmart-codehers-walmart-india-pvt-ltd-167089
Telegram - @programming_and_coding
dare2compete.com/o/walmart-codehers-walmart-india-pvt-ltd-167089
Telegram - @programming_and_coding
Unstop
Walmart CodeHers - 2021 | 167089
Find out the best Walmart CodeHers that match your interests. Prove your mettle and win exciting prizes like job opportunities and cash rewards from leading ... | 2021 | 167089
I think everyone have bank account but howmany guys have deamat account ?
Anonymous Poll
37%
Yes,I have demat account.
42%
No,I didn't have any demat account .
12%
I didn't believe in stock market .
9%
Other
DOVER Hiring Software Engineer | 2020 Batch | 6.5LPA
firstnaukri.com/job-listings-software-engineer-jobs-in-Bengaluru-Bangalore-in-DOVER-INDIA-PRIVATE-LIMITED-170621600028
Telegram - @programming_and_coding
firstnaukri.com/job-listings-software-engineer-jobs-in-Bengaluru-Bangalore-in-DOVER-INDIA-PRIVATE-LIMITED-170621600028
Telegram - @programming_and_coding
https://link.upstox.com/SeFm
Download upstox and create your account to earn 50k to 60k with study .
https://link.upstox.com/SeFm
Download upstox and create your account to earn 50k to 60k with study .
https://link.upstox.com/SeFm
Upstox
Open Demat Account – Free Demat Account Opening Online (Zero AMC) – Know How to Open
Demat Account - Open Free Demat Account Online at Upstox.com with Very Easy Steps. Zero Maintenance Cost & Commissions. Aadhaar & Pan Card required only. No Hidden Charges!