Page 1 of 1

(Write C++ Statements) Write a statement for each of the following: a) Print integer 40000 left justified in a 15-digit

Posted: Fri May 20, 2022 4:32 pm
by answerhappygod
Write C Statements Write A Statement For Each Of The Following A Print Integer 40000 Left Justified In A 15 Digit 1
Write C Statements Write A Statement For Each Of The Following A Print Integer 40000 Left Justified In A 15 Digit 1 (143.21 KiB) Viewed 34 times
in C++ can you explain thanks
(Write C++ Statements) Write a statement for each of the following: a) Print integer 40000 left justified in a 15-digit field. b) Read a string into character array variable state. c) Print 200 with and without a sign. d) Print the decimal value 100 in hexadecimal form preceded by Ox. e) Read characters into array charArray until the character 'p' is encountered, up to a lim- it of 10 characters (including the terminating null character). Extract the delimiter from the input stream, and discard it. f) Print 1.234 in a 2-digit field with preceding zeros.