SlideShare a Scribd company logo
1 of 2
Download to read offline
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

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
 
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
 
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
 
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

SURVEY I created for uni project research
SURVEY I created for uni project researchSURVEY I created for uni project research
SURVEY I created for uni project research
CaitlinCummins3
 
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
中 央社
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
EADTU
 
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
中 央社
 
SPLICE Working Group: Reusable Code Examples
SPLICE Working Group:Reusable Code ExamplesSPLICE Working Group:Reusable Code Examples
SPLICE Working Group: Reusable Code Examples
Peter Brusilovsky
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
AnaAcapella
 

Recently uploaded (20)

SURVEY I created for uni project research
SURVEY I created for uni project researchSURVEY I created for uni project research
SURVEY I created for uni project research
 
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
 
How To Create Editable Tree View in Odoo 17
How To Create Editable Tree View in Odoo 17How To Create Editable Tree View in Odoo 17
How To Create Editable Tree View in Odoo 17
 
Observing-Correct-Grammar-in-Making-Definitions.pptx
Observing-Correct-Grammar-in-Making-Definitions.pptxObserving-Correct-Grammar-in-Making-Definitions.pptx
Observing-Correct-Grammar-in-Making-Definitions.pptx
 
How to Send Pro Forma Invoice to Your Customers in Odoo 17
How to Send Pro Forma Invoice to Your Customers in Odoo 17How to Send Pro Forma Invoice to Your Customers in Odoo 17
How to Send Pro Forma Invoice to Your Customers in Odoo 17
 
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
 
VAMOS CUIDAR DO NOSSO PLANETA! .
VAMOS CUIDAR DO NOSSO PLANETA!                    .VAMOS CUIDAR DO NOSSO PLANETA!                    .
VAMOS CUIDAR DO NOSSO PLANETA! .
 
diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....
 
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
 
e-Sealing at EADTU by Kamakshi Rajagopal
e-Sealing at EADTU by Kamakshi Rajagopale-Sealing at EADTU by Kamakshi Rajagopal
e-Sealing at EADTU by Kamakshi Rajagopal
 
8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital Management8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital Management
 
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjjStl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjj
 
SPLICE Working Group: Reusable Code Examples
SPLICE Working Group:Reusable Code ExamplesSPLICE Working Group:Reusable Code Examples
SPLICE Working Group: Reusable Code Examples
 
Including Mental Health Support in Project Delivery, 14 May.pdf
Including Mental Health Support in Project Delivery, 14 May.pdfIncluding Mental Health Support in Project Delivery, 14 May.pdf
Including Mental Health Support in Project Delivery, 14 May.pdf
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
 
Đề tieng anh thpt 2024 danh cho cac ban hoc sinh
Đề tieng anh thpt 2024 danh cho cac ban hoc sinhĐề tieng anh thpt 2024 danh cho cac ban hoc sinh
Đề tieng anh thpt 2024 danh cho cac ban hoc sinh
 
PSYPACT- Practicing Over State Lines May 2024.pptx
PSYPACT- Practicing Over State Lines May 2024.pptxPSYPACT- Practicing Over State Lines May 2024.pptx
PSYPACT- Practicing Over State Lines May 2024.pptx
 
Mattingly "AI & Prompt Design: Named Entity Recognition"
Mattingly "AI & Prompt Design: Named Entity Recognition"Mattingly "AI & Prompt Design: Named Entity Recognition"
Mattingly "AI & Prompt Design: Named Entity Recognition"
 

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