SlideShare ist ein Scribd-Unternehmen logo
1 von 2
-381000-495300UNIVERSITI TUN HUSSEIN ONN MALAYSIAFACULTY OF MECHANICAL AND MANUFACTURING ENGINEERING DTI 2143: COMPUTER PROGRAMMING LAB 1<br />,[object Object],.<br />,[object Object],Given the radius of a circle, find the circumference.<br />Given two real numbers, A and B, calculate a sum (A+B), a difference (A-B), a product (A*B) and the quotients A/B and B/A<br />Calculate the total amount to be paid when you buy an apple.<br />Determine odd or even number.<br />Calculate average marks for 5 DTI2143 students.<br />
Dti2143 lab sheet 1

Weitere ähnliche Inhalte

Was ist angesagt?

Lab exe 2 bti1022
Lab exe 2 bti1022Lab exe 2 bti1022
Lab exe 2 bti1022alish sha
 
Sequential multiplication
Sequential multiplicationSequential multiplication
Sequential multiplicationTaqwa It Center
 
Write a program to print out all armstrong numbers between 1 and 500
Write a program to print out all armstrong numbers between 1 and 500Write a program to print out all armstrong numbers between 1 and 500
Write a program to print out all armstrong numbers between 1 and 500ilsamaryum
 
Functions in Economics Part-I.pdf
Functions in Economics Part-I.pdfFunctions in Economics Part-I.pdf
Functions in Economics Part-I.pdfDr. Subhash Unhale
 
Functions in Economics Part II.pdf
Functions in Economics Part II.pdfFunctions in Economics Part II.pdf
Functions in Economics Part II.pdfDr. Subhash Unhale
 

Was ist angesagt? (7)

Lab exe 2 bti1022
Lab exe 2 bti1022Lab exe 2 bti1022
Lab exe 2 bti1022
 
Sequential multiplication
Sequential multiplicationSequential multiplication
Sequential multiplication
 
Quiz 3 (answer)
Quiz 3 (answer)Quiz 3 (answer)
Quiz 3 (answer)
 
Write a program to print out all armstrong numbers between 1 and 500
Write a program to print out all armstrong numbers between 1 and 500Write a program to print out all armstrong numbers between 1 and 500
Write a program to print out all armstrong numbers between 1 and 500
 
Functions in Economics Part-I.pdf
Functions in Economics Part-I.pdfFunctions in Economics Part-I.pdf
Functions in Economics Part-I.pdf
 
Functions in Economics Part II.pdf
Functions in Economics Part II.pdfFunctions in Economics Part II.pdf
Functions in Economics Part II.pdf
 
Break even point
Break even pointBreak even point
Break even point
 

Ähnlich wie Dti2143 lab sheet 1

Pre-Calculus Midterm Exam 1 Score ______ ____.docx
Pre-Calculus Midterm Exam  1  Score ______  ____.docxPre-Calculus Midterm Exam  1  Score ______  ____.docx
Pre-Calculus Midterm Exam 1 Score ______ ____.docxChantellPantoja184
 
Dti2143 chapter 3 arithmatic relation-logicalexpression
Dti2143 chapter 3 arithmatic relation-logicalexpressionDti2143 chapter 3 arithmatic relation-logicalexpression
Dti2143 chapter 3 arithmatic relation-logicalexpressionalish sha
 
Instructions This is an open-book exam. You may refer to you.docx
Instructions  This is an open-book exam. You may refer to you.docxInstructions  This is an open-book exam. You may refer to you.docx
Instructions This is an open-book exam. You may refer to you.docxdirkrplav
 
Computer paper 3 may june 2004 9691 cambridge General Certificate of educatio...
Computer paper 3 may june 2004 9691 cambridge General Certificate of educatio...Computer paper 3 may june 2004 9691 cambridge General Certificate of educatio...
Computer paper 3 may june 2004 9691 cambridge General Certificate of educatio...Alpro
 
