Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
blue point
//gcc 5.4.0 #include <stdio.h> int main(void) { printf("Hello, world!\n"); return 0; }https://play.google.com/store/apps/details?id=vrpatel0018.cprograms /*program to calculate area of triangle using function*/ #include<stdio.h> void triangle(); //this is function declaration int main() { triangle(); //this is function call } void triangle(){ //this is function definition int base,height; float area; printf("\nAccept base "); scanf("%d",&base); printf("\nAccept height "); scanf("%d",&height); area=0.5*base*height; printf("\n Area of triangle = %f",area); }
run
|
edit
|
history
|
help
0
Primer avance de lista enlazadas
2017_1117_TARTAGLIA
Ptr_to_fct__v2
#Define / Case/ If practice
función malloc()
USO DEL strrchr()
Lab 11 v.05
level9
PPCG partial solution to https://codegolf.stackexchange.com/q/120870/61563
A_141205_ContadorPalabras