SlideShare a Scribd company logo
1 of 2
I'm new to this and trying to find out how to write a few of these scripts:
1. Enter a numeric grade number when prompted "Please enter your grade " and receive the
message "You got a(n) <grade>", where grade is the lettergrade you earned.
2. Continue a loop until the user types anything by "Y".
3. Display this month's calendar (look at cal), the current date, and some other date like 5-7-
2003 in the format May 7, 2013.
Thanks!
Solution
Answer for Question:
Part 1:
var grade;
echo "Enter your grade :"
read grade
echo "You got an "+grade
Part 2:
char ch = '';
do
{
// Body
echo "Enter y to continue or else quit for any key "
read ch;
}while(ch != 'y' || ch !='Y')
These above are written in psedo code
I-'m new to this and trying to find out how to write a few of these sc.docx

More Related Content

More from rtodd409

I having problems locating the fasb-'s conceptual frameworkSolutionThe.docx
I having problems locating the fasb-'s conceptual frameworkSolutionThe.docxI having problems locating the fasb-'s conceptual frameworkSolutionThe.docx
I having problems locating the fasb-'s conceptual frameworkSolutionThe.docxrtodd409
 
I have two questions regarding linked lists in C- 1) We often declare.docx
I have two questions regarding linked lists in C- 1) We often declare.docxI have two questions regarding linked lists in C- 1) We often declare.docx
I have two questions regarding linked lists in C- 1) We often declare.docxrtodd409
 
I have a questions which is what could be the advantage or disadvantag.docx
I have a questions which is what could be the advantage or disadvantag.docxI have a questions which is what could be the advantage or disadvantag.docx
I have a questions which is what could be the advantage or disadvantag.docxrtodd409
 
I have a sealed container that is pressurised with Nitrogen- When calc.docx
I have a sealed container that is pressurised with Nitrogen- When calc.docxI have a sealed container that is pressurised with Nitrogen- When calc.docx
I have a sealed container that is pressurised with Nitrogen- When calc.docxrtodd409
 
I have a question from a Database Systems class (we have been taught w.docx
I have a question from a Database Systems class (we have been taught w.docxI have a question from a Database Systems class (we have been taught w.docx
I have a question from a Database Systems class (we have been taught w.docxrtodd409
 
HW Check- Categorize materials as n or p type semiconductors- a- Zn do.docx
HW Check- Categorize materials as n or p type semiconductors- a- Zn do.docxHW Check- Categorize materials as n or p type semiconductors- a- Zn do.docx
HW Check- Categorize materials as n or p type semiconductors- a- Zn do.docxrtodd409
 

More from rtodd409 (6)

I having problems locating the fasb-'s conceptual frameworkSolutionThe.docx
I having problems locating the fasb-'s conceptual frameworkSolutionThe.docxI having problems locating the fasb-'s conceptual frameworkSolutionThe.docx
I having problems locating the fasb-'s conceptual frameworkSolutionThe.docx
 
I have two questions regarding linked lists in C- 1) We often declare.docx
I have two questions regarding linked lists in C- 1) We often declare.docxI have two questions regarding linked lists in C- 1) We often declare.docx
I have two questions regarding linked lists in C- 1) We often declare.docx
 
I have a questions which is what could be the advantage or disadvantag.docx
I have a questions which is what could be the advantage or disadvantag.docxI have a questions which is what could be the advantage or disadvantag.docx
I have a questions which is what could be the advantage or disadvantag.docx
 
I have a sealed container that is pressurised with Nitrogen- When calc.docx
I have a sealed container that is pressurised with Nitrogen- When calc.docxI have a sealed container that is pressurised with Nitrogen- When calc.docx
I have a sealed container that is pressurised with Nitrogen- When calc.docx
 
I have a question from a Database Systems class (we have been taught w.docx
I have a question from a Database Systems class (we have been taught w.docxI have a question from a Database Systems class (we have been taught w.docx
I have a question from a Database Systems class (we have been taught w.docx
 
HW Check- Categorize materials as n or p type semiconductors- a- Zn do.docx
HW Check- Categorize materials as n or p type semiconductors- a- Zn do.docxHW Check- Categorize materials as n or p type semiconductors- a- Zn do.docx
HW Check- Categorize materials as n or p type semiconductors- a- Zn do.docx
 

Recently uploaded

Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
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 GraphThiyagu K
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...PsychoTech Services
 
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 ImpactPECB
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
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 pdfAyushMahapatra5
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 

Recently uploaded (20)

Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
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
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
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
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
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
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 

I-'m new to this and trying to find out how to write a few of these sc.docx

  • 1. I'm new to this and trying to find out how to write a few of these scripts: 1. Enter a numeric grade number when prompted "Please enter your grade " and receive the message "You got a(n) <grade>", where grade is the lettergrade you earned. 2. Continue a loop until the user types anything by "Y". 3. Display this month's calendar (look at cal), the current date, and some other date like 5-7- 2003 in the format May 7, 2013. Thanks! Solution Answer for Question: Part 1: var grade; echo "Enter your grade :" read grade echo "You got an "+grade Part 2: char ch = ''; do { // Body echo "Enter y to continue or else quit for any key " read ch; }while(ch != 'y' || ch !='Y') These above are written in psedo code