C/C++ programming language Something Great/tutorialoutletdotcom
C/C++ programming language Something Great/tutorialoutletdotcomC/C++ programming language Something Great/tutorialoutletdotcom
C/C++ programming language Something Great/tutorialoutletdotcomdavvvid410
 
Aplicaciones de la derivada en la Carrera de Contabilidad y Auditoría
Aplicaciones de la derivada en la Carrera de Contabilidad y AuditoríaAplicaciones de la derivada en la Carrera de Contabilidad y Auditoría
Aplicaciones de la derivada en la Carrera de Contabilidad y AuditoríaLeslieMoncayo1
 
Answers To Selected Exercises For Fortran 90 95 For Scientists And Engineers
Answers To Selected Exercises For Fortran 90 95 For Scientists And EngineersAnswers To Selected Exercises For Fortran 90 95 For Scientists And Engineers
Answers To Selected Exercises For Fortran 90 95 For Scientists And EngineersSheila Sinclair
 
Ejercicicios de estructura condicional
Ejercicicios  de  estructura condicionalEjercicicios  de  estructura condicional
Ejercicicios de estructura condicionalGurenRamos
 
Units 2&3 prod. & cost functions
Units 2&3 prod. &  cost functionsUnits 2&3 prod. &  cost functions
Units 2&3 prod. & cost functionsmanojprabak
 
MULTIPLE CHOICE. Record your answer choices. 1.7.2.8.docx
MULTIPLE CHOICE.   Record your answer choices. 1.7.2.8.docxMULTIPLE CHOICE.   Record your answer choices. 1.7.2.8.docx
MULTIPLE CHOICE. Record your answer choices. 1.7.2.8.docxgilpinleeanna
 
Unit 4--probability and probability distribution (1).pptx
Unit 4--probability and probability distribution (1).pptxUnit 4--probability and probability distribution (1).pptx
Unit 4--probability and probability distribution (1).pptxakshay353895
 
Practice Exercise Set 1
Practice Exercise Set 1Practice Exercise Set 1
Practice Exercise Set 1rampan
 
Case Study 3 Production Cost Perfect Comp Answer Sheet - new
Case Study 3 Production Cost Perfect Comp Answer Sheet - newCase Study 3 Production Cost Perfect Comp Answer Sheet - new
Case Study 3 Production Cost Perfect Comp Answer Sheet - newKayla Davenport
 
Managerial_economics_paper.doc
Managerial_economics_paper.docManagerial_economics_paper.doc
Managerial_economics_paper.docAbhishekModak17
 
Mid term sem 2 1415 sol
Mid term sem 2 1415 solMid term sem 2 1415 sol
Mid term sem 2 1415 solIIUM
 

Ähnlich wie Dti2143 lab sheet 1 (20)

Pre-Calculus Midterm Exam 1 Score ______ ____.docx
Pre-Calculus Midterm Exam  1  Score ______  ____.docxPre-Calculus Midterm Exam  1  Score ______  ____.docx
Pre-Calculus Midterm Exam 1 Score ______ ____.docx
 
Dti2143 chapter 3 arithmatic relation-logicalexpression
Dti2143 chapter 3 arithmatic relation-logicalexpressionDti2143 chapter 3 arithmatic relation-logicalexpression
Dti2143 chapter 3 arithmatic relation-logicalexpression
 
Instructions This is an open-book exam. You may refer to you.docx
Instructions  This is an open-book exam. You may refer to you.docxInstructions  This is an open-book exam. You may refer to you.docx
Instructions This is an open-book exam. You may refer to you.docx
 
Computer paper 3 may june 2004 9691 cambridge General Certificate of educatio...
Computer paper 3 may june 2004 9691 cambridge General Certificate of educatio...Computer paper 3 may june 2004 9691 cambridge General Certificate of educatio...
Computer paper 3 may june 2004 9691 cambridge General Certificate of educatio...
 
C/C++ programming language Something Great/tutorialoutletdotcom
C/C++ programming language Something Great/tutorialoutletdotcomC/C++ programming language Something Great/tutorialoutletdotcom
C/C++ programming language Something Great/tutorialoutletdotcom
 
