Category: ACM
#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; }
https://www.youtube.com/watch?v=OWsyrnOBsJs http://www.techtunes.com.bd/programming/tune-id/125550 https://progkriya.wordpress.com/page/2/http://ask.fm/shanto86 Programmer of the Month for April 2011: Md. Mahbubul Hasan
#include<stdio.h> int main() { char country[200]; int length; while(1==scanf(“%s”,country)) { length=string_length(country); printf(“length:%d\n”,length); } return 0; } int…
Lowercase to Uppercase #include<stdio.h> int main() { char country[]={‘b’,’a’,’n’,’g’,’l’,’a’,’d’,’e’,’s’,’h’}; int i,length; printf(“%s\n”,country); length=10; for(i=0;i<length;i++){ if(country[i]>=97 && country[i]<=122)…
for formula: http://www.mathsisfun.com/area.htm code: #include<stdio.h> double pi=3.1416; double britto(double r) { double area=pi*r*r; return area; } int…
Did this problem from subeen vai’s book. For maximum value: #include<stdio.h> int find_max(int ara[],int n); int main()…
Recent Comments