Code Monkey home page Code Monkey logo

Mr.Sharvin's Projects

docs icon docs

The open-source repo for docs.github.com

javapoint_function_example.1 icon javapoint_function_example.1

//DOCUMENTATION SECTION /*SHARVIN KUMAR ARUMUGAM DATE : 28/02/2022 DISCRIPTION : JAVATPOINT(FUNCTION ) without argument and return value*/ //PRE-PROCESSOR SECTION #include<stdio.h> //GLOBAL VARIABLE SECTION void sum(); //MAIN FUNCTION SECTION void main(){ printf("\nGoing to Calculate The Sum of two Number "); sum(); } //USE-DEFINED SECTION void sum(){ int a,b; printf("\nEnter two Number : "); scanf("%d%d",&a,&b); printf("\nSum is %d ",a+b); }

javatpoint_emple_5.c icon javatpoint_emple_5.c

//DOCUMENTYATION SECTION /**/ //PRE-PROSECCOR SECTION #include<stdio.h> //GLOBAL VARIABLE SECTION int sum(int,int);//Function declaration //MAIN FUNCTION SECTION int main() { int a,b,result; printf("\nGoing to calculate the sum of two number : "); printf("\nEnter two Number : "); scanf("%d%d",&a,&b); sum(a,b);//function call } //USE-DEFINED SECTION int sum(int a, int b)//function defination { printf("\nThe sum is %d",a+b); }

javatponit_expml_4_calculate_areaofsquare icon javatponit_expml_4_calculate_areaofsquare

//DOCUMENTATION SECTION //PRE-PROSECCOR SECTION #include<stdio.h> //GLOBAL VARIABLE SECTION int sum(); //MAIN FUNCTION SECTION void main(){ printf("\nGoing to calculate the area of the square"); float area = square(); printf("\nThe area of the square : %.2f",area); } //USE-DEFINED int square() { float side; printf("\nEnter the length of the side in meter : "); scanf(" %f",&side); return side * side; }

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.