Aplicaciones de la derivada en la Carrera de Contabilidad y Auditoría
Aplicaciones de la derivada en la Carrera de Contabilidad y AuditoríaAplicaciones de la derivada en la Carrera de Contabilidad y Auditoría
Aplicaciones de la derivada en la Carrera de Contabilidad y Auditoría
 
Answers To Selected Exercises For Fortran 90 95 For Scientists And Engineers
Answers To Selected Exercises For Fortran 90 95 For Scientists And EngineersAnswers To Selected Exercises For Fortran 90 95 For Scientists And Engineers
Answers To Selected Exercises For Fortran 90 95 For Scientists And Engineers
 
Cpph exam a_2019_s1
Cpph exam a_2019_s1Cpph exam a_2019_s1
Cpph exam a_2019_s1
 
Ejercicicios de estructura condicional
Ejercicicios  de  estructura condicionalEjercicicios  de  estructura condicional
Ejercicicios de estructura condicional
 
CSE -105 presentation..pptx
CSE -105 presentation..pptxCSE -105 presentation..pptx
CSE -105 presentation..pptx
 
Lemh1a2
Lemh1a2Lemh1a2
Lemh1a2
 
Lemh1a2
Lemh1a2Lemh1a2
Lemh1a2
 
Units 2&3 prod. & cost functions
Units 2&3 prod. &  cost functionsUnits 2&3 prod. &  cost functions
Units 2&3 prod. & cost functions
 
MULTIPLE CHOICE. Record your answer choices. 1.7.2.8.docx
MULTIPLE CHOICE.   Record your answer choices. 1.7.2.8.docxMULTIPLE CHOICE.   Record your answer choices. 1.7.2.8.docx
MULTIPLE CHOICE. Record your answer choices. 1.7.2.8.docx
 
Unit 4--probability and probability distribution (1).pptx
Unit 4--probability and probability distribution (1).pptxUnit 4--probability and probability distribution (1).pptx
Unit 4--probability and probability distribution (1).pptx
 
Practice Exercise Set 1
Practice Exercise Set 1Practice Exercise Set 1
Practice Exercise Set 1
 
XAT 2009
XAT   2009XAT   2009
XAT 2009
 
Case Study 3 Production Cost Perfect Comp Answer Sheet - new
Case Study 3 Production Cost Perfect Comp Answer Sheet - newCase Study 3 Production Cost Perfect Comp Answer Sheet - new
Case Study 3 Production Cost Perfect Comp Answer Sheet - new
 
Managerial_economics_paper.doc
Managerial_economics_paper.docManagerial_economics_paper.doc
Managerial_economics_paper.doc
 
Mid term sem 2 1415 sol
Mid term sem 2 1415 solMid term sem 2 1415 sol
Mid term sem 2 1415 sol
 

Mehr von alish sha

T22016 – how to answer with ubs 9
T22016 – how to answer with ubs 9T22016 – how to answer with ubs 9
T22016 – how to answer with ubs 9alish sha
 
July 2014 theory exam (theory)
July 2014 theory exam (theory)July 2014 theory exam (theory)
July 2014 theory exam (theory)alish sha
 
Accounting basic equation
Accounting basic equation Accounting basic equation
Accounting basic equation alish sha
 
It 302 computerized accounting (week 2) - sharifah
It 302   computerized accounting (week 2) - sharifahIt 302   computerized accounting (week 2) - sharifah
It 302 computerized accounting (week 2) - sharifahalish sha
 
It 302 computerized accounting (week 1) - sharifah
It 302   computerized accounting (week 1) - sharifahIt 302   computerized accounting (week 1) - sharifah
It 302 computerized accounting (week 1) - sharifahalish sha
 
What are the causes of conflicts (Bahasa Malaysia)
What are the causes of conflicts (Bahasa Malaysia)What are the causes of conflicts (Bahasa Malaysia)
What are the causes of conflicts (Bahasa Malaysia)alish sha
 
