Category: C Refresh
code: #include<stdio.h> int absolute() { int n; printf(“Enter Value to Get Absolute:”); scanf(“%d”,&n); if(n<0) n=n*(-1); return n;…
code: #include<stdio.h> double dollarToBDT(double usd) { usd=usd*78.55; return usd; } int main() { double tk, usdollar; while(printf(“Type…
code: #include<stdio.h> int findMax(int a,int b,int c) { int max; if(a>=b && a>=c) return a; else if(b>=a…
code: #include<stdio.h> double add(double a,double b) { double sum; sum = a+b; return sum; } double subtract(double…
code: #include<stdio.h> void func(); int main() { func(); } void func() { int n,i; scanf(“%d”,&n); printf(“\n”); for(i=1;…
Problem From: 101cproblems #include<stdio.h> int func(int a) { if(a%2==0) return 1; return 0; } int main() {…
Recent Comments