SlideShare a Scribd company logo
1 of 9
Download to read offline
CLS
PRINT TAB(35); “Activity 2.1”
PRINT “Work with a partner.”
PRINT “Make a Number Guessing Game Program.”
PRINT “Make a program that asks for the price of an item; then computes the selling price after”
PRINT “a 3% discount.”
PRINT “Puresilver offers 5% discount to customers with a single receipt of P3000 or more.”
PRINT “Make a program that computes the discounted price after the cashier inputs the”
PRINT “amount stated in the receipt.”
END
Activity 2.1
Work with a partner.
1. Make a Number Guessing Game Program.
2. Make a program that asks for the price of an item;
   then computes the selling price after a 3% discount.
3. Puresilver offers 5% discount to customers with a
   single receipt of P3000 or more. Make a program
   that computes the discounted price after the cashier
   inputs the amount stated in the receipt.




Press any key to continue
CLS
PRINT TAB(35); “Activity 2.1”
PRINT “Work with a partner.”
PRINT “1. Make a Number Guessing Game Program.”
PRINT “2. Make a program that asks for the price of an item; then computes the selling price ”;
PRINT “after a 3% discount.”
PRINT “3. Puresilver offers 5% discount to customers with a single receipt of P3000 or more. ”;
PRINT “Make a program that computes the discounted price after the cashier inputs the ” ;
PRINT “amount stated in the receipt.”
PRINT “4. Puresilver offers 5% discount to a single receipt with amount ranging from“;
PRINT “P3000 to P5000 and 9% discount to more than P5000 worth of single purchase.”;
PRINT “Make a program that computes the discounted price after the cashier inputs the ” ;
PRINT “amount stated in the receipt.”
END
Activity 2.1
Work with a partner.
1. Make a Number Guessing Game Program.
2. Make a program that asks for the price of an item; then
    computes the selling price after a 3% discount.
3. Puresilver offers 5% discount to customers with a single
    receipt of P3000 or more. Make a program that computes
    the discounted price after the cashier inputs the amount
    stated in the receipt.
4. Puresilver offers 5% discount to a single receipt with amount
    ranging from P3000 to P5000, and 9% discount to more
    than P5000 worth of single purchase. Make a program that
    computes the discounted price after the cashier inputs the
    amount stated in the receipt.
Activity 2.1
Work with a partner.
1. Make a Number Guessing Game Program.
2. Make a program that asks for the price of an item; then
    computes the selling price after a 3% discount.
3. Puresilver offers 5% discount to customers with a single
    receipt of P3000 or more. Make a program that computes
    the discounted price after the cashier inputs the amount
    stated in the receipt.
4. Puresilver offers the following discounts on single receipt :
     5% – from P3000 to P5000;
     9% – more than P5000 but less than P10000;
     13% – more than P10000 worth of single purchase.
     Make a program that computes the discounted price after
    the cashier inputs the amount stated in the receipt.
Activity 2.1

5. Write a program to determine the letter equivalent of a given
   numerical grade.
       • A for Advanced (90 percent or above)
       • P for Proficient (85 – 89 percent)
       • AP for Approaching Proficiency (80 – 84 percent)
       • D for Developing (75 – 79 percent)
       • B for Beginning (74 percent or below)

More Related Content

Viewers also liked

USG_BSE Case Statement
USG_BSE Case StatementUSG_BSE Case Statement
USG_BSE Case Statement
Annais Zarate
 
QBASIC
QBASICQBASIC
QBASIC
nivi88
 

Viewers also liked (20)

Case Statement- History
Case Statement- HistoryCase Statement- History
Case Statement- History
 
Ict integration in teaching
Ict integration in teachingIct integration in teaching
Ict integration in teaching
 
Q basic
Q basicQ basic
Q basic
 
Qbasic Interface
Qbasic InterfaceQbasic Interface
Qbasic Interface
 
Qbasic introduction
Qbasic introductionQbasic introduction
Qbasic introduction
 
Computer (Q BASIC)
Computer (Q BASIC) Computer (Q BASIC)
Computer (Q BASIC)
 
Programming : QBASIC
Programming : QBASICProgramming : QBASIC
Programming : QBASIC
 
Basic programming
Basic programmingBasic programming
Basic programming
 
Modular programming in qbasic
Modular programming in qbasicModular programming in qbasic
Modular programming in qbasic
 
Qbasic
QbasicQbasic
Qbasic
 
Basic Computer Programming
Basic Computer ProgrammingBasic Computer Programming
Basic Computer Programming
 
