Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

VERY IMPORTANT No arrays, NO function, NO string to number conversations Hmwr1%284%29.pdf cis 190 introduction to Procedural Programming Homework 1 Fall 2018 Assigned September 28

VERY IMPORTANT No arrays, NO function, NO string to number conversations
image text in transcribed
Hmwr1%284%29.pdf cis 190 introduction to Procedural Programming Homework 1 Fall 2018 Assigned September 28 DUE October 7, 2018 Disclaimer: This is INDIVIDUAL homework. No collaboration is allowed, neither is working together. Discussions are fine, but writing code to solve the assignment is individual work. If found that your code is very similar to another student, all students with similar code will be assigned 0 points for the assignment without explanations who copied from whom or collaborated with whom! If you "borrow" code from Internet or a person not in the class, you will be assigned 0 points again without discussions. What to submit: source code running on UNIX, all applicable files used by your source code. No object, executable files are to be submitted. You must also submit the output files of at least three runs of your code. The files for every problem must be tar archived and then the whole homework will be tar archived with those. That will be your submission. Problem 1 (43 points): Write a C program to print a calendar for an entire year. The desired year is read via keyboard. You need to calculate the first day of the year as well as whether the year is leap or not. The leap year calculation is elaborated at http://www.wikihow.com Calculate-Leap-Years. The first day calculation can be found at http://mathforum.org/library/drmath/view/55837 html Here is a sample output for one month January Sun Mon Tue Wed Thu Fri 2000 Sat 9 10 1 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Grading: NO arrays!! NO functions!! NO string-to-number conversions!! Penalty for each infraction is (-10 points each!!!) 5 points 10 points 5 points 5 points Functioning code Well-written code Good user prompts and feedback Correct calendar Ordered, clean output Full submission 10 points 5 points 3 points

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Database Systems

Authors: Sham Navathe,Ramez Elmasri

5th Edition

B01FGJTE0Q, 978-0805317558

More Books

Students also viewed these Databases questions

Question

Why is the System Build Process an iterative process?

Answered: 1 week ago