Category: A ll Codes
#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()…
code: #include<stdio.h> int main() { int ara[]={10,20,30,40,50,60,70,80,90,100}; //took this array for various limit int ara2[10]; //max value…
https://www.urionlinejudge.com.br/judge/en/problems/view/1042 Here this links may help http://www.mathsisfun.com/definitions/ascending-order.html and http://www.mathsteacher.com.au/year7/ch02_power/06_asc/asc.htm
Recent Comments