44. Write a program to input the day and display whether the day is Saturday or not?(Java, Python, JavaScript, QBasic, C, Go, c++, C#, R)

Algorithm:

Step 1: Start

Step 2: Input the today’s day. d

Step 3: If d = “SATURDAY”

GoTo Step 4

Else GoTo Step 5 

Step 4: Print “ Today is Saturday “ 

GoTo Step 6

Step 5: Print “ Today is Not Saturday ”

Step 6: Stop/End

Flowchart:

Create a flowchart input the day and display whether the day is Saturday or not.
Create a flowchart input the day and display whether the day is Saturday or not.
Total
0
Shares
Leave a Reply

Your email address will not be published. Required fields are marked *

Previous Post

43. Write a program to input selling price and cost price calculate profit or loss percentage.(Java, Python, JavaScript, QBasic, C, Go, c++, C#, R)

Next Post

45. Write a program to ask quantity of pen, copy and pencil and their rate and find out the total amount.(Java, Python, JavaScript, QBasic, C, Go, c++, C#, R)

Related Posts