SlideShare a Scribd company logo
Answer
Valueandvariables
Speed*Distance
    Answer
Speed*Distance
A+B=C
 Answer
A+B=C
Weight = 3024 g
     Answer
Weight = 3024 g
Time = T + D
   Answer
Time = T + D
S*D = (5*5.2)
    Answer
S*D = (5*5.2)
Value Parameters can be
used to supply information
to a procedure, but not out
          from it.
Procedure Vehicle (var Time, Distance:
real);
Var speed:real;
Begin
       speed := Time*Distance;
       writeln(‘The speed is:’, Speed:6:2);
End;
The Variable Parameters
   can be used to bring
    information into the
  procedure and/or pass
information from out of the
         procedure.
Procedure Vehicle2 (Time, Distance:
real);
Var speed:real;
Begin
       speed := Time*Distance;
       writeln(‘The speed is:’, Speed:6:2);
End;

Begin
Clrscr;
Vehicle2(5,5.5);
Readln;
End.
Program Subprograms;                               Begin
Uses crt;                                          Clrscr;
Var T, D : real;                                   T:=5;
Procedure Vehicle (var Time, Distance:             D:=5.5;
real);                                             Vehicle (T,D);
Var Speed: real;                                   Vehicle2 (5,5.5);
Begin                                              Vehicle2 (T+5,5.5*2);
          Speed := Time*Distance;                  Vehicle2(T,D);
          writeln (‘the speed is:’ , speed:6:2);   Readln;
End;                                               End.
Procedure Vehicle2 (Time, Distance: real);
Var Speed: real;
Begin
          Speed := Time*Distance;
          writeln (‘the speed is:’ , speed:6:2);
End;

More Related Content

PDF
0625_P3_P4_Measurements
PDF
Seminar @ U of Tokyo: 2014.04.14
DOCX
Amazing shortcuts for freely falling bodies
DOCX
Amazing shortcuts for freely falling bodies
PPTX
GCM by XP Stage
PPTX
3.1,2,3 pushdown automata definition, moves & id
PPT
Pda to cfg h2
0625_P3_P4_Measurements
Seminar @ U of Tokyo: 2014.04.14
Amazing shortcuts for freely falling bodies
Amazing shortcuts for freely falling bodies
GCM by XP Stage
3.1,2,3 pushdown automata definition, moves & id
Pda to cfg h2

What's hot (20)

DOCX
IMAGING ALGORITHM DEVELOPMENT
PPTX
Critical path method example by myassignmenthelp
PDF
A* - Astar - A-Star
PDF
Determininstic rounding of linear programs
PDF
2015 01 09 - Rende - Unical - Martin Gebser: Clingo = Answer Set Programming ...
PDF
Graph partition 2
PDF
Wireless Localization: Ranging (first part)
PDF
PLUG VALVE - ASSEMBLEY-Layout1
PPTX
Course Note_Satellite Image Analysis and Applications_Week14
PPTX
Session 4 critical path method upload
PPTX
Automating AWS Infrastructure Provisioning Using Concourse and Terraform
PPTX
PPTX
3 delta star transformation
PDF
Graph Partition 3
PDF
Update on Benchmark 7
PDF
Ah4201223230
PPTX
Quick sort algorithm using slide presentation , Learn selection sort example ...
PPTX
PPTX
First Technical Paper
PDF
Internet Technologies (October – 2016) [Question Paper | CBSGS: 75:25 Pattern]
IMAGING ALGORITHM DEVELOPMENT
Critical path method example by myassignmenthelp
A* - Astar - A-Star
Determininstic rounding of linear programs
2015 01 09 - Rende - Unical - Martin Gebser: Clingo = Answer Set Programming ...
Graph partition 2
Wireless Localization: Ranging (first part)
PLUG VALVE - ASSEMBLEY-Layout1
Course Note_Satellite Image Analysis and Applications_Week14
Session 4 critical path method upload
Automating AWS Infrastructure Provisioning Using Concourse and Terraform
3 delta star transformation
Graph Partition 3
Update on Benchmark 7
Ah4201223230
Quick sort algorithm using slide presentation , Learn selection sort example ...
First Technical Paper
Internet Technologies (October – 2016) [Question Paper | CBSGS: 75:25 Pattern]
Ad

