• Answers
  • Web
Personalize Yedda, (And make Danny Happy)
People ask & answer about almost everything. Tell us what you're interested in... So we can personalize Yedda especially for you
I'm interested in:
Originated from
AOL Search

Please answer this question before 3p.m...

1.( Finding the number of days in a month) Write a program that prompts the user to enter the month and year, and displays the number of days in the month. For example, if the user entered month 2 and year 2000, the program should display that February 2000 has 29 days. If the user entered month 3 and year 2005, the program should display that March 2005 has 31 days.

 

2.Write a nested for loop that prints the following output in left triangle:

 

                 1

 

               2 1

 

             4 2 1

 

           8 4 2 1

 

        16 8 4 2 1

 

     32 16 8 4 2 1

 

 

 


Share Send to a friend Watch Report
 
 

Posted Answers

No answers were posted yet - be the first one to answer!

Sign in to participate

Got an answer for anafarhana? Would you like to comment on the posted answers, or vote for the one which you think is the best?

Sign up for a free account, or sign in (if you're already a member).

Explore Related Questions

Other people asked questions on similar topics, check out the answers they received:


Q:

First question in Yedda

I browsed all the way back in the "recently asked" list of questions. The last question on the list, which should therefore be the ...
Submitted by Roee Rotman   3 years ago.
  • viewed 961 times
Last answer posted 3 years ago by Matthew


Q:

Why is it not possible for my question to be ...

Why is it not possible for my question to be posted. Jotce Y Stewart
Submitted by jjspew89901   1 year ago.
  • viewed 68 times



» More...

Feed - Subscribe to changes to this Q&A Blog
ADVERTISEMENT
  • Answers
  • Web
Copyright © 2006-2009, Yedda Inc. and respective copyright owners · CC License