SuperTutor

(15)

$15/per page/Negotiable

About SuperTutor

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Accounting,Business & Finance See all
Accounting,Business & Finance,Economics,Engineering,HR Management,Math Hide all
Teaching Since: Apr 2017
Last Sign in: 327 Weeks Ago, 5 Days Ago
Questions Answered: 12843
Tutorials Posted: 12834

Education

  • MBA, Ph.D in Management
    Harvard university
    Feb-1997 - Aug-2003

Experience

  • Professor
    Strayer University
    Jan-2007 - Present

Category > Programming Posted 09 Jun 2017 My Price 20.00

Programming for Engineers (EG1302)

Programming for Engineers (EG1302)
PROJECT # 1 Write a program that prompts the user for any year higher or equal to 1900 and prints its
monthly calendar. The calendar runs through the entire year displaying each month in a
format that looks like the following:
February 1992
Su Mo Tu We Th
2
3
4
5
6
9 10 11 12 13
16 17 18 19 20
23 24 25 26 27 Fr Sa
1
7
8
14 15
21 22
28 29 Task 1: Your program must display the data in a form in which everything lines up
correctly on the screen. Your program should be able to determine the day of the week
when the first day of the month starts. To determine the first day of the month for a given
year, you need to mark a reference day in history and count from that date. For this, use
January 1, 1900, which fell on a Monday. For every year since then, you need to add 365
or 366 days, depending on whether the year was a leap year.
Note: A year is a leap year if one of the following conditions hold: The year is divisible by 4 but not divisible by 100, or The year is divisible by 400.
Task 2: Give the user the option to print the calendar with one month per row, two
months per row, or three months per row. Example of one-month per row calendar:
January 2005
Su Mo Tu We Th Fr Sa
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31
February 2005
Su Mo Tu We Th Fr Sa
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 Example of two-month per row calendar:
January 2005
Su Mo Tu We Th Fr Sa
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 February 2005
Su Mo Tu We Th Fr Sa
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 Example of three-months per row:
January 2005
Su Mo Tu We Th Fr Sa
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 February 2005
Su Mo Tu We Th Fr Sa
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 Su Mo Tu
1
6 7 8
13 14 15
20 21 22
27 28 29 March 2005
We Th Fr Sa
2 3 4 5
9 10 11 12
16 17 18 19
23 24 25 26
30 31

 

Attachments:

Answers

(15)
Status NEW Posted 09 Jun 2017 06:06 AM My Price 20.00

-----------

Attachments

file 1496991169-Solutions file.docx preview (51 words )
S-----------olu-----------tio-----------ns -----------fil-----------e -----------Hel-----------lo -----------Sir-----------/Ma-----------dam----------- T-----------han-----------k y-----------ou -----------for----------- yo-----------ur -----------int-----------ere-----------st -----------and----------- bu-----------yin-----------g m-----------y p-----------ost-----------ed -----------sol-----------uti-----------on.----------- Pl-----------eas-----------e p-----------ing----------- me----------- on----------- ch-----------at -----------I a-----------m o-----------nli-----------ne -----------or -----------inb-----------ox -----------me -----------a m-----------ess-----------age----------- I -----------wil-----------l b-----------e q-----------uic-----------kly----------- on-----------lin-----------e a-----------nd -----------giv-----------e y-----------ou -----------exa-----------ct -----------fil-----------e a-----------nd -----------the----------- sa-----------me -----------fil-----------e i-----------s a-----------lso----------- se-----------nt -----------to -----------you-----------r e-----------mai-----------l t-----------hat----------- is----------- re-----------gis-----------ter-----------ed -----------onÂ----------- th-----------is -----------web-----------sit-----------e -----------Tha-----------nk -----------you----------- -----------
Not Rated(0)