Home > Back-end >  With the following the scanf function input data, make a=10, b=12, c1='b', c2='b'
With the following the scanf function input data, make a=10, b=12, c1='b', c2='b'

Time:09-23

With the following the scanf function input data, make a=10, b=12, c1='b', c2='b', x=2.6, y=3.89, z=6.7, consider how to input data on the keyboard? Design procedure and verification,
The scanf (" % 3 d % 3 d % % % % % f f c c * f % f ", & amp; A, & amp; B, & amp; C1, & amp; C2, & amp; X, & amp; Y, & amp; Z);

CodePudding user response:

So the input:

CodePudding user response:

Each data after finish play Spaces, the final data after the written press Enter

CodePudding user response:

The second floor was wrong oh, character and string input need to consider the problem of input buffer,
  • Related