SlideShare una empresa de Scribd logo
1 de 16
Descargar para leer sin conexión
Computer Programming

 Comments and Sub-Routines
//
/*
*/
public void myFunction (int inputValue){
  // Your code goes here
}
public int myFunction (int inputValue){
  // Your code goes here
  return (newIntValue);
}
Next Time:
• Examples
• More examples
• And even more examples

Más contenido relacionado

La actualidad más candente

La actualidad más candente (7)

Python intro
Python introPython intro
Python intro
 
First Class
First ClassFirst Class
First Class
 
Ruby basics ||
Ruby basics ||Ruby basics ||
Ruby basics ||
 
Programming in C (part 2)
Programming in C (part 2)Programming in C (part 2)
Programming in C (part 2)
 
Oop lecture5
Oop lecture5Oop lecture5
Oop lecture5
 
C programming(part 3)
C programming(part 3)C programming(part 3)
C programming(part 3)
 
Lecture 8- Data Input and Output
Lecture 8- Data Input and OutputLecture 8- Data Input and Output
Lecture 8- Data Input and Output
 

Destacado

Akpk success stories
Akpk success storiesAkpk success stories
Akpk success storiesAli Momahad
 
Report on online chatting
Report on online chattingReport on online chatting
Report on online chattingAmandeep Kaur
 
A project report on chat application
A project report on chat applicationA project report on chat application
A project report on chat applicationKumar Gaurav
 
Teaching Students with Emojis, Emoticons, & Textspeak
Teaching Students with Emojis, Emoticons, & TextspeakTeaching Students with Emojis, Emoticons, & Textspeak
Teaching Students with Emojis, Emoticons, & TextspeakShelly Sanchez Terrell
 
Hype vs. Reality: The AI Explainer
Hype vs. Reality: The AI ExplainerHype vs. Reality: The AI Explainer
Hype vs. Reality: The AI ExplainerLuminary Labs
 
Study: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving CarsStudy: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving CarsLinkedIn
 

Destacado (6)

Akpk success stories
Akpk success storiesAkpk success stories
Akpk success stories
 
Report on online chatting
Report on online chattingReport on online chatting
Report on online chatting
 
A project report on chat application
A project report on chat applicationA project report on chat application
A project report on chat application
 
Teaching Students with Emojis, Emoticons, & Textspeak
Teaching Students with Emojis, Emoticons, & TextspeakTeaching Students with Emojis, Emoticons, & Textspeak
Teaching Students with Emojis, Emoticons, & Textspeak
 
Hype vs. Reality: The AI Explainer
Hype vs. Reality: The AI ExplainerHype vs. Reality: The AI Explainer
Hype vs. Reality: The AI Explainer
 
Study: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving CarsStudy: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving Cars
 

Cp l8 comments_and_subroutines