Category: Programming
Code: #include<stdio.h> int main(){ int arr[10][10],i,j,m,n; //Read order printf(“enter order of matrix:\n”); scanf(“%d %d”,&m,&n); //read matrix…
Code: #include<stdio.h> int main(){ int arr[10][10],i,j,m,n; //Read order printf(“enter order of matrix:\n”); scanf(“%d %d”,&m,&n); //read matrix…
Best Prime Example Is Availble in my another post. Kindly check. http://zakilive.com/2017/05/12/check-the-number-is-prime-or-not-in-c-easy-and-details-explanation/ problem: Write a program to…
https://www.mathsisfun.com/numberpatterns.html
code: #include <stdio.h> #include <stdlib.h> int main() { int first=0,second=1,N,temp; printf(“Put value greater than 1: “); scanf(“%d”,&N);…
code 1: #include<stdio.h> int main(){ int i; for(i=10;i<20;i++) { if(i%2==0) continue; if(i>16) break; printf(“%d\n”,i); } return 0;…
Recent Comments