USG_BSE Case Statement
USG_BSE Case StatementUSG_BSE Case Statement
USG_BSE Case Statement
 
Basic Programming Concept
Basic Programming ConceptBasic Programming Concept
Basic Programming Concept
 
QBASIC
QBASICQBASIC
QBASIC
 
BASIC Programming Language
BASIC Programming LanguageBASIC Programming Language
BASIC Programming Language
 
Concept of computer files
Concept of computer filesConcept of computer files
Concept of computer files
 
The Knowledge of QBasic
The Knowledge of QBasicThe Knowledge of QBasic
The Knowledge of QBasic
 
Introduction to Programming and QBasic Tutorial
Introduction to Programming and QBasic TutorialIntroduction to Programming and QBasic Tutorial
Introduction to Programming and QBasic Tutorial
 
Generations Of Programming Languages
Generations Of Programming LanguagesGenerations Of Programming Languages
Generations Of Programming Languages
 
Computer hardware and its components
Computer hardware and its componentsComputer hardware and its components
Computer hardware and its components
 

Similar to QB Select Case Statement

FutureAdPro_Marketingplan_EN
FutureAdPro_Marketingplan_ENFutureAdPro_Marketingplan_EN
FutureAdPro_Marketingplan_EN
BHOLA DEY
 
Futures trading-marketing-affiliates-show
Futures trading-marketing-affiliates-showFutures trading-marketing-affiliates-show
Futures trading-marketing-affiliates-show
CVanceCast
 
Building a successful cpi campaign a how to guide
Building a successful cpi campaign a how to guideBuilding a successful cpi campaign a how to guide
Building a successful cpi campaign a how to guide
Appnext
 

Similar to QB Select Case Statement (20)

List of programs to practice for ICSE
List of programs to practice for ICSEList of programs to practice for ICSE
List of programs to practice for ICSE
 
FutureAdPro_Marketingplan_EN
FutureAdPro_Marketingplan_ENFutureAdPro_Marketingplan_EN
FutureAdPro_Marketingplan_EN
 
Future adpro marketingplan_en
Future adpro marketingplan_enFuture adpro marketingplan_en
Future adpro marketingplan_en
 
Home Profit System - FutureAdPro Marketing Plan
Home Profit System - FutureAdPro Marketing PlanHome Profit System - FutureAdPro Marketing Plan
Home Profit System - FutureAdPro Marketing Plan
 
The Marketer's Funnel and Path to Conversion - A New Perspective at DAS, 10/2...
The Marketer's Funnel and Path to Conversion - A New Perspective at DAS, 10/2...The Marketer's Funnel and Path to Conversion - A New Perspective at DAS, 10/2...
The Marketer's Funnel and Path to Conversion - A New Perspective at DAS, 10/2...
 
AmafestUK 2020 -Florian nottorf - 5 Amazon PPC Hacks:Maximize sales on amazon...
AmafestUK 2020 -Florian nottorf - 5 Amazon PPC Hacks:Maximize sales on amazon...AmafestUK 2020 -Florian nottorf - 5 Amazon PPC Hacks:Maximize sales on amazon...
AmafestUK 2020 -Florian nottorf - 5 Amazon PPC Hacks:Maximize sales on amazon...
 
CPA_SSP_Guide.pdf
CPA_SSP_Guide.pdfCPA_SSP_Guide.pdf
CPA_SSP_Guide.pdf
 
infinii official pdf
infinii official pdfinfinii official pdf
infinii official pdf
 
Amafest 3
Amafest 3Amafest 3
Amafest 3
 
SaaStock East Coast 2019 - Patrick Campbell, Founder & CEO, Profitwell
SaaStock East Coast 2019 - Patrick Campbell, Founder & CEO, ProfitwellSaaStock East Coast 2019 - Patrick Campbell, Founder & CEO, Profitwell
SaaStock East Coast 2019 - Patrick Campbell, Founder & CEO, Profitwell
 
InspireHUB Sales Partner Program
InspireHUB Sales Partner ProgramInspireHUB Sales Partner Program
InspireHUB Sales Partner Program
 
Comp 122 lab 2 lab report and source code
Comp 122 lab 2 lab report and source codeComp 122 lab 2 lab report and source code
Comp 122 lab 2 lab report and source code
 
Future adpro marketing plan ennglish ( FutureNet )
Future adpro marketing plan ennglish ( FutureNet )Future adpro marketing plan ennglish ( FutureNet )
Future adpro marketing plan ennglish ( FutureNet )
 