Lab 9 sem ii_12_13
Lab 9 sem ii_12_13Lab 9 sem ii_12_13
Lab 9 sem ii_12_13alish sha
 
Lab 10 sem ii_12_13
Lab 10 sem ii_12_13Lab 10 sem ii_12_13
Lab 10 sem ii_12_13alish sha
 
Lab 5 2012/2012
Lab 5 2012/2012Lab 5 2012/2012
Lab 5 2012/2012alish sha
 
Purpose elaborate
Purpose elaboratePurpose elaborate
Purpose elaboratealish sha
 
Test 1 alish schema 1
Test 1 alish schema 1Test 1 alish schema 1
Test 1 alish schema 1alish sha
 
Lab 6 sem ii_11_12
Lab 6 sem ii_11_12Lab 6 sem ii_11_12
Lab 6 sem ii_11_12alish sha
 
Test 1 skema q&a
Test 1 skema q&aTest 1 skema q&a
Test 1 skema q&aalish sha
 
Test 1 skema q&a
Test 1 skema q&aTest 1 skema q&a
Test 1 skema q&aalish sha
 
Final project
Final projectFinal project
Final projectalish sha
 
Final project
Final projectFinal project
Final projectalish sha
 
Attn list test
Attn list testAttn list test
Attn list testalish sha
 
Carry markdam31303
Carry markdam31303Carry markdam31303
Carry markdam31303alish sha
 

Mehr von alish sha (20)

T22016 – how to answer with ubs 9
T22016 – how to answer with ubs 9T22016 – how to answer with ubs 9
T22016 – how to answer with ubs 9
 
July 2014 theory exam (theory)
July 2014 theory exam (theory)July 2014 theory exam (theory)
July 2014 theory exam (theory)
 
Accounting basic equation
Accounting basic equation Accounting basic equation
Accounting basic equation
 
It 302 computerized accounting (week 2) - sharifah
It 302   computerized accounting (week 2) - sharifahIt 302   computerized accounting (week 2) - sharifah
It 302 computerized accounting (week 2) - sharifah
 
It 302 computerized accounting (week 1) - sharifah
It 302   computerized accounting (week 1) - sharifahIt 302   computerized accounting (week 1) - sharifah
It 302 computerized accounting (week 1) - sharifah
 
What are the causes of conflicts (Bahasa Malaysia)
What are the causes of conflicts (Bahasa Malaysia)What are the causes of conflicts (Bahasa Malaysia)
What are the causes of conflicts (Bahasa Malaysia)
 
Lab 9 sem ii_12_13
Lab 9 sem ii_12_13Lab 9 sem ii_12_13
Lab 9 sem ii_12_13
 
Lab 10 sem ii_12_13
Lab 10 sem ii_12_13Lab 10 sem ii_12_13
Lab 10 sem ii_12_13
 
Lab 6
Lab 6Lab 6
Lab 6
 
Lab 5 2012/2012
Lab 5 2012/2012Lab 5 2012/2012
Lab 5 2012/2012
 
Purpose elaborate
Purpose elaboratePurpose elaborate
Purpose elaborate
 
Lab sheet 1
Lab sheet 1Lab sheet 1
Lab sheet 1
 
Test 1 alish schema 1
Test 1 alish schema 1Test 1 alish schema 1
Test 1 alish schema 1
 
Lab 6 sem ii_11_12
Lab 6 sem ii_11_12Lab 6 sem ii_11_12
Lab 6 sem ii_11_12
 
Test 1 skema q&a
Test 1 skema q&aTest 1 skema q&a
Test 1 skema q&a
 
Test 1 skema q&a
Test 1 skema q&aTest 1 skema q&a
Test 1 skema q&a
 
Final project
Final projectFinal project
Final project
 
Final project
Final projectFinal project
Final project
 
Attn list test
Attn list testAttn list test
Attn list test
 
Carry markdam31303
Carry markdam31303Carry markdam31303
Carry markdam31303
 

Dti2143 lab sheet 1

  • 1.