double return type in c
#include<stdio.h>
double cal_per(int, int, int);
int main()
{
int a = 55, b = 66, c = 77;
double res;
res = cal_per(a,b,c);
printf("%f\n",res);
return 0;
}
double cal_per(int a, int b, int c)
{
double res;
res = (a+b+c)/300.0;
res *= 100;
return res;
}
Also in C:
- Use of memory management unit
- gura
- for statement in c
- celsius to fahrenheit formula
- ImportError: No module named 'skimage'
- how to use malloc in c
- why do you jerk while falling aslee
- declare character array statically?
- online python to c converter
- With a suitable example, explain increment, decrement and compound assignment operators
- vs code turn off formatter
- typedef in c
- program using if statement in c whether numnber is less eqaul to greater than 50
- Exception caught by image resource service
- generate all permutations of string
- cmd command with c
- obby übersetzung
- declaration in c
- how to open a website in c
- command line arguments c
- iterar en map
- how to find the nth row of pascal's triangle in c
- Write a interactive C program to find the MINIMUM array elements in a given 3X3 matrix.
- parcourir char c