Future adpro marketing plan en
Future adpro marketing plan enFuture adpro marketing plan en
Future adpro marketing plan en
 
Updated Simply Young Compensation Plan
Updated Simply Young Compensation PlanUpdated Simply Young Compensation Plan
Updated Simply Young Compensation Plan
 
Futures trading-marketing-affiliates-show
Futures trading-marketing-affiliates-showFutures trading-marketing-affiliates-show
Futures trading-marketing-affiliates-show
 
Professional Pricing Society (PPS) - First Steps to Pricing Management
Professional Pricing Society (PPS) - First Steps to Pricing ManagementProfessional Pricing Society (PPS) - First Steps to Pricing Management
Professional Pricing Society (PPS) - First Steps to Pricing Management
 
Affiliate Profit: Are you losing money?
Affiliate Profit: Are you losing money?Affiliate Profit: Are you losing money?
Affiliate Profit: Are you losing money?
 
How to Start Using Scripts [+Prebuilt Templates Included]
How to Start Using Scripts [+Prebuilt Templates Included]How to Start Using Scripts [+Prebuilt Templates Included]
How to Start Using Scripts [+Prebuilt Templates Included]
 
Building a successful cpi campaign a how to guide
Building a successful cpi campaign a how to guideBuilding a successful cpi campaign a how to guide
Building a successful cpi campaign a how to guide
 

Recently uploaded

Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
Chris Hunter
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 

Recently uploaded (20)

Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 

QB Select Case Statement

  • 1. CLS PRINT TAB(35); “Activity 2.1” PRINT “Work with a partner.” PRINT “Make a Number Guessing Game Program.” PRINT “Make a program that asks for the price of an item; then computes the selling price after” PRINT “a 3% discount.” PRINT “Puresilver offers 5% discount to customers with a single receipt of P3000 or more.” PRINT “Make a program that computes the discounted price after the cashier inputs the” PRINT “amount stated in the receipt.” END
  • 2. Activity 2.1 Work with a partner. 1. Make a Number Guessing Game Program. 2. Make a program that asks for the price of an item; then computes the selling price after a 3% discount. 3. Puresilver offers 5% discount to customers with a single receipt of P3000 or more. Make a program that computes the discounted price after the cashier inputs the amount stated in the receipt. Press any key to continue
  • 3. CLS PRINT TAB(35); “Activity 2.1” PRINT “Work with a partner.” PRINT “1. Make a Number Guessing Game Program.” PRINT “2. Make a program that asks for the price of an item; then computes the selling price ”; PRINT “after a 3% discount.” PRINT “3. Puresilver offers 5% discount to customers with a single receipt of P3000 or more. ”; PRINT “Make a program that computes the discounted price after the cashier inputs the ” ; PRINT “amount stated in the receipt.” PRINT “4. Puresilver offers 5% discount to a single receipt with amount ranging from“; PRINT “P3000 to P5000 and 9% discount to more than P5000 worth of single purchase.”; PRINT “Make a program that computes the discounted price after the cashier inputs the ” ; PRINT “amount stated in the receipt.” END
  • 4. Activity 2.1 Work with a partner. 1. Make a Number Guessing Game Program. 2. Make a program that asks for the price of an item; then computes the selling price after a 3% discount. 3. Puresilver offers 5% discount to customers with a single receipt of P3000 or more. Make a program that computes the discounted price after the cashier inputs the amount stated in the receipt. 4. Puresilver offers 5% discount to a single receipt with amount ranging from P3000 to P5000, and 9% discount to more than P5000 worth of single purchase. Make a program that computes the discounted price after the cashier inputs the amount stated in the receipt.
  • 5. Activity 2.1 Work with a partner. 1. Make a Number Guessing Game Program. 2. Make a program that asks for the price of an item; then computes the selling price after a 3% discount. 3. Puresilver offers 5% discount to customers with a single receipt of P3000 or more. Make a program that computes the discounted price after the cashier inputs the amount stated in the receipt. 4. Puresilver offers the following discounts on single receipt : 5% – from P3000 to P5000; 9% – more than P5000 but less than P10000; 13% – more than P10000 worth of single purchase. Make a program that computes the discounted price after the cashier inputs the amount stated in the receipt.
  • 6.
  • 7.
  • 8.
  • 9. Activity 2.1 5. Write a program to determine the letter equivalent of a given numerical grade. • A for Advanced (90 percent or above) • P for Proficient (85 – 89 percent) • AP for Approaching Proficiency (80 – 84 percent) • D for Developing (75 – 79 percent) • B for Beginning (74 percent or below)