#include <stdio.h> void enterData(int firstMatrix[][10], int secondMatrix[][10], int rowFirst, int columnFirst, int rowSecond, int columnSecond…
Read more#include <stdio.h> int main() { int a[10][10], transpose[10][10], r, c; printf("Enter rows and columns: "); scanf("%d %d&q…
Read more#include <stdio.h> void getMatrixElements(int matrix[][10], int row, int column) { printf("\nEnter elements: \n"); for (int i =…
Read more#include <stdio.h> int main() { int r, c, a[100][100], b[100][100], sum[100][100], i, j; printf("Enter the number of rows (between 1 a…
Read more#include <math.h> #include <stdio.h> float calculateSD(float data[]); int main() { int i; float data[10]; printf("Enter …
Read more#include <stdio.h> int main() { int n; double arr[100]; printf("Enter the number of elements (1 to 100): "); scanf("%d&q…
Read more#include <stdio.h> int main() { int n, i; float num[100], sum = 0.0, avg; printf("Enter the numbers of elements: "); …
Read more#include <stdio.h> int power(int n1, int n2); int main() { int base, a, result; printf("Enter base number: "); scanf(&quo…
Read more#include <stdio.h> void reverseSentence(); int main() { printf("Enter a sentence: "); reverseSentence(); return 0; } void…
Read more#include <math.h> #include <stdio.h> int convert(long long bin); int main() { long long bin; printf("Enter a binary number: …
Read more#include <stdio.h> #include <math.h> int convertDecimalToOctal(int decimalNumber); int main() { int decimalNumber; printf("E…
Read more#include <stdio.h> long long convert(long long); int main() { long long n; printf("Enter a binary number: "); scanf("…
Read more#include <stdio.h> int hcf(int n1, int n2); int main() { int n1, n2; printf("Enter two positive integers: "); scanf("…
Read more#include<stdio.h> long int multiplyNumbers(int n); int main() { int n; printf("Enter a positive integer: "); scanf("…
Read more#include <stdio.h> int addNumbers(int n); int main() { int num; printf("Enter a positive integer: "); scanf("%d", &am…
Read more#include <stdio.h> int checkPrime(int n); int main() { int n, i, flag = 0; printf("Enter a positive integer: "); scanf("%d…
Read more#include <math.h> #include <stdio.h> int checkPrimeNumber(int n); int checkArmstrongNumber(int n); int main() { int n, flag; printf…
Read more#include <stdio.h> int checkPrimeNumber(int n); int main() { int n1, n2, i, flag; printf("Enter two positive integers: "); scan…
Read moreint main() { char op; double first, second; printf("Enter an operator (+, -, *, /): "); scanf("%c", &op); printf(&q…
Read more#include <stdio.h> int main() { int num, i; printf("Enter a positive integer: "); scanf("%d", &num); pr…
Read more