C 语言全部题目及答案Exercise 1: Programmi ng En vir onment and Basic In put/Output1
Write a program that prints “This is my first program
on the screen
(a) Save this program on to your own disk with the n ame of e2-1a;(b) R un this program without ope ning Turbo C;(c) Modify this program to print “This is my second program” , then save it as1 to 4 on theWsame lineogWrmtehaheprints the nu mberusing the followi ng methods:(a) Using four “ printf stateme nts
(b) Usings
(c)Using one3
(a) Write a program that acalculates and displays the number of minutes in 15 days
(b) Writeprogram that calculates and displays how manyhours 180 minutes equale2-1b
Please do not overwrite the first program
(c) (Optional) How about 174 minutesN
SWERS:program“printf stateme nt with noconv ersi on specifier (i