Viewers also liked (20)

PPTX
SURFnet Dante
PPTX
Natur y gwaith dros dro Sion
PPT
It Gets Better Project
PPT
Where to start with social media presentation
PPT
Selected Organic Reactions Database (SORD)
PDF
UNC Sakai Pilot: Collaborators Data
PDF
ILDM KERALA- NLRMP Revenue notes.-Ethics
ODP
Unity - Luca Caldarella
PDF
Dinh vi dan duong
PDF
Vivienda y Servicios Públicos
DOCX
Trabajo con elásticos
PDF
Contents & double page spread
PPT
Presentation e. constantinides in ut seminar hey tweet face the hyve
PPTX
Nodejs_chapter9
DOC
Bán nhà tập thể đường sắt quận Ba Đình
PPT
Đảo Đại Phước
PPT
Poemas De Paz Connecticut
DOCX
Bachiller tabla puntuacion tests
PPTX
DOCX
Co-evalúa cfb
SURFnet Dante
Natur y gwaith dros dro Sion
It Gets Better Project
Where to start with social media presentation
Selected Organic Reactions Database (SORD)
UNC Sakai Pilot: Collaborators Data
ILDM KERALA- NLRMP Revenue notes.-Ethics
Unity - Luca Caldarella
Dinh vi dan duong
Vivienda y Servicios Públicos
Trabajo con elásticos
Contents & double page spread
Presentation e. constantinides in ut seminar hey tweet face the hyve
Nodejs_chapter9
Bán nhà tập thể đường sắt quận Ba Đình
Đảo Đại Phước
Poemas De Paz Connecticut
Bachiller tabla puntuacion tests
Co-evalúa cfb
Ad

Recently uploaded (20)

PDF
LDMMIA Reiki Yoga Finals Review Spring Summer
PPTX
Computer Architecture Input Output Memory.pptx
PDF
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
PPTX
Introduction to Building Materials
PDF
Indian roads congress 037 - 2012 Flexible pavement
PDF
David L Page_DCI Research Study Journey_how Methodology can inform one's prac...
PPTX
ELIAS-SEZIURE AND EPilepsy semmioan session.pptx
PDF
Paper A Mock Exam 9_ Attempt review.pdf.
PDF
HVAC Specification 2024 according to central public works department
PDF
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
PDF
Hazard Identification & Risk Assessment .pdf
PPTX
20th Century Theater, Methods, History.pptx
PPTX
Unit 4 Computer Architecture Multicore Processor.pptx
PDF
1_English_Language_Set_2.pdf probationary
PDF
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PPTX
TNA_Presentation-1-Final(SAVE)) (1).pptx
PPTX
Virtual and Augmented Reality in Current Scenario
DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
LDMMIA Reiki Yoga Finals Review Spring Summer
Computer Architecture Input Output Memory.pptx
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
Introduction to Building Materials
Indian roads congress 037 - 2012 Flexible pavement
David L Page_DCI Research Study Journey_how Methodology can inform one's prac...
ELIAS-SEZIURE AND EPilepsy semmioan session.pptx
Paper A Mock Exam 9_ Attempt review.pdf.
HVAC Specification 2024 according to central public works department
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
Hazard Identification & Risk Assessment .pdf
20th Century Theater, Methods, History.pptx
Unit 4 Computer Architecture Multicore Processor.pptx
1_English_Language_Set_2.pdf probationary
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
202450812 BayCHI UCSC-SV 20250812 v17.pptx
TNA_Presentation-1-Final(SAVE)) (1).pptx
Virtual and Augmented Reality in Current Scenario
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc

Valueandvariables