Write a program whose input and output are as follows used by C++ coding

input

output

1

Saturday

2

Sunday

3

Monday

4

Tuesday

5

Wednesday

6

Thursday

7

Friday

#include<stdio.h>
#include<conio.h>
void main() {
int day_num;
printf(“\nInput the day number =” );
scanf(“%d”, &day_num);
if(day_num == 1) {
printf(“\nIT is Saturday”);
}
if(day_num == 2){
printf(“\nIT is Sunday”);
}
if(day_num == 3){
printf(“\nIT is Monday”);
}
if(day_num == 4){
printf(“\nIT is Tuesday”);
}
if(day_num == 5){
printf(“\nIT is Wednesday”);
}
if(day_num == 6){
printf(“\nIT is Thursday”);
}
if(day_num == 7){
printf(“\nIT is Friday”);
}
}

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

12 thoughts on “Write a program whose input and output are as follows used by C++ coding

  1. You must indulge in a contest for among the greatest blogs over the internet. Ill suggest this web website! edddeeeeefkk

  2. I wanted to write a small word so as to express gratitude to you for those precious guidelines you are placing here. My rather long internet search has now been compensated with reliable knowledge to talk about with my companions. I would suppose that we website visitors are truly lucky to exist in a great network with so many perfect individuals with good concepts. I feel pretty grateful to have used the website and look forward to some more exciting times reading here. Thank you once more for all the details.

  3. I’m writing to let you understand of the nice encounter my friend’s child encountered studying your site. She discovered lots of things, which included what it’s like to have a very effective teaching mindset to have many more quite simply comprehend chosen complicated issues. You actually did more than readers’ desires. I appreciate you for churning out the warm and helpful, trusted, explanatory not to mention unique guidance on the topic to Kate.

  4. I enjoy you because of each of your effort on this web site. My daughter take interest in doing investigation and it is easy to understand why. All of us know all about the lively means you make informative tips on your blog and in addition improve response from some other people about this subject matter plus my child is in fact being taught a whole lot. Enjoy the remaining portion of the new year. You have been performing a glorious job.

  5. I have to get across my respect for your generosity supporting persons who really need assistance with this particular idea. Your special dedication to getting the solution up and down appears to be wonderfully interesting and have truly enabled others much like me to arrive at their endeavors. The helpful facts implies a great deal to me and extremely more to my office workers. With thanks; from everyone of us.

  6. I not to mention my buddies have been going through the good strategies on your web page and so suddenly came up with a horrible feeling I never expressed respect to you for those secrets. Those young boys became so thrilled to read all of them and have now really been using these things. Many thanks for simply being well thoughtful and also for utilizing some wonderful resources millions of individuals are really desirous to learn about. Our own sincere regret for not saying thanks to you sooner.

  7. I’m also writing to let you understand of the impressive encounter my cousin’s girl went through visiting your web page. She came to find a good number of details, which included what it’s like to have a marvelous giving nature to have others with no trouble have an understanding of several impossible subject matter. You actually surpassed my expected results. Thank you for providing such useful, safe, revealing and in addition cool tips about this topic to Mary.

  8. Thank you a lot for providing individuals with a very special chance to read from this site. It is always very great plus full of a great time for me personally and my office friends to search your blog on the least 3 times every week to read the latest tips you have got. And indeed, I am just usually motivated considering the perfect suggestions you serve. Certain 1 areas in this post are surely the most impressive we’ve ever had.

  9. Good post. I be taught something more difficult on completely different blogs everyday. It would at all times be stimulating to learn content from different writers and apply a little bit one thing from their store. I抎 want to make use of some with the content on my blog whether you don抰 mind. Natually I抣l provide you with a link on your internet blog. Thanks for sharing.

  10. I want to convey my appreciation for your kindness supporting men and women who need guidance on this concept. Your real dedication to getting the solution all around turned out to be astonishingly helpful and have surely encouraged women much like me to arrive at their ambitions. Your helpful tutorial means this much to me and still more to my fellow workers. Many thanks; from each one of us.

  11. I simply desired to thank you so much yet again. I’m not certain what I might have handled in the absence of the information revealed by you on my area. It had become a real troublesome setting in my view, however , being able to view the skilled technique you managed that took me to cry for delight. Extremely happier for this service and then hope that you recognize what an amazing job you have been providing educating other individuals through the use of a blog. I’m certain you’ve never encountered any of us.

Leave a Reply

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