SlideShare a Scribd company logo
float
Yes
int
Yes
int
Yes
int
No Expression Valid? Result Data type of result 12.0 / 2.0 + 5 * 2Yes16.0
float 10 / 2 + 6 / 3
Yes7
int 10 / 4 + 6 / 2
Yes5
int 10 % 4 + 6 % 3
Yes2
int 10.0 / 4Yes2.5 float 10 / 4.0Yes2.5 float 6.0 / 2Yes3.0 float 10.0 / 4 + 6 / 2Yes5.5 float
10 / 4 + 6.0 / 2Yes5.0 float (10.0 / 2.0 % 2) / 10
No ((10.0 / 2.0) % 2) / 10No (10.0 / 2 % 2) / 10No (10 / 2 % 2)Yes1int (10 / 2 % 2) /
10Yes0int (10 / 2 % 2) / 10.0Yes0.1 float
Solution
float
Yes
int
Yes
int
Yes
int
No Expression Valid? Result Data type of result 12.0 / 2.0 + 5 * 2Yes16.0
float 10 / 2 + 6 / 3
Yes7
int 10 / 4 + 6 / 2
Yes5
int 10 % 4 + 6 % 3
Yes2
int 10.0 / 4Yes2.5 float 10 / 4.0Yes2.5 float 6.0 / 2Yes3.0 float 10.0 / 4 + 6 / 2Yes5.5 float
10 / 4 + 6.0 / 2Yes5.0 float (10.0 / 2.0 % 2) / 10
No ((10.0 / 2.0) % 2) / 10No (10.0 / 2 % 2) / 10No (10 / 2 % 2)Yes1int (10 / 2 % 2) /
10Yes0int (10 / 2 % 2) / 10.0Yes0.1 float

More Related Content

More from anuragperipheral

salicylic acid alcohol (R-OH) and carboxylic aci.pdf
                     salicylic acid alcohol (R-OH) and carboxylic aci.pdf                     salicylic acid alcohol (R-OH) and carboxylic aci.pdf
salicylic acid alcohol (R-OH) and carboxylic aci.pdf
anuragperipheral
 
no it doesnot .pdf
                     no it doesnot                                    .pdf                     no it doesnot                                    .pdf
no it doesnot .pdf
anuragperipheral
 
It would be Ruthenium (II) Sulfide Ruthenium is .pdf
                     It would be Ruthenium (II) Sulfide  Ruthenium is .pdf                     It would be Ruthenium (II) Sulfide  Ruthenium is .pdf
It would be Ruthenium (II) Sulfide Ruthenium is .pdf
anuragperipheral
 
ketones do not give tollens test.. hence no react.pdf
                     ketones do not give tollens test.. hence no react.pdf                     ketones do not give tollens test.. hence no react.pdf
ketones do not give tollens test.. hence no react.pdf
anuragperipheral
 
for IONIC the metal name followed by nonmetal io.pdf
                     for IONIC the metal name followed by nonmetal io.pdf                     for IONIC the metal name followed by nonmetal io.pdf
for IONIC the metal name followed by nonmetal io.pdf
anuragperipheral
 
pH = 4-log2.4 = 3.62 pOH 14 - pH = 14-3.62 = 10.3.pdf
                     pH = 4-log2.4 = 3.62 pOH 14 - pH = 14-3.62 = 10.3.pdf                     pH = 4-log2.4 = 3.62 pOH 14 - pH = 14-3.62 = 10.3.pdf
pH = 4-log2.4 = 3.62 pOH 14 - pH = 14-3.62 = 10.3.pdf
anuragperipheral
 
This suggest that dissociation of FeCl3 is 100 .pdf
                     This suggest that dissociation of FeCl3 is 100  .pdf                     This suggest that dissociation of FeCl3 is 100  .pdf
This suggest that dissociation of FeCl3 is 100 .pdf
anuragperipheral
 
Total probability of dot received P = (37)(78).pdf
                     Total probability of dot received P = (37)(78).pdf                     Total probability of dot received P = (37)(78).pdf
Total probability of dot received P = (37)(78).pdf
anuragperipheral
 
Environmental contaminants of recent concern are .pdf
                     Environmental contaminants of recent concern are .pdf                     Environmental contaminants of recent concern are .pdf
Environmental contaminants of recent concern are .pdf
anuragperipheral
 
C-H polar covalent bond Solution .pdf
                     C-H polar covalent bond Solution             .pdf                     C-H polar covalent bond Solution             .pdf
C-H polar covalent bond Solution .pdf
anuragperipheral
 
