Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
C Program for CREATE MATRICES
#include stdio.h>
#include conio.h>
void main()
{
int a[10][10],rw=0,clm=0,i=0,j=0;
char s=' ';
clrscr();
for(i=0;i<10;i++)
for(j=0;j<10;j++)
a[i][j]=0;
}
i=0; j=0;
printf("\nENTER THE LIMIT OF ROWS: ");
scanf("%d",&rw);
printf("\nENTER THE LIMIT OF COLS: ");
scanf("%d",&clm);
for(i=0;i { for(j=0;j { printf("\nENTER THE ELEMENT: "); scanf("%d",&a[i][j]); } } for(i=0;i { for(j=0;j { if(a[i][j]==0) { a[i][j]='-'; printf("%c ",a[i][j]); } else { printf("%d ",a[i][j]); } } printf("\n"); } getch(); } OUTPUT : ENTER THE LIMIT OF ROWS : 2 ENTER THE LIMIT OF COLS : 2 ENTER THE ELEMENT 1 ENTER THE ELEMENT 2 ENTER THE ELEMENT 3 ENTER THE ELEMENT 4 1 2 3 4
for(j=0;j { printf("\nENTER THE ELEMENT: "); scanf("%d",&a[i][j]); } } for(i=0;i { for(j=0;j { if(a[i][j]==0) { a[i][j]='-'; printf("%c ",a[i][j]); } else { printf("%d ",a[i][j]); } } printf("\n"); } getch(); } OUTPUT : ENTER THE LIMIT OF ROWS : 2 ENTER THE LIMIT OF COLS : 2 ENTER THE ELEMENT 1 ENTER THE ELEMENT 2 ENTER THE ELEMENT 3 ENTER THE ELEMENT 4 1 2 3 4
printf("\nENTER THE ELEMENT: ");
scanf("%d",&a[i][j]);
for(i=0;i { for(j=0;j { if(a[i][j]==0) { a[i][j]='-'; printf("%c ",a[i][j]); } else { printf("%d ",a[i][j]); } } printf("\n"); } getch(); } OUTPUT : ENTER THE LIMIT OF ROWS : 2 ENTER THE LIMIT OF COLS : 2 ENTER THE ELEMENT 1 ENTER THE ELEMENT 2 ENTER THE ELEMENT 3 ENTER THE ELEMENT 4 1 2 3 4
for(j=0;j { if(a[i][j]==0) { a[i][j]='-'; printf("%c ",a[i][j]); } else { printf("%d ",a[i][j]); } } printf("\n"); } getch(); } OUTPUT : ENTER THE LIMIT OF ROWS : 2 ENTER THE LIMIT OF COLS : 2 ENTER THE ELEMENT 1 ENTER THE ELEMENT 2 ENTER THE ELEMENT 3 ENTER THE ELEMENT 4 1 2 3 4
if(a[i][j]==0)
a[i][j]='-';
printf("%c ",a[i][j]);
else
printf("%d ",a[i][j]);
printf("\n");
getch();
OUTPUT :
ENTER THE LIMIT OF ROWS : 2
ENTER THE LIMIT OF COLS : 2
ENTER THE ELEMENT 1
ENTER THE ELEMENT 2
ENTER THE ELEMENT 3
ENTER THE ELEMENT 4
1 2
3 4
A palindrome is a string that reads the same from both the ends. Given a string S convert it to a palindrome by doing character replacement. Your task is to convert S to palindrome
program for compiler design in c
Project Description: I want an experienced programmer to program an RFID tag that will be read (maybe also written), and perform a call to a Filmmaker Pro 13 database. Skills
Compiler Design - Limit In The Method Instructions
The interest charged on a loan banking facility is calculated based on principal amount, rate and time. implement a C program that can be used to automate the calculation of the in
#include stdio.h> #include conio.h> #include string.h> void main() { int i=0,j=0,k=0,l=0; int a[3][3],temp[3][3]; clrscr();
Lennie McPherson, proprietor of Lennie''''s Bail Bonds, needs to calculate the amount due for setting the bail. Lennie requires something of value as collateral, and his fee is 10%
Smugglers are becoming very smart day by day. Now they have developed a new technique of sending their messages from one smuggler to another. In their new technology, they are send
Returning References from Functions Just as in passing the parameters by reference, returning a reference also doesn't return back a copy of the variable , instead an alias is
Byteland county is very famous for luminous jewels. Luminous jewels are used in making beautiful necklaces. A necklace consists of various luminous jewels of particular colour. Nec
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +1-415-670-9521
Phone: +1-415-670-9521
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd