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
Within software languages we have the ability to store information in mail boxes i.e. memory slots which are given names to represent the box. The naming rules are governed by the
C Program for SORTING # include stdio.h> void main() { char a; int *p; int i,j,temp; clrscr(); p=&i;
in this problem you are given a board in which some of the elements are placed..each element represent ancolor.fill the other elements in the board such that none of the adjacent e
C program to add, average and deviation of numbers: void main() { int sum=0,a[10],i; float avg=0,dev,vari=0,var; pri
C Program for ADD,SUB,MUL,DIV,REM void main() { int a,b,c,ch=0; clrscr(); while(ch { printf(" \n\n 1:- For To Add\n 2:- For
Convert a COV/CPE (Micosoft Fax Cover Page) file to a TIF image file Project Description: I would like a small API written that will take a COV/CPE file and replaced the corr
polishing the jewel game with c coding
find area under the curve y=f(x) between x=a &y=b integrate y=f(x)
conceptual difference between big o,big thete and big omega
full program
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