Question 5 15 Marks Write C Statements That Perform The Following Operations A) Display The Statements Congratulations! You Have Passed The Exam\" On The Screen B) Print 748.223 Left-justified In A 9 Digit Field And 2 Digits Of Precision C) Read 3 Va

匿名用户 最后更新于 2021-12-01 19:36 计算机类Computing


Question 5 15 marks Write C statements that perform the following operations a) Display the statements Congratulations! you have passed the exam" on the screen b) Print 748.223 left-justified in a 9 digit field and 2 digits of precision c) Read 3 values (type decimal integer, float character) into variable A, B and C in one statement d) Read a string into character array string e) Declare the variable num1 to be of type float and num2 to be of type integer. Then, assign 18 to variable num1 and 25 to variable num2. 9

已邀请: