Page 1 of 1

A C program contains the following statements: #include int i, j, k; Write an appropriate scanf function to en

Posted: Sun May 15, 2022 1:13 pm
by answerhappygod
A C Program Contains The Following Statements Include Stdio H Int I J K Write An Appropriate Scanf Function To En 1
A C Program Contains The Following Statements Include Stdio H Int I J K Write An Appropriate Scanf Function To En 1 (38.44 KiB) Viewed 59 times
A C program contains the following statements: #include <stdio.h> int i, j, k; Write an appropriate scanf function to enter numerical values for i, j and k into the computer, assuming (a) The values for i, j and k will be decimal integers not exceeding six characters each. (6) The value for i will be a decimal integer, j an octal integer and k a hexadecimal integer, with each quantity not exceeding 8 characters. (c) The values for i and i will be hexadecimal integers and k will be an octal integer. Each quantity will be 7 or fewer characters.