To insert an element at given position in arrayInsert(stack s1, s.pdf
To insert an element at given position in arrayInsert(stack s1, s.pdfTo insert an element at given position in arrayInsert(stack s1, s.pdf
To insert an element at given position in arrayInsert(stack s1, s.pdf
anuragperipheral
 
Their physical properties are so dofferent just because theintermole.pdf
Their physical properties are so dofferent just because theintermole.pdfTheir physical properties are so dofferent just because theintermole.pdf
Their physical properties are so dofferent just because theintermole.pdf
anuragperipheral
 
Chemical weathering is the breakdown of rock by c.pdf
                     Chemical weathering is the breakdown of rock by c.pdf                     Chemical weathering is the breakdown of rock by c.pdf
Chemical weathering is the breakdown of rock by c.pdf
anuragperipheral
 
bu puting your values in formula You need not to.pdf
                     bu puting your values in formula  You need not to.pdf                     bu puting your values in formula  You need not to.pdf
bu puting your values in formula You need not to.pdf
anuragperipheral
 
Please post the figure.SolutionPlease post the figure..pdf
Please post the figure.SolutionPlease post the figure..pdfPlease post the figure.SolutionPlease post the figure..pdf
Please post the figure.SolutionPlease post the figure..pdf
anuragperipheral
 
option B,C,D is true. gantt chart is used for project scheduling,tra.pdf
option B,C,D is true. gantt chart is used for project scheduling,tra.pdfoption B,C,D is true. gantt chart is used for project scheduling,tra.pdf
option B,C,D is true. gantt chart is used for project scheduling,tra.pdf
anuragperipheral
 
The mole is a unit of measurement for the amount .pdf
                     The mole is a unit of measurement for the amount .pdf                     The mole is a unit of measurement for the amount .pdf
The mole is a unit of measurement for the amount .pdf
anuragperipheral
 
Ideally birds evolved from Dinosaurs, but they are closely related t.pdf
Ideally birds evolved from Dinosaurs, but they are closely related t.pdfIdeally birds evolved from Dinosaurs, but they are closely related t.pdf
Ideally birds evolved from Dinosaurs, but they are closely related t.pdf
anuragperipheral
 
Introduction Termination of a project is inevitable, but how it .pdf
Introduction Termination of a project is inevitable, but how it .pdfIntroduction Termination of a project is inevitable, but how it .pdf
Introduction Termination of a project is inevitable, but how it .pdf
anuragperipheral
 
In inline heapsort we use only single array throughout the program t.pdf
In inline heapsort we use only single array throughout the program t.pdfIn inline heapsort we use only single array throughout the program t.pdf
In inline heapsort we use only single array throughout the program t.pdf
anuragperipheral
 

More from anuragperipheral (20)

salicylic acid alcohol (R-OH) and carboxylic aci.pdf
                     salicylic acid alcohol (R-OH) and carboxylic aci.pdf                     salicylic acid alcohol (R-OH) and carboxylic aci.pdf
salicylic acid alcohol (R-OH) and carboxylic aci.pdf
 
no it doesnot .pdf
                     no it doesnot                                    .pdf                     no it doesnot                                    .pdf
no it doesnot .pdf
 
It would be Ruthenium (II) Sulfide Ruthenium is .pdf
                     It would be Ruthenium (II) Sulfide  Ruthenium is .pdf                     It would be Ruthenium (II) Sulfide  Ruthenium is .pdf
It would be Ruthenium (II) Sulfide Ruthenium is .pdf
 
ketones do not give tollens test.. hence no react.pdf
                     ketones do not give tollens test.. hence no react.pdf                     ketones do not give tollens test.. hence no react.pdf
ketones do not give tollens test.. hence no react.pdf
 
for IONIC the metal name followed by nonmetal io.pdf
                     for IONIC the metal name followed by nonmetal io.pdf                     for IONIC the metal name followed by nonmetal io.pdf
for IONIC the metal name followed by nonmetal io.pdf
 
pH = 4-log2.4 = 3.62 pOH 14 - pH = 14-3.62 = 10.3.pdf
                     pH = 4-log2.4 = 3.62 pOH 14 - pH = 14-3.62 = 10.3.pdf                     pH = 4-log2.4 = 3.62 pOH 14 - pH = 14-3.62 = 10.3.pdf
pH = 4-log2.4 = 3.62 pOH 14 - pH = 14-3.62 = 10.3.pdf
 
This suggest that dissociation of FeCl3 is 100 .pdf
                     This suggest that dissociation of FeCl3 is 100  .pdf                     This suggest that dissociation of FeCl3 is 100  .pdf
This suggest that dissociation of FeCl3 is 100 .pdf
 
Total probability of dot received P = (37)(78).pdf
                     Total probability of dot received P = (37)(78).pdf                     Total probability of dot received P = (37)(78).pdf
Total probability of dot received P = (37)(78).pdf
 
Environmental contaminants of recent concern are .pdf
                     Environmental contaminants of recent concern are .pdf                     Environmental contaminants of recent concern are .pdf
Environmental contaminants of recent concern are .pdf
 
C-H polar covalent bond Solution .pdf
                     C-H polar covalent bond Solution             .pdf                     C-H polar covalent bond Solution             .pdf
C-H polar covalent bond Solution .pdf
 
To insert an element at given position in arrayInsert(stack s1, s.pdf
To insert an element at given position in arrayInsert(stack s1, s.pdfTo insert an element at given position in arrayInsert(stack s1, s.pdf
To insert an element at given position in arrayInsert(stack s1, s.pdf
 
Their physical properties are so dofferent just because theintermole.pdf
Their physical properties are so dofferent just because theintermole.pdfTheir physical properties are so dofferent just because theintermole.pdf
Their physical properties are so dofferent just because theintermole.pdf
 
Chemical weathering is the breakdown of rock by c.pdf
                     Chemical weathering is the breakdown of rock by c.pdf                     Chemical weathering is the breakdown of rock by c.pdf
Chemical weathering is the breakdown of rock by c.pdf
 
bu puting your values in formula You need not to.pdf
                     bu puting your values in formula  You need not to.pdf                     bu puting your values in formula  You need not to.pdf
bu puting your values in formula You need not to.pdf
 
Please post the figure.SolutionPlease post the figure..pdf
Please post the figure.SolutionPlease post the figure..pdfPlease post the figure.SolutionPlease post the figure..pdf
Please post the figure.SolutionPlease post the figure..pdf
 
option B,C,D is true. gantt chart is used for project scheduling,tra.pdf
option B,C,D is true. gantt chart is used for project scheduling,tra.pdfoption B,C,D is true. gantt chart is used for project scheduling,tra.pdf
option B,C,D is true. gantt chart is used for project scheduling,tra.pdf
 
The mole is a unit of measurement for the amount .pdf
                     The mole is a unit of measurement for the amount .pdf                     The mole is a unit of measurement for the amount .pdf
The mole is a unit of measurement for the amount .pdf
 
Ideally birds evolved from Dinosaurs, but they are closely related t.pdf
Ideally birds evolved from Dinosaurs, but they are closely related t.pdfIdeally birds evolved from Dinosaurs, but they are closely related t.pdf
Ideally birds evolved from Dinosaurs, but they are closely related t.pdf
 
Introduction Termination of a project is inevitable, but how it .pdf
Introduction Termination of a project is inevitable, but how it .pdfIntroduction Termination of a project is inevitable, but how it .pdf
Introduction Termination of a project is inevitable, but how it .pdf
 
In inline heapsort we use only single array throughout the program t.pdf
In inline heapsort we use only single array throughout the program t.pdfIn inline heapsort we use only single array throughout the program t.pdf
In inline heapsort we use only single array throughout the program t.pdf
 

Recently uploaded

World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
ak6969907
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
TechSoup
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Dr. Vinod Kumar Kanvaria
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
Israel Genealogy Research Association
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
Dr. Shivangi Singh Parihar
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
Dr. Mulla Adam Ali
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
heathfieldcps1
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
amberjdewit93
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
RitikBhardwaj56
 
Assessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptxAssessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptx
Kavitha Krishnan
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
adhitya5119
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
eBook.com.bd (প্রয়োজনীয় বাংলা বই)
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
Academy of Science of South Africa
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
mulvey2
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Akanksha trivedi rama nursing college kanpur.
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
Celine George
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 

Recently uploaded (20)

World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
 
Assessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptxAssessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptx
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 

floatYesintYesintYesintNo Expression Valid Result .pdf

  • 1. float Yes int Yes int Yes int No Expression Valid? Result Data type of result 12.0 / 2.0 + 5 * 2Yes16.0 float 10 / 2 + 6 / 3 Yes7 int 10 / 4 + 6 / 2 Yes5 int 10 % 4 + 6 % 3 Yes2 int 10.0 / 4Yes2.5 float 10 / 4.0Yes2.5 float 6.0 / 2Yes3.0 float 10.0 / 4 + 6 / 2Yes5.5 float 10 / 4 + 6.0 / 2Yes5.0 float (10.0 / 2.0 % 2) / 10 No ((10.0 / 2.0) % 2) / 10No (10.0 / 2 % 2) / 10No (10 / 2 % 2)Yes1int (10 / 2 % 2) / 10Yes0int (10 / 2 % 2) / 10.0Yes0.1 float Solution float Yes int Yes int Yes int No Expression Valid? Result Data type of result 12.0 / 2.0 + 5 * 2Yes16.0 float 10 / 2 + 6 / 3 Yes7 int 10 / 4 + 6 / 2 Yes5 int 10 % 4 + 6 % 3 Yes2
  • 2. int 10.0 / 4Yes2.5 float 10 / 4.0Yes2.5 float 6.0 / 2Yes3.0 float 10.0 / 4 + 6 / 2Yes5.5 float 10 / 4 + 6.0 / 2Yes5.0 float (10.0 / 2.0 % 2) / 10 No ((10.0 / 2.0) % 2) / 10No (10.0 / 2 % 2) / 10No (10 / 2 % 2)Yes1int (10 / 2 % 2) / 10Yes0int (10 / 2 % 2) / 10.0Yes0.1 float