Define the says, inputs and outputs in provisions of a style and as precise veracious
sets. Define the instant say administration in provisions of style and as either a say transition
diagram or a veracious administration or pseudo mode (if then else…) as alienate. Define
an alienate season layer restraint your model
Consider a digital clock that counts minutes and hours. Usurp that this is a 12 hour clock, that is 13:05 is 1:05 PM. What is the season layer? Inputs? Says? Outputs? Instant Say Administration? Readout Administration? (Hint: usurp the input to a clock is ON, aim to detain season, or OFF aim do not attributable attributable attributable detain season).
this is an 12 hour season layer.suffer x is the input season and y is output season then i procure grant the mode restraint this to unfold the seasonl
x=input(‘enter the input season ‘);
if x>=12:00
y=(x-12:00)PM
else
y=(x)AM.
end
display(‘clock is on’);%it procure exhibition that clock is on
dispay(y)% it procure unfold the season