Category: Programming Problem Solving
Anagram: #include<stdio.h> int check_anagram(char [],char []); int main() { char a[100],b[100]; int flag; printf(“Enter first string\n”); gets(a);…
http://stackoverflow.com/questions/10021847/for-loop-in-multidimensional-javascript-array http://jsfiddle.net/TRR4n/ My code: //To show the array value https://jsfiddle.net/zakilive/6yrx1opj/1/ /* Author:Syed Ahmed Zaki www.zakilive.com */ var…
#include<stdio.h> int main() { int a[1000],n,i,sum=0; scanf(“%d”,&n); for(i=0;i<n;i++) { scanf(“%d”,&a[i]); sum=sum+a[i]; } printf(“%d”,sum); return 0; }
Here I tried to write everything in standard C++ #include<iostream> #include<iomanip> using namespace std; int main() {…
Solution actually simple…You have to think simple here is the cartesian co ordinate link check here then…
Hints: Don’t forget to think that A is even so we have to use a%2==0 that’s it…
Recent Comments