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
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.