top of page
C Program to print Floyd's Triangle
Program: #include <stdio.h> int main() { int i,j,r,counter=1; printf("Enter how many rows you want to print"); scanf("%d",&r);...
anitadevkar
Mar 13, 20221 min read
38 views
0 comments
C Program for pyramid of number
Program: #include <stdio.h> int main() { int i,j; for(i=5;i>0;i--) //for rows { for(j=1;j<=i;j++) //for columns j loop will iterate...
anitadevkar
Mar 13, 20221 min read
6 views
0 comments
Program to print Triangle
Program: #include <stdio.h> int main() { int i,j; for(i=5;i>0;i--) //for rows { for(j=0;j<i;j++) //for columns j loop will iterate...
anitadevkar
Mar 13, 20221 min read
7 views
0 comments
Program to print triangle
In this program you will see working of nested for loop. Program: #include <stdio.h> int main() { int i,j; for(i=0;i<5;i++) //for...
anitadevkar
Mar 13, 20221 min read
4 views
0 comments
Program for checking password is good or not
Write a program to accept password from user with following conditions- 1. Minimum characters 6 and Maximum are 12 2. Atleast one digit...
anitadevkar
Mar 6, 20221 min read
7 views
0 comments
C Program to multiply 2 matrices
Write a C program to accept details of two matrices, Multiply given matrices and print the result. #include <stdio.h> int main() { int...
anitadevkar
Mar 1, 20221 min read
5 views
0 comments
C Program to add two matrices
Write a C program to accept details of two matrices, Add given matrices and print the result. #include <stdio.h> int main() { int...
anitadevkar
Mar 1, 20221 min read
6 views
0 comments
Print average of elements in an array
C program to print average of elements in an array #include <stdio.h> int main() { int a[15],n,i,sum=0,avg; printf("Enter how many...
anitadevkar
Feb 28, 20221 min read
10 views
0 comments
Print sum of an array elements
C program to print sum of elements in an array #include <stdio.h> int main() { int a[15],n,i,sum=0; printf("Enter how many elements do...
anitadevkar
Feb 28, 20221 min read
6 views
0 comments
Find Largest Element from an array
C program to find largest element from an array #include <stdio.h> int main() { int a[15],n,i,large; printf("Enter how many elements do...
anitadevkar
Feb 28, 20221 min read
3 views
0 comments
Array Accept and Display
#program to accept and display values of an array #include <stdio.h> int main() { int a[15],n,i; printf("Enter how many elements do you...
anitadevkar
Feb 28, 20221 min read
4 views
0 comments
Assignment No. 06: Program to print the last four digits of a given number.
Problem Statement: Accept bank account number from user and identify the last four digits of the account number. Write a program to print...
anitadevkar
Feb 15, 20221 min read
22 views
0 comments


Assignment No. 03 : Program to accept marks of five courses and compute the result.
Problem Statement: Write a program to accept marks of five courses and compute the result. If student scores aggregate greater than 75%,...
anitadevkar
Jan 30, 20221 min read
93 views
0 comments


Assignment-02 : Program to calculate and print the cost of the room
Problem Statement: A hotel has a pricing policy as follows:- Stay for 2 person : 2500Rs. per night Stay for 3 person : 3500Rs. per night...
anitadevkar
Jan 26, 20222 min read
130 views
0 comments
bottom of page