assignment program
DESCRIPTION
programmingTRANSCRIPT
![Page 1: Assignment Program](https://reader036.vdocuments.net/reader036/viewer/2022081803/5695cf891a28ab9b028e7fb1/html5/thumbnails/1.jpg)
7/21/2019 Assignment Program
http://slidepdf.com/reader/full/assignment-program 1/1
UPLOAD YOUR SOURCE CODE FILE (.c) ONLY.
Write a program that determie! the da" #m$er (% to &'') i a "ear or a date that
i! proided a! ip#t data. A! a e*amp+e, -a#ar" %, %/ i! da" %. Decem$er &%,
%& i! da" &'0. Decem$er &%, %' i! da" &'' !ice %' i! a +eap "ear. A "ear i!
a +eap "ear i it i! dii!i$+e $" o#r, e*cept that a" "ear dii!i$+e $" %11 i! a +eap"ear o+" i it i! dii!i$+e $" /11. Yo#r program !ho#+d accept the moth, da" ad
"ear a! iteger!.
UPLOAD YOUR SOURCE CODE FILE (.c) ONLY.
Write a program to cotro+ a $read machie. A++o2 the #!er to ip#t the t"pe o
$read a! 3W4 or 2hite or 3S4 or !2eet. A!5 the #!er i the +oa !i6e i! do#$+e ad i
the $a5ig i! ma#a+. 7he o++o2ig ta$+e detai+! the time chart or the machie oreach $read t"pe. 7he program !ho#+d comp#te the $a5ig time ad di!p+a" a
!tatemet or each !tep (operatio ad time eeded). I the +oa !i6e i! do#$+e,
icrea!e the $a5ig time $" 01 percet, i $a5ig i! ma#a+, !top ater the +oa8
!hapig c"c+e ad i!tr#ct the #!er to remoe the do#gh or ma#a+ $a5ig.
9read 7ime Chart
Operatio White 9read S2eet 9read
Primar" 5eadig %0 mi! :1 mi!
Primar" ri!ig '1 mi! '1 mi!
Secodar" 5eadig %; mi! && mi!
Secodar" ri!ig :1 mi! &1 mi!
Loa !hapig : mi! : mi!
Fia+ ri!ig <0 mi! <0 mi!
9a5ig /0 mi! &0 mi!
Coo+ig &1 mi! &1 mi!